Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGOV-624 Service types (action) refactoring to use cards. #2336

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
11bcea5
PGOV-624 add permissions to service type and paragraph fields to prev…
joshuami Aug 16, 2022
4aba1a0
PGOV-624: Featured card styles for action term pages; homepage card u…
joshuami Aug 18, 2022
6db1971
PGOV-624 Revert homepage actions to grey background.
joshuami Aug 24, 2022
b29df56
PGOV-624 add service directory title field and logic.
joshuami Aug 25, 2022
ab3f58a
PGOV-624 homepage changes to show all content
joshuami Sep 2, 2022
9f76f61
PGOV-624 add featured images to service cards on action pages.
joshuami Sep 21, 2022
5608727
PGOV-624 reorder the services in front of child terms
joshuami Sep 21, 2022
4a99439
PGOV-624 remove featured image and update popular badge color.
joshuami Sep 22, 2022
9e08aa3
PGOV-624 add service image, description fields; fix permissions.
joshuami Oct 4, 2022
f2416a7
PGOV-624 add service directory fields to resources.
joshuami Oct 4, 2022
b33d7b1
PGOV-624 resolve config conflict
joshuami Dec 9, 2022
4476b11
PGOV-624 temporarily add back draggableviews.
joshuami Dec 9, 2022
7c65a0c
PGOV-624 temporarily reenable ds
joshuami Dec 9, 2022
d1584a0
PGOV-624 remove ds and draggableviews (again)
joshuami Dec 9, 2022
621e97f
PGOV-624 clean ups to displays and permissions.
joshuami Dec 9, 2022
2c52c8a
PGOV-624 resolve config conflicts after merge.
joshuami May 2, 2023
3bcbcbd
PGOV-624 Restore permission for editors to edit action against better…
joshuami May 2, 2023
da8b201
PGOV-624 update the admin view to make managing service directory eas…
joshuami May 3, 2023
321ce7e
PGOV-624 Order child terms by weight rather than title.
joshuami May 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ id: node.city_service.title
field_name: title
entity_type: node
bundle: city_service
label: Title
label: 'Full title'
description: ''
required: true
translatable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ dependencies:
- field.field.node.city_service.field_related_content
- field.field.node.city_service.field_reviewer
- field.field.node.city_service.field_search_keywords
- field.field.node.city_service.field_service_description
- field.field.node.city_service.field_service_image
- field.field.node.city_service.field_service_title
- field.field.node.city_service.field_sort_weight
- field.field.node.city_service.field_summary
- field.field.node.city_service.field_time_to_complete
Expand All @@ -39,6 +42,7 @@ dependencies:
- field_group
- link
- maxlength
- media_library
- path
- select2
- text
Expand All @@ -47,47 +51,46 @@ third_party_settings:
field_group:
group_administrative_fields:
children:
- field_service_title
- field_service_description
- field_service_image
- field_has_payment_gateway
- field_popular
- uid
- created
- path
- url_redirects
- field_search_keywords
label: 'Administrative Fields (Site Admins Only)'
region: content
parent_name: ''
weight: 25
format_type: details_sidebar
weight: 4
format_type: details
format_settings:
classes: 'border border-danger'
classes: ''
show_empty_fields: false
id: ''
open: false
open: true
description: ''
required_fields: false
weight: 0
group_paths_and_redirects:
children:
- field_redirects
label: 'Paths and Redirects'
label: 'Paths and redirects'
region: content
parent_name: ''
weight: 21
weight: 20
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: false
weight: 0
group_contacts:
children:
- field_contact
label: Contacts
region: content
parent_name: ''
weight: 17
weight: 16
format_type: details
format_settings:
classes: ''
Expand All @@ -99,40 +102,40 @@ third_party_settings:
group_mailing_address:
children:
- field_address
label: 'Mailing Address'
label: 'Mailing address'
region: content
parent_name: ''
weight: 18
weight: 17
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: false
weight: 0
group_online_application:
children:
- field_online_application
label: 'Online Application'
label: 'Online application'
region: content
parent_name: ''
weight: 15
weight: 14
format_type: details
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: false
weight: 0
group_topics:
children:
- field_topics
label: Topics
region: content
parent_name: ''
weight: 16
weight: 15
format_type: details
format_settings:
classes: ''
Expand All @@ -147,7 +150,7 @@ third_party_settings:
label: Related
region: content
parent_name: ''
weight: 20
weight: 19
format_type: details
format_settings:
classes: ''
Expand All @@ -163,7 +166,7 @@ mode: default
content:
created:
type: datetime_timestamp
weight: 13
weight: 25
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -204,7 +207,7 @@ content:
third_party_settings: { }
field_display_groups:
type: entity_reference_autocomplete
weight: 22
weight: 21
region: content
settings:
match_operator: CONTAINS
Expand All @@ -221,7 +224,7 @@ content:
third_party_settings: { }
field_featured_media:
type: entity_browser_entity_reference
weight: 14
weight: 13
region: content
settings:
entity_browser: featured_image
Expand All @@ -236,7 +239,7 @@ content:
third_party_settings: { }
field_has_parent:
type: boolean_checkbox
weight: 6
weight: 7
region: content
settings:
display_label: true
Expand All @@ -261,21 +264,21 @@ content:
form_mode: default
field_has_payment_gateway:
type: boolean_checkbox
weight: 10
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
field_include_in_menu:
type: boolean_checkbox
weight: 4
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
field_location:
type: entity_reference_browser_table_widget
weight: 19
weight: 18
region: content
settings:
entity_browser: service_locations
Expand All @@ -287,6 +290,8 @@ content:
field_widget_edit: 0
field_widget_replace: 0
open: 0
additional_fields:
options: null
third_party_settings: { }
field_menu_link_text:
type: string_textfield
Expand All @@ -298,10 +303,10 @@ content:
third_party_settings:
maxlength:
maxlength_js: 78
maxlength_js_label: 'Add a <strong>short title</strong> is used to create the path (a.k.a. URL, link, web address) and menu links. Use title case. @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_label: 'The <strong>menu and link title</strong> is used to create menu links the path (a.k.a. URL, link, web address). <em>Use title case</em>. Limited to @limit characters, remaining: <strong>@remaining</strong>'
field_menu_parent:
type: entity_reference_autocomplete
weight: 7
weight: 8
region: content
settings:
match_operator: CONTAINS
Expand Down Expand Up @@ -337,7 +342,7 @@ content:
third_party_settings: { }
field_popular:
type: boolean_checkbox
weight: 11
weight: 8
region: content
settings:
display_label: true
Expand All @@ -362,7 +367,7 @@ content:
third_party_settings: { }
field_reviewer:
type: entity_reference_autocomplete
weight: 23
weight: 22
region: content
settings:
match_operator: CONTAINS
Expand All @@ -372,7 +377,7 @@ content:
third_party_settings: { }
field_search_keywords:
type: string_textfield
weight: 16
weight: 9
region: content
settings:
size: 60
Expand All @@ -381,16 +386,42 @@ content:
maxlength:
maxlength_js: 255
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
field_service_description:
type: string_textarea
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_service_image:
type: media_library_widget
weight: 6
region: content
settings:
media_types: { }
third_party_settings: { }
field_service_title:
type: string_textfield
weight: 4
region: content
settings:
size: 30
placeholder: ''
third_party_settings:
maxlength:
maxlength_js: 78
maxlength_js_label: 'The <strong>service directory title</strong> is the text used on service type term pages (actions listed on the homepage like pay or report). The service directory title should not include action verbs that may be appropriate in the full title. If not defined, the full title will be used in its place. Use title case. Limited to @limit characters, remaining: <strong>@remaining</strong>'
field_sort_weight:
type: number
weight: 5
weight: 6
region: content
settings:
placeholder: ''
third_party_settings: { }
field_summary:
type: string_textarea
weight: 8
weight: 9
region: content
settings:
rows: 2
Expand All @@ -403,7 +434,7 @@ content:
maxlength_js_truncate_html: true
field_time_to_complete:
type: string_textfield
weight: 9
weight: 10
region: content
settings:
size: 60
Expand All @@ -417,21 +448,21 @@ content:
third_party_settings: { }
field_webform:
type: webform_entity_reference_select
weight: 13
weight: 12
region: content
settings:
default_data: true
webforms: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 24
weight: 23
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 14
weight: 26
region: content
settings: { }
third_party_settings: { }
Expand All @@ -451,10 +482,10 @@ content:
third_party_settings:
maxlength:
maxlength_js: 150
maxlength_js_label: '<strong>Full title</strong> for search. Use title case. Google displays ~78 characters for titles. Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_label: '<strong>Full title</strong> is used for search and display on the default page view for this service. Use action verbs (apply, report, pay, etc.) when appropriate for showing those verbs as part of the search result for this service. Use title case. Google displays ~78 characters for titles. Limited to @limit characters, remaining: <strong>@remaining</strong>'
uid:
type: entity_reference_autocomplete
weight: 12
weight: 24
region: content
settings:
match_operator: CONTAINS
Expand All @@ -463,7 +494,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 15
weight: 27
region: content
settings: { }
third_party_settings: { }
Expand Down
Loading