Commit Graph

7812 Commits

Author SHA1 Message Date
Paul Weidner 7f9f9dcd75 Decrease size of views collapsible filter 2023-10-06 14:40:08 -04:00
Paul Weidner c75ebeae58 Condense styling of views 2023-10-06 14:40:08 -04:00
Michael Stenta b3a9e0c798 Condense metrics UI #711 2023-10-06 14:38:33 -04:00
Michael Stenta ec51dfaff6 Add CHANGELOG.md line for #711. 2023-10-06 14:38:24 -04:00
Paul Weidner 4ef19c79ce Render metrics using item_list theme 2023-10-06 14:38:06 -04:00
Paul Weidner 91a6fccf85 Use flexbox to manage metric button spacing 2023-10-06 14:38:06 -04:00
Paul Weidner 9b8eb314cc Class attributes is an array 2023-10-06 14:38:06 -04:00
Paul Weidner 1b6b46ab9a Render entity labels using h6 tag 2023-10-06 14:38:06 -04:00
Paul Weidner 6be3e3639c Render metrics in small buttons 2023-10-06 14:38:05 -04:00
Michael Stenta 1d0f5fe48c Dashboard improvements #712 2023-10-06 14:37:10 -04:00
Michael Stenta 86718da176 Add CHANGELOG.md line for #712. 2023-10-06 14:36:13 -04:00
Paul Weidner 14b63d748d Reduce spacing within dashboard fieldsets 2023-10-06 14:35:44 -04:00
Paul Weidner 7167016488 Style dashboard fieldsets similar to gin-layer-wrapper 2023-10-06 14:35:44 -04:00
Paul Weidner a195744803 Use flexbox to position and space dashboard panes 2023-10-06 14:35:44 -04:00
Paul Weidner 74dfee5024 Add dashboard-pane attribute to help target dashboard panes 2023-10-06 14:35:44 -04:00
Paul Weidner dd3e9e68b2 Remove unnecessary default container div
This only adds a div to the markup that is not used
to style or arrange the panes within a region.
2023-10-06 14:35:44 -04:00
Paul Weidner 237a094e85 Add action links to add location assets on locations page #709 2023-10-06 14:34:13 -04:00
Michael Stenta 6970f3b568 Add an Account Admin role with permission to administer users and assign managed roles #714 2023-10-06 14:21:34 -04:00
Michael Stenta 9b4700dced Limit permissions of Account Admin role. 2023-10-06 14:15:33 -04:00
Michael Stenta c5b7d25d29 Invalidate the user_role:farm_account_admin cache tag when the account admin settings form is submitted. 2023-10-06 14:15:33 -04:00
Michael Stenta 978281c212 Add a separate permission for configuring the Account Admin role module settings. 2023-10-06 14:15:33 -04:00
Michael Stenta e4b656af74 Add a setting for allowing Account Admins to assign Account Admin role. 2023-10-06 14:15:33 -04:00
Michael Stenta 05a3b374bb Restrict access to user 1 so that Account Admins cannot edit it. 2023-10-06 14:15:33 -04:00
Michael Stenta 501d573b19 Add an Account Admin role with permission to administer users and assign managed roles. 2023-10-06 14:15:32 -04:00
Michael Stenta 6ac77f8106 Issue #3354935: Configurable quick forms 2023-10-06 14:13:03 -04:00
Michael Stenta 8799148196 Add CHANGELOG.md lines for Issue #3354935: Configurable quick forms 2023-10-06 14:12:36 -04:00
Michael Stenta a8f7081601 Add developer documentation for building configurable quick forms. 2023-10-06 14:11:11 -04:00
Michael Stenta de8a262685 Remove requiresEntity() method. 2023-10-06 14:11:11 -04:00
Paul Weidner 89be8e6359 Add test assertion for quick form help text 2023-10-06 14:11:10 -04:00
Michael Stenta 8ae1c6dd1f Automated tests of configurable quick forms. 2023-10-06 14:11:10 -04:00
Paul Weidner e987d9450c Configure quick form entities with correct quickId in getInstances() function 2023-10-06 14:11:10 -04:00
Paul Weidner 7506862308 Rename createInstance to getInstance for consistency with getInstances function 2023-10-06 14:11:10 -04:00
Paul Weidner 4fcc647115 Raise 404 if quick form does not exist 2023-10-06 14:11:10 -04:00
Paul Weidner f89e155f0a Load plugin definition to check requiresEntity 2023-10-06 14:11:10 -04:00
Paul Weidner 8a52fd3be6 Add cache metadata to quick form controller 2023-10-06 14:11:10 -04:00
Paul Weidner be973941aa Save default label, description and help text to quick form 2023-10-06 14:11:10 -04:00
Paul Weidner 18db434a68 Use standard entity permissions 2023-10-06 14:11:10 -04:00
Paul Weidner 3505e80124 Refactor quick form route building to a single route 2023-10-06 14:11:10 -04:00
Paul Weidner 8903ff44bc Refactor ConfigureQuickForm to use EntityForm 2023-10-06 14:11:10 -04:00
Michael Stenta fa6329f579 Generate menu task links (tabs) for quick forms and their configuration forms. 2023-10-06 14:11:10 -04:00
Michael Stenta 87fa34716d Build routes to configuration forms. 2023-10-06 14:11:10 -04:00
Michael Stenta 92c3543b87 Add a ConfigureQuickForm for building, validating, and submitting configuration forms. 2023-10-06 14:11:10 -04:00
Michael Stenta 44c443bda9 Add a permission for configuring quick forms. 2023-10-06 14:11:10 -04:00
Michael Stenta 554afce229 Add a requiresEntity boolean to quick form plugins to optionally prevent creating default instances. 2023-10-06 14:11:10 -04:00
Michael Stenta 9811f7c7f7 Exclude quick forms that are explicitly disabled. 2023-10-06 14:11:10 -04:00
Michael Stenta 898d2355f0 Introduce new getQuickId() and setQuickId() methods. Deprecate getId(). 2023-10-06 14:11:10 -04:00
Michael Stenta 11c6e5be7e Refactor QuickFormInstanceManager to return config entities. 2023-10-06 14:11:10 -04:00
Michael Stenta 6e34a09a9f Provide a ConfigurableQuickFormTrait that quick forms can use.
This uses ConfigurableTrait to add default getConfiguration(),
setConfiguration(), and defaultConfiguration() methods, and it
adds default buildConfigurationForm(), validateConfigurationForm(),
and submitConfigurationForm() methods.

The submitConfigurationForm() method does not yet save anything
automatically.
2023-10-06 14:11:10 -04:00
Michael Stenta 04e4a86b25 Provide a ConfigurableTrait with common boiler plate.
This will be replaced by a trait of the same name in Drupal core
via https://www.drupal.org/project/drupal/issues/2852463.
2023-10-06 14:11:10 -04:00
Michael Stenta 14365f6008 Provide a ConfigurableQuickFormInterface that quick forms can use to declare themselves configurable.
This extends from QuickFormInterface, as well as ConfigurableInterface
(which adds getConfiguration(), setConfiguration(), and defaultConfiguration())
and PluginFormInterface (which adds buildConfigurationForm(),
validateConfigurationForm(), and submitConfigurationForm()).
2023-10-06 14:11:10 -04:00