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

CAWURH-163 Manage events view with filters #144

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.stanford_event.body
- field.field.node.stanford_event.caw_event_category
- field.field.node.stanford_event.caw_localist_id
- field.field.node.stanford_event.layout_builder__layout
- field.field.node.stanford_event.stanford_intranet__access
- field.field.node.stanford_event.su_event_alt_loc
Expand Down Expand Up @@ -150,6 +151,60 @@ content:
region: content
settings: { }
third_party_settings: { }
caw_localist_id:
type: readonly_field_widget
weight: 53
region: content
settings:
label: above
formatter_type: string
formatter_settings:
link_ally_class:
class: ''
link_text: ''
screenreader_text: ''
tag: ''
wrapper_class:
class: ''
tag: div
link: false
link_class: ''
summary: false
trim: 200
string_list_class:
class: ''
list_type: ul
smart_trim:
trim_length: 600
trim_type: chars
trim_suffix: ''
wrap_output: false
wrap_class: trimmed
more:
display_link: false
target_blank: false
link_trim_only: false
class: more-link
text: More
aria_label: 'Read more about [node:title]'
token_browser: ''
trim_options:
text: false
trim_zero: false
replace_tokens: false
entity_title_heading:
tag: h2
string:
link_to_entity: false
formatter_third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: ''
show_description: false
third_party_settings:
change_labels:
field_label_overwrite: ''
publish_on:
type: datetime_timestamp_no_default
weight: 52
Expand Down Expand Up @@ -234,7 +289,10 @@ content:
custom
show_extra: false
hide_date: true
separator: to
add_abbreviations: ''
allday: true
remove_seconds: false
third_party_settings: { }
su_event_dek:
type: string_textfield
Expand All @@ -260,6 +318,7 @@ content:
label: above
formatter_type: null
formatter_settings: null
formatter_third_party_settings: { }
show_description: false
third_party_settings: { }
su_event_keywords:
Expand All @@ -270,6 +329,7 @@ content:
label: above
formatter_type: null
formatter_settings: null
formatter_third_party_settings: { }
show_description: false
third_party_settings: { }
su_event_location:
Expand Down Expand Up @@ -333,6 +393,7 @@ content:
label: above
formatter_type: null
formatter_settings: null
formatter_third_party_settings: { }
show_description: false
third_party_settings: { }
su_event_telephone:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ content:
region: content
hidden:
caw_event_category: true
caw_localist_id: true
layout_builder__layout: true
search_api_excerpt: true
stanford_intranet__access: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ content:
region: content
hidden:
caw_event_category: true
caw_localist_id: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ content:
hidden:
body: true
caw_event_category: true
caw_localist_id: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ content:
hidden:
body: true
caw_event_category: true
caw_localist_id: true
layout_builder__layout: true
links: true
search_api_excerpt: true
Expand Down
19 changes: 19 additions & 0 deletions config/sync/field.field.node.stanford_event.caw_localist_id.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 177ff05f-bb24-4fba-ad68-009f3144f3ca
langcode: en
status: true
dependencies:
config:
- field.storage.node.caw_localist_id
- node.type.stanford_event
id: node.stanford_event.caw_localist_id
field_name: caw_localist_id
entity_type: node
bundle: stanford_event
label: 'Localist ID'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
21 changes: 21 additions & 0 deletions config/sync/field.storage.node.caw_localist_id.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: ba30e0b9-82af-40bc-b26a-0859b2bb102e
langcode: en
status: true
dependencies:
module:
- node
id: node.caw_localist_id
field_name: caw_localist_id
entity_type: node
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source:
urls: { }
data_parser_plugin: localist_json
item_selector: events
orphan_action: forget
orphan_action: delete
fields:
-
name: id
Expand Down Expand Up @@ -297,6 +297,7 @@ source:
plus: +
timezone: America/Los_Angeles
process:
caw_localist_id: id
status: constants/one
type: constants/type
canceled:
Expand Down Expand Up @@ -502,6 +503,7 @@ destination:
- title
- body/value
- body/format
- caw_localist_id
- su_event_alt_loc
- su_event_map_link/uri
- su_event_map_link/title
Expand Down
Loading
Loading