Commit Graph

519 Commits

Author SHA1 Message Date
Niklas Forsdahl
9ab3ed67a7 Throw an exception in Nesed Gridfield if an invalid relation is configured. 2024-05-07 12:36:44 +03:00
Niklas Forsdahl
1993acba3a Linting and typehinting fixes for nested grid field 2024-05-07 12:35:16 +03:00
Niklas Forsdahl
1ad6acbb84 Refactored grid field nested form link to be a button with aria-attributes,
for better accessibility.
2024-04-24 11:13:09 +03:00
Niklas Forsdahl
46e5cccdb4 Changed some PHPDoc return types to real typehings in nested gridfield. 2024-04-24 11:03:48 +03:00
Niklas Forsdahl
bc1180b62c Throw exception in nested gridfields if the relation is invalid. 2024-04-24 10:42:55 +03:00
Niklas Forsdahl
5e6097214e Added phpdoc for nested grid field item request handler class. 2024-04-24 10:25:45 +03:00
Niklas Forsdahl
70b838ea8c Removed legacy disabling of security token and strict form method check
for nested gridfields, doesn't seem to be needed anymore.
2024-04-24 10:17:22 +03:00
Niklas Forsdahl
c517c693f9 Don't assume records are DataObjects in nested gridfields.
Also don't assume the list is filterable.
2024-04-24 09:57:24 +03:00
Niklas Forsdahl
f7b8aea3f8 PHPDoc additions and linting fixes for gridfield nested form 2024-04-24 09:40:16 +03:00
Niklas Forsdahl
847ce07ab0 Fixes and some refactoring for max nesting level handling in
nested gridfields.
2024-04-24 09:19:32 +03:00
Niklas Forsdahl
cfcf8d2e8e Refactored nested GridField move to parent functionality. 2024-04-23 17:03:00 +03:00
Niklas Forsdahl
32d980e13c Fixed moving nested gridfield items to other gridfields 2024-04-23 16:35:10 +03:00
Niklas Forsdahl
fc40420daa Added configurable max nesting level for nested GridFields 2024-04-18 18:04:56 +03:00
Niklas Forsdahl
4fc20fb771 Added one more unit test for GridFieldNestedForm 2024-04-18 17:51:27 +03:00
Niklas Forsdahl
f8c777dcc5 Changed naming schema for nested GridFields, to not include [ or ]
characters. This makes them work also with the search component.
2024-04-18 14:39:25 +03:00
Niklas Forsdahl
c415d43731 Fixed linting issues 2024-04-18 12:41:58 +03:00
Niklas Forsdahl
c043220949 Changed base-class of GridFieldNestedForm, it doesn't share much with
GridFieldDetailForm anymore.
Also changed how Breadcrumbs work.
2024-04-18 10:56:35 +03:00
Niklas Forsdahl
654b7294fa Renamed GridFieldNestedForm_ItemRequest, to conform with coding styles.
Also added some php-docs for some public functions.
2024-04-18 10:17:04 +03:00
Niklas Forsdahl
bcc4ea14bb Added initial user documentation for Nested GridFields. 2024-04-15 11:02:31 +03:00
Niklas Forsdahl
19a7cffa88 Added initial unit test for GridFieldNestedForm 2024-04-15 10:57:05 +03:00
Niklas Forsdahl
27dc6360ae Styling for nested GridFields without title.
Added loading indicator while nested GridField is being fetched.
2024-04-15 09:52:33 +03:00
Niklas Forsdahl
db3edd7f16 NEW Initial nested gridfield component 2024-04-12 16:45:29 +03:00
Guy Sartorelli
9d91a15a71
Merge branch '4.0' into 4 2024-02-27 13:45:22 +13:00
Guy Sartorelli
46b4763e8c
Merge branch '3' into 4.0 2024-02-27 13:45:03 +13:00
Guy Sartorelli
d34c92dba7
Merge branch '3.6' into 3 2024-02-27 13:44:19 +13:00
Guy Sartorelli
c84d8afa7a
TLN Update translations (#381) 2024-02-07 16:15:40 +13:00
Guy Sartorelli
8565150c9e
MNT Run module-standardiser (#380) 2024-02-02 14:10:12 +13:00
Tom Oude Rengerink
78fa8ba747
ENH Make toast message "Records reordered." localisable (#321)
Co-authored-by: Tom Oude Rengerink <tom@cube.nl>
2024-01-24 11:41:14 +13:00
Guy Sartorelli
62734535a0
MNT Run module-standardiser (#377) 2023-12-21 16:33:13 +13:00
Guy Sartorelli
ca68c15e41
Merge branch '4.0' into 4 2023-12-19 13:59:41 +13:00
Guy Sartorelli
e176dc6b09
Merge branch '3' into 4.0 2023-12-19 13:59:20 +13:00
Guy Sartorelli
5ed8c95fda
Merge branch '3.6' into 3 2023-12-19 13:58:41 +13:00
Guy Sartorelli
377dc1ef93
Merge pull request #358 from Sitetools/link_color_fix
Make link color white.
2023-12-19 13:57:29 +13:00
Robin
1637e78ea1
Make link color white. 2023-12-19 13:54:08 +13:00
Guy Sartorelli
eccf8a7bf5
Merge branch '4.0' into 4 2023-08-30 10:19:50 +12:00
Guy Sartorelli
4bc464d05c
Merge branch '3' into 4.0 2023-08-30 10:19:12 +12:00
Guy Sartorelli
9c70b0175b
Merge branch '3.6' into 3 2023-08-30 10:18:58 +12:00
Guy Sartorelli
25a0c4d470
Merge branch '3' into 4.0 2023-08-30 10:17:49 +12:00
Guy Sartorelli
e371e74c29
Merge pull request #374 from creative-commoners/pulls/4.0/module-standardiser-1693279913
MNT Run module-standardiser
2023-08-29 17:15:18 +12:00
Steve Boyd
d66fe9c2c0 MNT Run module-standardiser 2023-08-29 15:31:53 +12:00
Loz Calver
e7d7178719
Merge pull request #372 from creative-commoners/pulls/3.6/manymanythrough-editablecolumns
FIX Allow editing extra fields from ManyManyThroughList.
2023-08-21 09:06:49 +01:00
Guy Sartorelli
1e5a1e8056
ENH Update translations (#373) 2023-08-21 13:21:15 +12:00
Guy Sartorelli
47171ee4c2
FIX Allow editing extra fields from ManyManyThroughList. 2023-08-21 09:02:42 +12:00
Guy Sartorelli
f75e037d57
Merge pull request #370 from creative-commoners/pulls/4/module-standardiser-1691554749
MNT Run module-standardiser
2023-08-15 12:31:29 +12:00
Steve Boyd
dfe1af165a MNT Run module-standardiser 2023-08-14 15:50:56 +12:00
Sabina Talipova
a2ea473369
MNT Replaced SearchContext::getQuery limit param with null (#367) 2023-07-05 17:20:56 +12:00
Guy Sartorelli
09db683a6d
Merge pull request #368 from creative-commoners/pulls/4/dispatch
MNT Fix dispatch-ci
2023-07-05 17:01:31 +12:00
Steve Boyd
51b8fa9869 MNT Fix dispatch-ci 2023-07-05 12:39:00 +12:00
Steve Boyd
131a15b008 Merge branch '4.0' into 4 2023-06-16 12:22:48 +12:00
Steve Boyd
d369f38a53 Merge branch '3' into 4.0 2023-06-16 12:22:39 +12:00