Skip to content

Commit

Permalink
Merge pull request #87 from CuBoulder/issue/tiamat-theme/543
Browse files Browse the repository at this point in the history
People List Filter Labels as a Global Setting
  • Loading branch information
jcsparks authored and web-flow committed Nov 30, 2023
2 parents 8323357 + f36ef03 commit 90e5f70
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 188 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- ### People List Filter Labels as a Global Setting
Changes the People List `Filter 1`, `Filter 2`, and `Filter 3` custom labels to a Global Setting in Site Configuration, rather than being set per-page. These labels will be set under Configuration => Cu Boulder Site Settings => Appearance and Layout.

Resolves [#543 ](https://github.com/CuBoulder/tiamat-theme/issues/543)

Includes:
- `ucb_site_configuarion` => https://github.com/CuBoulder/ucb_site_configuration/pull/35
- `tiamat-theme` => https://github.com/CuBoulder/tiamat-theme/pull/560
- `ucb_custom_entities` => https://github.com/CuBoulder/tiamat-custom-entities/pull/87
---

- ### pathauto updates
Path auto updates so that parent items are listed in the url alias and by extension the breadcrumbs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ dependencies:
- field.field.node.ucb_people_list_page.field_ucb_people_department_s
- field.field.node.ucb_people_list_page.field_ucb_people_display
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_s
- field.field.node.ucb_people_list_page.field_ucb_people_group_by
- field.field.node.ucb_people_list_page.field_ucb_people_job_type
Expand Down Expand Up @@ -112,8 +109,7 @@ third_party_settings:
description: ''
required_fields: false
group_ucb_people_filter_2_uo:
children:
- field_ucb_people_filter_2_label
children: { }
label: 'Visitor filtering options'
region: content
parent_name: group_ucb_people_label_2
Expand All @@ -127,8 +123,7 @@ third_party_settings:
description: ''
required_fields: false
group_ucb_people_filter_3_uo:
children:
- field_ucb_people_filter_3_label
children: { }
label: 'Visitor filtering options'
region: content
parent_name: group_ucb_people_label_3
Expand Down Expand Up @@ -170,8 +165,7 @@ third_party_settings:
description: ''
required_fields: false
group_ucb_people_filter_1_uo:
children:
- field_ucb_people_filter_1_label
children: { }
label: 'Visitor filtering options'
region: content
parent_name: group_ucb_people_label_1
Expand Down Expand Up @@ -281,14 +275,6 @@ content:
region: content
settings: { }
third_party_settings: { }
field_ucb_people_filter_1_label:
type: string_textfield
weight: 19
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_ucb_people_filter_1_s:
type: boolean_checkbox
weight: 24
Expand All @@ -302,14 +288,6 @@ content:
region: content
settings: { }
third_party_settings: { }
field_ucb_people_filter_2_label:
type: string_textfield
weight: 19
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_ucb_people_filter_2_s:
type: boolean_checkbox
weight: 17
Expand All @@ -323,14 +301,6 @@ content:
region: content
settings: { }
third_party_settings: { }
field_ucb_people_filter_3_label:
type: string_textfield
weight: 19
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_ucb_people_filter_3_s:
type: boolean_checkbox
weight: 17
Expand Down Expand Up @@ -413,4 +383,11 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden:
publish_on: true
unpublish_on: true
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ dependencies:
- field.field.node.ucb_people_list_page.field_ucb_people_department_s
- field.field.node.ucb_people_list_page.field_ucb_people_display
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_s
- field.field.node.ucb_people_list_page.field_ucb_people_group_by
- field.field.node.ucb_people_list_page.field_ucb_people_job_type
Expand Down Expand Up @@ -67,14 +64,6 @@ content:
third_party_settings: { }
weight: 107
region: content
field_ucb_people_filter_1_label:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 115
region: content
field_ucb_people_filter_1_s:
type: boolean
label: hidden
Expand All @@ -92,14 +81,6 @@ content:
third_party_settings: { }
weight: 108
region: content
field_ucb_people_filter_2_label:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 116
region: content
field_ucb_people_filter_2_s:
type: boolean
label: hidden
Expand All @@ -117,14 +98,6 @@ content:
third_party_settings: { }
weight: 109
region: content
field_ucb_people_filter_3_label:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 117
region: content
field_ucb_people_filter_3_s:
type: boolean
label: hidden
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ dependencies:
- field.field.node.ucb_people_list_page.field_ucb_people_department_s
- field.field.node.ucb_people_list_page.field_ucb_people_display
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_1_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_2_s
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_label
- field.field.node.ucb_people_list_page.field_ucb_people_filter_3_s
- field.field.node.ucb_people_list_page.field_ucb_people_group_by
- field.field.node.ucb_people_list_page.field_ucb_people_job_type
Expand Down Expand Up @@ -47,13 +44,10 @@ hidden:
field_ucb_people_department_s: true
field_ucb_people_display: true
field_ucb_people_filter_1: true
field_ucb_people_filter_1_label: true
field_ucb_people_filter_1_s: true
field_ucb_people_filter_2: true
field_ucb_people_filter_2_label: true
field_ucb_people_filter_2_s: true
field_ucb_people_filter_3: true
field_ucb_people_filter_3_label: true
field_ucb_people_filter_3_s: true
field_ucb_people_group_by: true
field_ucb_people_job_type: true
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion config/install/node.type.ucb_people_list_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ third_party_settings:
parent: 'main:'
name: 'People List Page'
type: ucb_people_list_page
description: 'The People List Page lists people that you''ve created using the Person content type. Individuals are displayed alphabetically and can be grouped and filtered.'
description: "The People List Page lists people that you've created using the Person content type. Individuals are displayed alphabetically and can be grouped and filtered."
help: ''
new_revision: true
preview_mode: 1
Expand Down

0 comments on commit 90e5f70

Please sign in to comment.