Commit Graph

527 Commits

Author SHA1 Message Date
Guy Sartorelli f3ff49202d
Merge pull request #390 from creative-commoners/pulls/4/module-standardiser-1715811845
MNT Run module-standardiser
2024-05-17 10:23:32 +12:00
Steve Boyd 1b6d76757f MNT Run module-standardiser 2024-05-16 14:55:23 +12:00
Guy Sartorelli 678ec6f7e1
Merge pull request #384 from creamarketing/nested-gridfield
NEW Nested gridfield
2024-05-16 10:11:18 +12:00
Niklas Forsdahl a42cd43780 Only allow one GridFieldNestedForm component per GridField. 2024-05-15 09:03:32 +03:00
Niklas Forsdahl c476cedff0 Added more documentation for nested gridfields. 2024-05-15 08:57:58 +03:00
Niklas Forsdahl a9b0a70155 Throw 404 error on grid field nested form move-to-parent action,
if no record is found.
2024-05-07 18:20:56 +03:00
Niklas Forsdahl 8f505659f0 Only add nested form to nested gridfield child if that child is of
the same class as the parent record.
2024-05-07 18:02:06 +03:00
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
Guy Sartorelli 256d06b36c
TLN Update translations (#385) 2024-05-06 18:13:32 +12: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