Paul Weidner
d08c3e2b09
Simplify derivative task link ids.
2022-11-12 11:00:54 -05:00
Paul Weidner
63a63935a3
Consolidate asset and log tab generation to deriver class.
2022-11-12 11:00:54 -05:00
Paul Weidner
7c55dfe8c1
Translate "All" text in default sub-tab.
2022-11-12 11:00:54 -05:00
Paul Weidner
5410d33acd
Add comments to each code block.
2022-11-12 11:00:54 -05:00
Paul Weidner
a9d1ae32a9
Remove unnecessary id from taxonomy term views task links.
2022-11-12 11:00:54 -05:00
Paul Weidner
c2290744a9
Update core map behaviors to properly depend on core/drupalSettings. #578
2022-09-27 14:21:50 -07:00
Michael Stenta
c0cedaf884
Set reduce_duplicates: true in Views exposed filters for multivalue fields #571
2022-09-27 14:49:04 -04:00
Paul Weidner
8c766f3f8e
Add log asset filter to all displays of farm_quantity view #569
2022-09-27 14:45:48 -04:00
Michael Stenta
f1dee545f6
Put owner in the right column of asset/log pages.
2022-09-27 14:15:27 -04:00
Michael Stenta
12c17b5c03
Change Log "Assigned to" field to "Owner" and make other strings/labels consistent.
2022-09-27 14:15:27 -04:00
Jotham Gates
f7b1edfe7f
Copying asset owner changes into clean branch
2022-09-27 14:15:27 -04:00
Michael Stenta
e8250a3987
Issue #3309198 : Allow users to override Gin theme settings
2022-09-17 09:39:56 -04:00
Michael Stenta
f3e9805871
Update farm_asset and farm_group_members Views for Drupal 9.4.
...
This enables lazy-loading of images in the Views.
2022-09-17 09:38:28 -04:00
Michael Stenta
ca1d19d80f
Fix undefined variable $exposed_filters.
2022-09-13 10:23:48 -04:00
Michael Stenta
9e829fc374
Use @phpstan-ignore-next-line on getAggregateQuery() lines to fix "Missing explicit access check on entity query" errors.
...
This is a temporary workaround pending resolution of this upstream issue:
https://github.com/mglaman/phpstan-drupal/issues/474
2022-09-13 10:23:48 -04:00
Michael Stenta
2a9d057f09
Fix "Variable might not be defined" PHPStan errors.
2022-09-13 10:23:48 -04:00
Michael Stenta
ff60b3164d
Fix \Drupal calls should be avoided in classes, use dependency injection instead.
2022-09-13 10:12:45 -04:00
Michael Stenta
d2a7d50029
Fix Interface Drupal\farm_map\LayerStyleLoaderInterface referenced with incorrect case: Drupal\farm_map\layerStyleLoaderInterface.
2022-09-12 19:46:38 -04:00
Michael Stenta
597e984fb4
Fix "always exists and is not falsy" PHPStan errors.
2022-09-12 19:46:27 -04:00
Michael Stenta
a4e8675b22
Fix Farm inventory view does not depend on farm_inventory module #559
2022-08-29 09:43:54 -04:00
Paul Weidner
44087ecd98
Implement uninstall hook to remove collapsible_filter display extender.
2022-08-28 19:10:13 -07:00
Paul Weidner
78c36b4681
Add post_update hook to enable collapsible_filter on existing sites.
2022-08-26 14:35:13 -07:00
Paul Weidner
f8ea3fe30f
Enable collapsible filter on farm views that have many exposed filters.
2022-08-26 14:23:59 -07:00
Paul Weidner
a3e27d34cc
Re-export farm_inventory views config (no functional changes).
2022-08-26 14:22:21 -07:00
Paul Weidner
f9eb9d6505
Enable the collapsible_filter display extender by default.
2022-08-26 14:21:39 -07:00
Paul Weidner
6d03d159ed
Add views display extender to configure collapsible filter.
2022-08-26 14:21:21 -07:00
Paul Weidner
cbd9875d66
Render farm entity views in collapsible details element.
2022-08-26 13:15:30 -07:00
Michael Stenta
29106edda9
Re-export farm_asset and farm_log Views config (no functional changes).
2022-08-26 08:29:06 -04:00
Michael Stenta
a1a015cc58
Remove geofield_widget map type.
2022-06-18 07:52:39 -04:00
Paul Weidner
029853883a
Only show active plans by default #529
2022-05-06 09:21:36 -04:00
Paul Weidner
79822dc7ba
Re-export farm_plan Views config per https://www.drupal.org/node/3230199 (no changes).
2022-05-06 09:20:36 -04:00
Paul Weidner
3bbad9bb36
Remove GinSidebarOpen setting.
2022-05-05 11:31:11 -07:00
Paul Weidner
305e8f76b7
Update toolbar logo spacing for gin beta #527
2022-04-22 14:38:43 -04:00
Symbioquine
a760005c7c
Link from entities to their referenced terms and show entity views on taxonomy terms #458
...
**Why?** Make it possible for novice users to find data and explore connections
between assets/logs without needing to totally grok the farmOS data model first.
i.e.
* Navigate from a plant asset to a list of all the seed/plant assets with the same crop/variety
* Navigate from a plant asset to a list of all the seed/plant assets from the same season
* Navigate from a log in the compost category to a list of all the logs in the compost category
* Navigate from a material asset to a list of all the materials with the same material type
2022-04-13 06:17:56 -07:00
Michael Stenta
94d766604d
Replace deprecated drupal_get_path() with \Drupal::service('extension.list.module')->getPath().
2022-04-07 19:28:26 -04:00
Michael Stenta
af8d34a2fb
Add an update hook to update Gin logo settings.
2022-04-07 18:03:09 -04:00
Paul Weidner
b1a5fc20be
Remove the body top padding in the map popup.
2022-04-07 16:25:04 -04:00
Paul Weidner
5c9858f5b9
Update to new gin logo settings schema.
2022-04-07 16:25:04 -04:00
Paul Weidner
e9307ea3f7
Include list_string, timestamp and boolean bundle fields in views #516
2022-03-23 21:00:48 -04:00
Paul Weidner
8a562d673e
Do not add views handlers for unsupported field types #512
2022-03-21 19:49:21 -04:00
Paul Weidner
6cb3959c9c
Add case for string fields.
2022-03-21 19:48:57 -04:00
Michael Stenta
15c2133a57
Merge farm_flag_allowed_values() into farm_flag_options(). Return an array of flag IDs+labels instead of Flag entities, for consistency with other *_options() functions.
2022-02-28 15:32:32 -05:00
Paul Weidner
0e5ec48662
Use farm_flag_allowed_values in farm_ui_views_form_views_exposed_form_alter.
2022-02-28 14:20:38 -05:00
Michael Stenta
426ef150e8
Revert "Add JS to remove IDs from entity autocomplete form elements." Fixes #502
...
This reverts commit 3365fc5b23
.
2022-02-10 10:53:11 -05:00
Michael Stenta
6cca1b15af
Do not use JS nullish coalescing operators. Fixes #501
2022-02-07 15:06:12 -05:00
Michael Stenta
2e914bb66f
Issue #3262752 : Record type menu items lose translations
2022-02-06 12:55:57 -05:00
Michael Stenta
4cdc881743
Add type-specific fields and filters to quantity CSV export display.
2022-01-26 12:11:57 -05:00
Michael Stenta
7b65b7d8c0
Only show "Export CSV" link on "All" and "By type" quantity displays.
2022-01-26 12:10:06 -05:00
Michael Stenta
c637eae02b
Display all items in farm_quantity View CSV export display.
2022-01-26 12:06:56 -05:00
Michael Stenta
1bc06a0eb2
Re-export farm_quantity View config per https://www.drupal.org/node/3230199 (no changes).
2022-01-26 12:05:40 -05:00