Commit Graph
337 Commits
Author SHA1 Message Date
Nolan NordlundandDan Harrin e8f47efa46 User menu and search in sidebar when topbar is disabled (#17048)
* 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>
2025-09-28 21:14:04 +01:00
Assem Alwaseai c184d0c46e Update 02-listing-records.md (#17967) 2025-09-27 07:29:54 +01:00
Dan Harrin c2e5befb1b feature: Empty state (#17932)
* feature: Empty state

* docs

* Update empty-state.blade.php

* add screenshot
2025-09-24 23:29:04 +01:00
Kenneth SeseandDan Harrin 5d509911b2 Add table header cell render hook (#17895)
* renderhooks

* indenting

* add hasRenderHook method

* remove table cell renderhook

* remove table cell renderhook view

* implement hasRenderHook check

* rename & document hook

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-24 17:28:12 +01:00
d91c365104 Update testing form actions docs with new form-actions key (#17887)
* 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>
2025-09-24 17:27:52 +01:00
Dan Harrin 84288a89b1 Add Aside component import to testing tables doc 2025-09-22 08:34:13 +01:00
JT Smith 20285ec298 fix: typo in 02-installation.md (#17883) 2025-09-21 09:21:07 +01:00
Corwin 15d27058f1 fix: fixed broken links on custom pages page (#17873) 2025-09-20 12:46:36 +01:00
MerdinandDan Harrin 22fc471a80 Update 03-testing-tables.md - "Testing that a column can be sorted" (#17871)
* 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>
2025-09-20 12:46:02 +01:00
8f9801f306 Add action render hooks (#17355)
* add action render hooks

* update docs

* update docs

* chore: fix code style

* clean up

---------

Co-authored-by: dvarilek <dvarilek@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-18 21:57:19 +01:00
M. D. 3791361412 docs: Fixes syntax error 2025-09-17 03:18:34 +02:00
Dan Harrin c84f15ae7f Remove Laravel 10 docs refs 2025-09-16 17:15:55 +01:00
Dan Harrin d49848ada7 Merge pull request #17386 from ace-of-aces/patch-1
[4.x] Fix(docs): Add missing form class to singular resources example
2025-09-14 16:42:11 +01:00
Dan Harrin 392f3e3bbe Update 09-singular.md 2025-09-14 16:41:22 +01:00
Dan Harrin 720f5ba73d fix: Column span docs & API inconsistency 2025-09-11 14:13:34 +01:00
f-baghli 9967b589eb fix: 03-resources 01-overview.md wrong path in example, v4 folders structure
Replaced
use App\Filament\Resources\Customers\Schemas\CustomersTable;
with
use App\Filament\Resources\Customers\Tables\CustomersTable;
2025-09-09 00:22:42 +01:00
Dan Harrin 4fed03cf2b Merge pull request #17633 from dissto/patch-1
Adjust example test for testing schema components
2025-09-03 11:33:24 +01:00
Dan Harrin de62176c47 Update 04-testing-schemas.md 2025-09-03 11:32:50 +01:00
M. D. 4c5e6df349 Refactor comments section tests for schema components
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 😊
2025-09-03 12:21:07 +02:00
Jürgen 679a337e6c Fix typo in 07-managing-relationships.md 2025-09-02 21:49:04 +02:00
Dan Harrin 2622a19cc8 Introduce more consistency 2025-08-31 14:30:37 +01:00
Dan Harrin 85912b6e17 Merge pull request #17575 from rajatpatelz/fix/broken-authorization-link
[4.x] Fix(docs) broken authorization link on users overview page
2025-08-31 12:51:27 +01:00
Rajat Patel d755a4541e Merge branch '4.x' into fix/broken-authorization-link 2025-08-30 11:41:53 +05:30
Rajat Patel cd3c75e3d8 fix broken authorization link on users overview page 2025-08-30 11:30:18 +05:30
Ryan Ginnow c14d8fe8dd fix: link to "optimizing local development" 2025-08-28 13:36:28 -04:00
Dan Harrin 88fde64f53 Merge pull request #17489 from chrillep/patch-1 2025-08-25 10:49:17 +02:00
Christian Widlund 090858f3af Revise authentication page class references
Updated class references for authentication pages in documentation.
2025-08-23 15:10:51 +02:00
Igor Babko 9d1221b43f Update 01-overview.md 2025-08-22 10:45:59 +03:00
Igor Babko e3d6b16ca4 Update 13-deployment.md 2025-08-22 10:38:53 +03:00
Julian Schramm 343d2e95c8 docs(fix): add missing form padding for singular resources example 2025-08-18 17:53:56 +02:00
Dan Harrin 1b97c3e35d Merge pull request #17339 from nexxai/patch-1
[4.x] docs: clarify where in the `vite.config.js` the theme.css file should be added
2025-08-18 10:55:35 +01:00
Dan Harrin 1d800af4aa Update 01-overview.md 2025-08-18 10:55:16 +01:00
Dan Harrin 431215aa95 Update 01-overview.md 2025-08-18 10:54:54 +01:00
Dan Harrin 561d6fadf8 Update 02-form.md 2025-08-18 10:47:59 +01:00
Igor Clauss f8498f957b Update 02-form.md
Changing old v3 Trait Name to new v4 one.
2025-08-16 22:37:22 +02:00
JT Smith c7cf0b822b Update 01-overview.md 2025-08-15 18:48:16 -06:00
Nessim Abadi 77e0858d94 Update 14-upgrade-guide.md
Add --dev flag to composer remove filament/upgrade
2025-08-13 17:41:30 -05:00
Jonny Nott 1500fe6b6e Update 14-upgrade-guide.md - change caret to tilde 2025-08-12 22:14:37 +01:00
Dan Harrin bf6bc5d8cb Update 05-version-support-policy.md 2025-08-12 15:45:21 +01:00
Dan Harrin 2e144a2dbe Update 14-upgrade-guide.md 2025-08-12 10:14:50 +01:00
Dan Harrin 94e031ad5f clean up 2025-08-12 09:43:17 +01:00
Dan Harrin 285439dbb4 Update 04-clusters.md 2025-08-11 22:00:48 +01:00
Dan Harrin 1bb970d3a1 [BREAKING CHANGE IN BETA]: More friendly URL parameters 2025-08-04 09:54:46 +01:00
Dan Harrin 34c56fa303 fix: Nested resource relation manager redirects 2025-08-04 09:49:53 +01:00
Dan Harrin 713a6ec9c1 clean up & docs 2025-08-04 09:05:01 +01:00
Dan Harrin 97f1f6edcf Merge pull request #17160 from filamentphp/v4-Add-filter-indicator-renderhook
V4 add filter indicator renderhook
2025-08-02 13:46:48 +01:00
Dan Harrin 446e432d4c pass data to hooks differently, docs 2025-08-02 13:40:11 +01:00
Lalhmangaihenga 8b24c6db44 final-update-my-english-word-is-gone 2025-08-02 18:43:53 +07:00
Lalhmangaihenga a003008344 update title 2025-08-02 18:33:31 +07:00
Lalhmangaihenga baeb3236b8 Update 03-creating-records.md
I am bad at wording
2025-08-02 10:44:28 +07:00