* Skip partial rendering with forceRender
* Add department schema
* Test force render with create another in relation manager
* chore: fix code style
* Test force render with create another in relation manager
* Move forceRender into InteractsWithActions
* chore: fix code style
* Early return dehydrate if force render
* Add helper method to force render after create another
* Update CreateAction.php
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* Add key to form actions in EditRecord.php
* Add key to form actions for better identification
* simplify name and add elsewhere
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* fix/Keyboard navigation issues with Markdown Editors
Fixes#17854
Filtered out hidden elements, but then I had to filter the toolbar on the additional instances of the component for consistency.
I don't like the look of duplicated code but not much I can do to dry this up.
* fix/Keyboard navigation issues with Markdown Editors
Fixes#17854
Filtered out hidden elements, and had to refactor a little.
I don't like the look of duplicated code but not much I can do to dry this up.
* Issue #17817: Update 03-testing-tables.md - "Testing that a column can be sorted"
Currently, the documentation includes a flaky test as an example for sorting a column. This is because Filament sorts its table records according to the underlying database strategy.
Previously, the documentation suggested using the `sortBy()` method on the collection returned by the factory. However, this approach does not account for differences in how various databases handle sorting, which can lead to inconsistent test results.
With this commit, the documentation has been updated.
The example test now uses a stable approach that explicitly orders records through the database query, ensuring reliable behavior across different database systems.
Signed-off-by: Merdin <me@merdin.dev>
* Update 03-testing-tables.md - "Testing that a column can be sorted"
Improve query
Signed-off-by: Merdin <me@merdin.dev>
* Update 03-testing-tables.md
Change `orderBy('title', 'desc')` to `orderByDesc('title')` to improve code readability.
Signed-off-by: Merdin <me@merdin.dev>
* Update 03-testing-tables.md
Signed-off-by: Merdin <me@merdin.dev>
* Refactor post sorting in test to use query builder
Signed-off-by: Dan Harrin <git@danharrin.com>
* Fix sorting order for posts by title
Signed-off-by: Dan Harrin <git@danharrin.com>
---------
Signed-off-by: Merdin <me@merdin.dev>
Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
* feat: add global registration for Chart.js plugins and update documentation
* fix: remove debug log from Chart.js registration
* clean up
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* Update rich text editor to support merge tags with labels and improve handling of drag-and-drop data.
* update: add changes to documentation
* update: add label attribute support to MergeTagExtension
* update: transforming merge tags to fix array format, removing data-label from tag
* fix: replacement of a lost key
* update: polishing
* clean up
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* feat(auth): add autocomplete attributes to form inputs
Add autocomplete attributes to improve user experience and accessibility in authentication forms. This helps browsers autofill fields correctly and follows best practices for form input handling.
* refactor(auth): update form component return types to Component interface
* Update EditProfile.php
* Remove autocomplete from email input field
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* Feat: Add RawHtmlMergeTagExtension for rendering unescaped HTML content in rich editor
* Fix: User correct extension for html merge tags
* clean up
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* feat: Added functions to customize SpatieMediaProvider
Added three new functions to SpatieMediaLibraryFileAttachmentProvider to customize media and their attributes Theses functions are:
- preserveFilenames()
- mediaName()
- customProperties()
They allow to change the name of the media in storage, change the name of the media in the database, and add custom properties to the media in the database.
* feat: Edit plugin doc
* Update README.md
* Update SpatieMediaLibraryFileAttachmentProvider.php
* Update SpatieMediaLibraryFileAttachmentProvider.php
---------
Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
* feat(tables): add scrollToTop() to auto-scroll after pagination
Add Table->scrollToTop() option to scroll to top when table pagination changes. Introduce a new Table concern (CanScrollToTop) and dispatch a 'filament-tables-scroll-to-top' browser event from InteractsWithTable::setPage for the table’s page name. The table root view conditionally listens via Alpine and calls window.scrollTo(0, 0).
Opt-in; disabled by default; no breaking changes
No AppServiceProvider render hook required
Usage: return $table->scrollToTop()
* feat(tables): enhance scrollToTop behavior for specific table instances
* - keep the same name for the method: scrollToTopOnPageChange()
- remove german comment
- Undo changes that were accidentally
committed
* - remove german comment
* update setPage method parameter types
* refactor: remove outdated docblock for setPage method
* clean up
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* fix: unset contain property for modals with file upload editor
* fix: prevent pressing esc to close in `modal` and fix the error when closing the editor
* fix: apply layout containment to select and dropdown, remove from modal window
* fix: move layout containment for select and dropdown into modal context
* fix: add configurable flip and teleport options for dropdowns in action groups
* fix:incorrect position of select inside modal, Done!
* fix: resolve css conflict
* preserve custom dropdown teleport preference
* Update theme.css
---------
Co-authored-by: Dan Harrin <git@danharrin.com>