* Added user menu to sidebar
* Toggle sidebar
* Improved user menu collapsed styling
* Improved collapse behavior
* Restored missing alias
* Add global search if no topbar
* Improved collapse, added search to sidebar
* Styling
* Collapse
* Adding notification trigger to sidebar
* Use h-dvh
* cs & build
* start cleaning up
* remove new lang string
* move tenant menu and global search outside of fi-sidebar-nav
* notifications refactor
* clean up user menu
* clean up new collapse sidebar button
* clean up
* Update topbar.blade.php
* Update sidebar.blade.php
* docs
* final fixes
* fix alignment and button visibility issues
* Update theme.css
* fix collapse button alignment
---------
Co-authored-by: Dan Harrin <git@danharrin.com>
* updates docs
* Update 05-testing-actions.md
* Document testing create and edit form actions
Added sections for testing create and edit form actions using TestAction in the documentation.
* Modifies action section to essentially a footnote
Removed example code for testing form actions and updated references to documentation for testing create and edit form actions.
* clean up and reduce duplication
---------
Co-authored-by: mrkbingham <mark.bingham@interworks.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
* 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>
The shown example would lead to an error:
```php
Livewire\Features\SupportTesting\Testable::{closure:Filament\Schemas\Testing\TestsSchemas::assertSchemaComponentExists():25}(): Argument #2 ($schema) must be of type ?string, Closure given,
```
because the 2nd parameter is expected to be a `Schema`
I suppose there is two options now, adding `null` as 2nd parameter in the examples or simply using named arguments. Named arguments looked like the better approach 😊