paul121
|
3bc1871e39
|
Render each ID tag property on a separate line.
|
2021-06-07 12:27:34 -04:00 |
|
Michael Stenta
|
ffb88f44da
|
Issue #3217715: Dashboard block with simple farm metrics
|
2021-06-07 12:17:40 -04:00 |
|
Michael Stenta
|
975370b12c
|
Add the Metrics block to the dashboard's second region.
|
2021-06-07 12:17:04 -04:00 |
|
Michael Stenta
|
635e2d0309
|
Add a FarmMetricsBlock that includes asset and log record counts by type.
|
2021-06-07 12:17:04 -04:00 |
|
Michael Stenta
|
25b74d23cc
|
Initial farm_ui_metrics module.
|
2021-06-07 12:17:04 -04:00 |
|
Michael Stenta
|
d1956fd048
|
Issue #3188797 by paul121, m.stenta: Dashboard layout
|
2021-06-07 12:14:11 -04:00 |
|
Michael Stenta
|
0e1fdf3f94
|
Remove id and type from Upcoming/Late Tasks displays to reduce width of dashboard column.
|
2021-06-07 12:13:41 -04:00 |
|
Michael Stenta
|
e8299a7df9
|
Set overflow-x: scroll on dashboard layout regions to prevent bumping second column below first.
|
2021-06-07 12:13:41 -04:00 |
|
Michael Stenta
|
dff53dba7f
|
Add the dashboard map to the top region.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
f43f4f1050
|
Define the plans and logs dashboard groups.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
1e639cdd8c
|
Default the group #type to container if none was provided.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
b66f0db401
|
Allow modules to define dashboard groups per layout region.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
ae22af2c56
|
Display the plans pane in the second region.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
03eb2a9918
|
Display log panes in the first layout region.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
4091d7db01
|
Add padding between layout columns.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
2633517aa6
|
Document layout region option.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
5ca334cd6a
|
Render the dashboard using the layout_twocol layout.
|
2021-06-07 12:13:41 -04:00 |
|
paul121
|
9233882376
|
Depend on the core layout_discovery module.
|
2021-06-07 12:13:41 -04:00 |
|
Michael Stenta
|
eba7ec0098
|
Issue #3179023 by pcambra, m.stenta: Location hierarchy drag-and-drop editor
|
2021-06-07 12:13:09 -04:00 |
|
Pedro Cambra
|
217da91e5a
|
Improve drag and drop behaviour
|
2021-06-07 11:53:59 -04:00 |
|
Michael Stenta
|
e1efdc3aba
|
Add location UI help text.
|
2021-06-07 11:06:16 -04:00 |
|
Michael Stenta
|
cdae05caa7
|
Move toggle link to a button inline with Save and Reset.
|
2021-06-07 11:06:16 -04:00 |
|
Michael Stenta
|
7a86c2f2fb
|
Fix locations overview tree so that it works without a root parent.
|
2021-06-07 11:06:16 -04:00 |
|
Michael Stenta
|
abb0f7944a
|
Remove unused use statements.
|
2021-06-07 07:53:16 -04:00 |
|
Michael Stenta
|
cf7d26f683
|
Do not include archived child locations.
|
2021-06-07 07:53:16 -04:00 |
|
Michael Stenta
|
5e0c22d0c5
|
Refactor getAssetChildren() into getLocations() because it is specifically child locations. Always return an array.
|
2021-06-07 07:53:16 -04:00 |
|
Michael Stenta
|
cfa6ac67bc
|
Add docblock for build() method.
|
2021-06-07 07:53:16 -04:00 |
|
Michael Stenta
|
cd7139f26e
|
Refactor access callback to forbid access if the asset is not a location or it has no child locations.
|
2021-06-07 07:51:29 -04:00 |
|
Michael Stenta
|
062d7ffc28
|
Add an "access locations overview" permission for /locations and /asset/%/locations.
Grant it to farmOS managed roles by default.
|
2021-06-07 07:51:29 -04:00 |
|
Michael Stenta
|
317efd01cd
|
Set the page title of asset/%/locations to "Locations in %location".
|
2021-06-07 07:51:28 -04:00 |
|
Michael Stenta
|
8cd89c8150
|
Hide "Children" tab on location assets.
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
bf9258536f
|
Add toggle link and node links
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
a42a9cc527
|
Removed location force revision as it will implemented more generally in https://www.drupal.org/project/farm/issues/3216766
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
7e91f85c81
|
Added status to the save button
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
511bd3771d
|
Force revision creation through json api
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
7ab249b03c
|
Added route access so the location tab is not displayed if the asset has no children
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
48e42a252c
|
Overwrite inspire tree config
|
2021-06-05 21:34:10 -04:00 |
|
Pedro Cambra
|
2926c85b5d
|
Renamed locations ui library to a more sensible name
|
2021-06-05 21:34:10 -04:00 |
|
Michael Stenta
|
51562201ee
|
Move farm_dashboard to farm_ui_dashboard.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
26e1d2459c
|
Only load location assets in buildTree().
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
4ed3684202
|
Add a Locations link to the main farmOS menu.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
a940116213
|
Move /asset-locations to /locations.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
205984280e
|
Add docblock comments to buildTree() method so code sniffer tests pass.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
4d631d7f38
|
Declare asset and log module dependencies in farm_location module.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
3237a750c1
|
Move location hierarchy editor code to farm_ui_location.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
fd3a511d0a
|
Create a new farmOS UI Location module.
|
2021-06-05 21:34:09 -04:00 |
|
pcambra
|
771c753518
|
First stub of the asset location hierarchy editor feature.
|
2021-06-05 21:34:09 -04:00 |
|
Michael Stenta
|
69638f33ec
|
Add a Farm UI Help module.
|
2021-06-05 16:56:15 -04:00 |
|
Michael Stenta
|
4d59cd69c7
|
Do not archive areas without an area type during migration.
|
2021-06-05 14:53:17 -04:00 |
|
Michael Stenta
|
5c6856fe0c
|
Add "Migrated from farmOS 1.x on [date]" revision log messages to migrated records.
|
2021-06-05 14:53:17 -04:00 |
|