Commit Graph
947 Commits
Author SHA1 Message Date
Ben 85aff62fe1 Add failing test for action with arguments 2025-08-13 21:39:34 +01:00
Dan Harrin 61e3d0a342 Update helpersTest.php 2025-08-10 20:29:35 +01:00
Dan Harrin 7f183d420d Merge branch '3.x' into 4.x 2025-08-10 20:27:56 +01:00
Maytham Mahdi 282d9a2349 Refactor PostgreSQL JSON search column expression handling
- Simplified logic for processing columns with existing ->> operator.
- Updated tests to reflect changes in column expression generation, ensuring proper handling of explicit ->> operator and nested JSON paths.
- Improved clarity in test descriptions for better understanding of functionality.
2025-08-10 15:03:57 +03:00
Maytham Mahdi 6ed167d69d Add test cases for PostgreSQL columns with existing ->> operator
- Test basic columns with ->> operator (e.g., name->>'ar')
- Test table-prefixed columns with ->> operator (e.g., products.name->>'en')
- Test relationship columns with ->> operator (e.g., categories.name->>'ar')
- Test nested relationship columns with ->> operator (e.g., categories.parent.name->>'en')

These tests ensure our fix properly handles cases where the ->> operator
is already present in the column expression, preventing double-processing
and malformed SQL generation.
2025-08-08 08:58:41 +03:00
steelvirus 947d683c3e Remove FilamentManager::namespaceFor in favor of simple concatenation 2025-08-06 14:18:22 +02:00
steelvirus c3731ec3ca Replace hardcoded 'App\\' namespace prefixes with calls to 'Filament::namespaceFor' 2025-08-05 21:22:08 +02: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
Dan Harrin 7b9046184d Update RepeaterTest.php 2025-08-02 13:11:52 +01:00
Dan Harrin b66115b6f2 Merge pull request #17121 from filamentphp/fix/login-failed-event
fix: Login failed event
2025-07-29 12:47:53 +01:00
Dan Harrin b92b8e3f20 fix tests 2025-07-28 22:48:05 +01:00
Dan Harrin 2b787e6475 Ask for record title attribute when generating a resource 2025-07-28 22:37:34 +01:00
Dan Harrin 8a1adb5a72 update test snapshots 2025-07-28 22:30:08 +01:00
Dan Harrin 2579b3105e fix: Login failed event 2025-07-28 17:37:04 +01:00
Dan Harrin a587a1891e Merge branch '4.x' into pr/17012 2025-07-28 10:51:19 +01:00
Dan Harrin 3c65a6ddfc Update RepeaterTest.php 2025-07-22 10:20:20 +01:00
Dan Harrin 8b83de507b Merge branch '3.x' into 4.x 2025-07-22 10:17:57 +01:00
Dan Harrin 470917c4e4 clean up 2025-07-22 10:16:06 +01:00
Dan Harrin c6cf3ee11e consistency 2025-07-22 09:54:45 +01:00
IgorPierre c8afab6eab fix: support enums as Select options with disableOptionsWhenSelectedInSiblingRepeaterItems 2025-07-21 16:21:26 -03:00
Zoltán Tamás Szabó e3b52e517a Refactor model casts to use method syntax for improved clarity and consistency 2025-07-21 20:08:25 +02:00
Dan Harrin 2aa7ff852c simplify and add docs warning 2025-07-20 19:52:33 +01:00
Ngo Quoc Dat 2f5a014276 feat(4.x): spa prefetching 2025-07-18 11:56:53 +07:00
Hugo 8df6e81b5f Update CanSpanColumns trait to set default column span values and adjust GridTest for new breakpoint handling 2025-07-17 20:15:44 +02:00
Dan Harrin 52f746879d Merge pull request #16920 from filamentphp/refactor-select-option-validation
Refactor select option validation
2025-07-11 14:12:42 +01:00
Dan Harrin 29a4d68fa6 fix: Global search soft deleted models 2025-07-11 12:27:50 +01:00
Dan Harrin f429670db3 Refactor select option validation 2025-07-11 11:10:15 +01:00
Dan Harrin de794e1650 Merge pull request #16706 from ralphjsmit/rjs/implement-trim-method
feat: add `->trim()` method to `TextInput`, `Textarea` and `TagsInput`
2025-07-11 09:42:37 +01:00
Dan Harrin ba7531921f Merge branch '3.x' into 4.x 2025-07-10 11:07:47 +01:00
Dan Harrin c4ea3093be clean up 2025-07-10 10:47:42 +01:00
Glenn Jacobs e4bbf97ce9 Handle Postgres nested JSON searches 2025-07-10 09:38:05 +01:00
Dan Harrin 1605bd96fb Merge pull request #16781 from ralphjsmit/rjs/call-hint-icon-after-state-hydrated
fix: only evaluate `hint()` and `hintIcon()` callbacks after hydration
2025-07-09 15:24:04 +01:00
NathanaelGT 7ac078786b chore: fix code style 2025-07-08 16:54:25 +00:00
Dan Harrin 1c9d8daa1f Merge branch '3.x' into 4.x 2025-07-08 14:24:17 +01:00
Lukas Mateffy 1523a9e5a3 fix: add JSON support to colon column fix and add tests 2025-07-08 14:49:55 +02:00
Dan Harrin 74b3efaf1b Merge branch '3.x' into 4.x 2025-07-08 12:58:02 +01:00
Glenn Jacobs 20bb430001 Update helpersTest.php 2025-07-08 11:27:29 +01:00
Glenn Jacobs 75052290f1 Fix pgsql json search 2025-07-08 11:24:51 +01:00
Dan Harrin 9205dd2cfa MakeLivewireTableCommandTest 2025-07-07 11:46:29 +01:00
Dan Harrin 2d09943ce0 MakeTableCommandTest 2025-07-07 11:42:59 +01:00
Dan Harrin b5c766cd3f cs 2025-07-07 11:37:40 +01:00
Dan Harrin 2c4269e18e MakeLivewireSchemaCommandTest 2025-07-07 11:37:29 +01:00
Dan Harrin f2278c31e6 MakeLivewireFormCommandTest 2025-07-07 11:34:23 +01:00
Dan Harrin 717ac348f4 MakeFormCommandTest 2025-07-07 11:30:57 +01:00
Dan Harrin 2b1f6f73fa Add more tests 2025-07-07 11:27:08 +01:00
Dan Harrin b8d00ef436 add MakeEntryCommandTest 2025-07-07 11:09:59 +01:00
Dan Harrin 73560cbe4f add MakeFieldCommandTest 2025-07-07 11:06:07 +01:00
howdu 1a0268dfd0 chore: fix code style 2025-07-05 06:12:16 +00:00
Ben a0c90d8658 Add form builder test 2025-07-05 07:02:15 +01:00