Commit Graph
28448 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
Ben c95d25c784 Move navigation loading inside of conditional for top navigation (#17968) 2025-09-27 07:31:22 +01:00
Assem Alwaseai c184d0c46e Update 02-listing-records.md (#17967) 2025-09-27 07:29:54 +01:00
dependabot[bot] 9658cd60e3 build(deps): bump tar-fs in /docs-assets/screenshots (#17965) 2025-09-27 07:28:38 +01:00
Dan Harrin a4ddf48ff6 Merge branch '3.x' into 4.x 2025-09-26 20:09:11 +01:00
DevandDan Harrin d075cf7901 Format pagination numbers to match total results (#17961)
* feat: add support for default collapsed grouping in table records.

* Updated documentation to include new `groupingDefaultCollapsed` method.

* Reset collapsed groups array on initialization for default grouping.

* fix: enhance group collapse behavior based on default setting

* Reverted the changes that was in my PR that I somehow managed to change.

* Correct input tag formatting in index.blade.php

* Fix formatting in table.js

* Formatting fix for table.js

* clean up

* Format pagination item label for numeric values.

* Update packages/support/resources/views/components/pagination/item.blade.php

Signed-off-by: Dan Harrin <git@danharrin.com>

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-26 17:31:28 +01:00
WenRenHai c2ca605470 feat: add Filament Forms translations for zh-CN, zh-TW, zh-HK (#17963) 2025-09-26 17:29:40 +01:00
Brian StanleyandDan Harrin 9877057d97 Fix CSV export for Postgres when table is sorted on related column (#17960)
* Fix CSV export for Postgres where table is sorted on related column

* Update packages/actions/src/Exports/Jobs/PrepareCsvExport.php

Signed-off-by: Dan Harrin <git@danharrin.com>

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-26 17:29:14 +01:00
Stefano Bifolco bcbafb44c4 Fix ColorColumn namespace in documentation (#17962)
Updated namespace for ColorColumn usage in documentation.

Signed-off-by: Stefano Bifolco <stefanobifolco@gmail.com>
2025-09-26 14:53:58 +01:00
Ismail Ait El Kamel 04ada2e98f add french translation for navigation label (#17959) 2025-09-26 12:59:48 +01:00
Dan Harrin fc85acf26d Update 06-empty-states.md 2025-09-26 11:18:10 +01:00
Dan Harrin d9645bdf21 Merge branch '3.x' into 4.x 2025-09-26 10:08:38 +01:00
Dan Harrin 041211a460 Update monorepo-split.yml 2025-09-26 10:08:25 +01:00
WenRenHaiandDan Harrin 4724ab778d fix: adjust select field wrapper for proper inline label alignment (#17955)
* fix: adjust select field wrapper for proper inline label alignment

* fix: Consistency

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-26 09:13:20 +01:00
Dan Harrin 4a8597f9d8 Merge branch '3.x' into 4.x 2025-09-26 09:06:48 +01:00
Dan Harrin 188cff4609 Update EasyMDE.js 2025-09-26 09:06:19 +01:00
WenRenHaiandDan Harrin ea154dbadf fix: error when only resources are configured for multi-tenancy and the authenticated user has no tenant (#17956)
* fix: error when only resources are configured for multi-tenancy and the authenticated user has no tenant

* Update packages/panels/src/Panel/Concerns/HasRoutes.php

Signed-off-by: Dan Harrin <git@danharrin.com>

---------

Signed-off-by: Dan Harrin <git@danharrin.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-26 09:01:57 +01:00
Christos a416b95f5d update greek (el) table translations (#17957)
Add missing translations and remove unused ones in the `el`
files for tables.
2025-09-26 08:55:08 +01:00
Matthew Myers 5190e67cb6 Restore hint icon color functionality (#17954)
* Add hint color to form HasHint.

Signed-off-by: Matthew Myers <mxm1070@users.noreply.github.com>

* Add hint color to infolist HasHint.

Signed-off-by: Matthew Myers <mxm1070@users.noreply.github.com>

---------

Signed-off-by: Matthew Myers <mxm1070@users.noreply.github.com>
2025-09-26 08:30:32 +01:00
Lalhmangaihenga 29cb4ac7af update lus translations (#17949) 2025-09-25 12:12:21 +01:00
Dan Harrin 3fe710accb fix: Simple page max width configuration (#17948) 2025-09-25 10:46:57 +01:00
DevandDan Harrin 20c5962819 feat: add support for default collapsed grouping in table records. (#17920)
* feat: add support for default collapsed grouping in table records.

* Updated documentation to include new `groupingDefaultCollapsed` method.

* Reset collapsed groups array on initialization for default grouping.

* fix: enhance group collapse behavior based on default setting

* Reverted the changes that was in my PR that I somehow managed to change.

* Correct input tag formatting in index.blade.php

* Fix formatting in table.js

* Formatting fix for table.js

* clean up

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-25 10:16:34 +01:00
Dan Harrin 164a599640 fix: Flex JS visibility (#17946) 2025-09-25 10:04:48 +01:00
Dan Harrin 1200f31659 Update 08-repeatable-entry.md 2025-09-25 10:04:26 +01:00
7c5cd978d7 feat: Add RepeatableEntry table layout and TableColumn component (#17865)
* Add RepeatableEntry table layout and TableColumn component with tests

* chore: fix code style

* consistency with repeater

* Update EntriesDemo.php

---------

Co-authored-by: oddvalue <oddvalue@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-25 10:03:43 +01:00
WenRenHai 73fd07ee07 fix: exception when using hasBlockPreviews in Builder component (#17937)
* fix: `builder` clone default child components only when hasBlockPreviews is enabled

* fix: php stan && code formatting

* refactor: replace collection map with array_map for cloning default child components in builder

* fix: clone block before retrieving default child components in builder modals
2025-09-25 08:56:11 +01:00
Alex T. 0425eac183 fix: FileUpload Component Overlapping Next Element When Accepting Multiple Files (#17938)
Fixes #13689
2025-09-25 08:27:23 +01:00
Alex T. 9683de323c Fix: ToggleButtons and Radio buttons lose keyboard focus (#17935)
Fixes #16946
2025-09-25 08:26:15 +01:00
Alex T. 49e7715803 Fix keyboard navigation issues with markdown editors (#17934) 2025-09-25 08:25:08 +01:00
Dan Harrin 0f1deeb253 Merge branch '3.x' into 4.x 2025-09-25 08:19:07 +01:00
Venkatesh 9261470c75 Laravel Eloquent, the Builder class does not have a getLimit() method, so using getQuery()->limit (#17941)
Fixes #17940

$query->getQuery() gives the underlying Illuminate\Database\Query\Builder object.

That object does have a limit property that stores the LIMIT value of the query.
v3.3.41
2025-09-25 08:18:49 +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
Dan Harrin 99601d533f feature: Resource page generics (#17931) 2025-09-24 22:45:24 +01:00
Dan Harrin 2cfb9cdbbd fix: Do not fetch option labels for blank state (#17930) 2025-09-24 22:44:40 +01:00
M. D. d39fdf6b3e docs: fix typo (#17929)
Signed-off-by: M. D. <dissto@users.noreply.github.com>
2025-09-24 22:22:10 +01:00
Raj Siva-RajahandDan Harrin 30ff8731a4 Fix browser navigation throttling issues (#17911)
* Fix browser navigation issues in SPA mode

* Fix browser navigation issues in SPA mode

* Rebuild JS

* Clean up

* Update history-state.js

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-24 18:01:49 +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 4eb003939f Merge branch '3.x' into 4.x 2025-09-24 17:22:48 +01:00
Dan Harrin 78591c9d16 fix: Exporting with limit on query (#17925) v3.3.40 2025-09-24 16:52:18 +01:00
TinaHandDan Harrin 048cde396a fix interactive table column event bubbling and wire:navigate nested clicks (#17709)
* fix event bubling

* fix wire:navigate

* fix tests

* remove doc-block

* Update helpers.php

* Add tests for hasNestedClickEventHandlers, fix existing tests

* true for table row a tags

* Update ToggleColumn.php

* remove window on navigate

* remove callback

* clean up

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-24 12:24:38 +01:00
Dan Harrin ab5cc612cb fix: Tooltip alignment on text columns/entries (#17916)
* fix: Tooltip alignment for text columns

* fix text entries
2025-09-24 11:06:02 +01:00
Maurizio Pasquinelli ae67082935 Support HTML in table filter labels (#17918)
Signed-off-by: Maurizio Pasquinelli <pasquinellimaurizio@gmail.com>
2025-09-24 11:05:11 +01:00
WenRenHai 8ecceaef3d fix: use line-clamp in columns to handle text overflow (#17912)
* fix: adjust TextColumn state item markup to wrap content in <p> and improve attribute handling

* fix: code style

* fix: retain the most simplified dom
v4.0.20
2025-09-23 11:09:30 +01:00
oddvalueandDan Harrin 9fb16f1819 feat: Handle 'Enter' key event in search of select (#17722)
* Handle 'Enter' key event in search of select

* Update index.css

* fix search checks

* refactor

---------

Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-23 11:00:49 +01:00
Ján Hamrák 2e56e61050 Update missing SK/CZ translations (#17913) 2025-09-23 10:22:53 +01:00
Alex T. 4cb7c38763 fix a11y radio and toggle button lose focus when live (#17906) 2025-09-22 19:48:24 +01:00
Dan Harrin 5f1e248cbe fix: Option keys starting with 0 (#17902)
* fix: Option keys starting with 0

* reverse order of checks for perf

* Use Laravel 11 compatible method
2025-09-22 12:29:57 +01:00
fb8009b9d5 feat: add affix support to TextInputColumn (#17756)
* feat: add affix support to TextInputColumn

- Add HasAffixes trait to TextInputColumn
- Support prefix and suffix labels, icons, and actions
- Add inline affix support
- Update toEmbeddedHtml() method to render affixes
- Add comprehensive documentation with examples
- Maintain backward compatibility with existing functionality

This allows TextInputColumn to display prefixes and suffixes similar to TextInput form components, enabling better UX for table editing with units, icons, or action buttons.

* remove: remove documentation from main filament repository

Documentation should be in the separate filamentphp.com repository, not in the main filament repository.

* chore: fix code style

* docs: add affix documentation for TextInputColumn

- Add comprehensive documentation for prefix and suffix functionality
- Include examples for labels, icons, inline affixes, and actions
- Document all new methods and their usage
- Provide practical examples for common use cases

* fix: resolve TextInputColumn action preparation and rendering errors

- Add prepareAction method to TextInputColumn class
- Fix echo statements to properly render Action objects using render() method
- Resolve undefined method and non-string echo errors

* delete packages/tables/docs/02-columns/08-text-input.md

* Add TextInputColumn documentation with affix functionality

- Add comprehensive documentation for TextInputColumn
- Include examples for prefix/suffix labels, icons, and actions
- Document inline layout control
- Add advanced examples for currency, search, and status inputs
- Include complete API reference for all methods

* Add TextInputColumn documentation with affix functionality

- Add comprehensive documentation for TextInputColumn
- Include examples for prefix/suffix labels, icons, and actions
- Document inline layout control
- Add advanced examples for currency, search, and status inputs
- Include complete API reference for all methods
- Match Filament documentation style and structure

* Fix echo errors in TextInputColumn

- Change prefixAction->render() to prefixAction->toHtml()
- Change suffixAction->render() to suffixAction->toHtml()
- Fixes PHPStan echo.nonString errors on lines 429 and 472

* Restore original TextInputColumn documentation with affix enhancements

- Preserve original validation and HTML input type documentation with proper links
- Keep original lifecycle hooks section unchanged
- Add prefix and suffix support as enhancement only
- Maintain minimal changes approach - only enhance, don't replace existing content

* Simplify TextInputColumn affix documentation to minimal example

- Remove excessive examples and detailed method documentation
- Keep single comprehensive example showing prefix, suffix, icon, and action
- Maintain original documentation content with minimal enhancement

* docs: remove actions reference

* fix: remove actions

* fix: spacing

* fix: phpstan by adding (unused) methods

* chore: fix code style

* fix: remove trait, update docs

* chore: fix code style

* fix: remove newline and deprecated method

* docs: remove paragraph

* docs: fix link to icons

* clean up, fix prefix not showing, fix icons throwing exceptions, fix XSS injection in labels

---------

Co-authored-by: Baspa <Baspa@users.noreply.github.com>
Co-authored-by: Dan Harrin <git@danharrin.com>
2025-09-22 12:06:09 +01:00
Dan Harrin 144b701d8a fix: Enable/disable specific toolbar buttons (#17900) 2025-09-22 10:12:27 +01:00