Skip to content

Commit

Permalink
Merge branch '11.x' of https://github.com/SU-SWS/stanford_profile int…
Browse files Browse the repository at this point in the history
…o 11.x
  • Loading branch information
mdyoung3 committed Oct 23, 2024
2 parents 7c663e2 + af190d0 commit 01a33e7
Show file tree
Hide file tree
Showing 24 changed files with 247 additions and 708 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_key
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_search
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_ui
- field.field.config_pages.stanford_basic_site_settings.su_site_created
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
- field.field.config_pages.stanford_basic_site_settings.su_site_home
Expand All @@ -35,9 +36,11 @@ dependencies:
- change_labels
- conditional_fields
- cshs
- field_formatter_class
- field_group
- file
- link
- readonly_field_widget
- text
third_party_settings:
field_group:
Expand Down Expand Up @@ -248,6 +251,42 @@ content:
settings:
display_label: true
third_party_settings: { }
su_site_created:
type: readonly_field_widget
weight: 1
region: content
settings:
label: above
formatter_type: timestamp
formatter_settings:
timestamp:
date_format: html_date
custom_date_format: ''
timezone: ''
tooltip:
date_format: long
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
description: ''
formatter_third_party_settings:
empty_fields:
handler: ''
field_formatter_class:
class: ''
field_label:
label_value: ''
label_tag: ''
show_description: false
third_party_settings:
field_formatter_class:
class: ''
change_labels:
field_label_overwrite: ''
su_site_dropdowns:
type: boolean_checkbox
weight: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_key
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_search
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_ui
- field.field.config_pages.stanford_basic_site_settings.su_site_created
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
- field.field.config_pages.stanford_basic_site_settings.su_site_home
Expand Down Expand Up @@ -150,6 +151,25 @@ content:
third_party_settings: { }
weight: 23
region: content
su_site_created:
type: timestamp
label: above
settings:
date_format: medium
custom_date_format: ''
timezone: ''
tooltip:
date_format: long
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
third_party_settings: { }
weight: 26
region: content
su_site_dropdowns:
type: boolean
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ default_value:
default_value_callback: ''
settings:
markup:
value: "<div><p><img alt=\"\" src=\"https://su-sws.github.io/stanford_basic/src/assets/img/lockup-example.png\" /></p>\r\n\r\n<p><a href=\"https://decanter.stanford.edu/component/identity-lockup/\">Decanter Lockup Component</a></p>\r\n\r\n<p>This lockup will appear in the top left corner of the website's main header.</p>\r\n</div>"
value: "<div><p><img alt=\"\" src=\"https://su-sws.github.io/stanford_basic/src/assets/img/lockup-example.png\" /></p>\r\n\r\n<p>These lockup options are only available on Stanford Basic. Users of the Minimally Branded or Faculty themes should use the default lockup. To determine which lockup is right for your official unity, consult the <a href=\"https://identity.stanford.edu/component/identity-lockup/\">Stanford Identity Guide.</a></p>\r\n\r\n<p>This lockup will appear in the top left corner of the website's main header. Separate settings for the lockup at the bottom of your site can be found in the <a href=\"/admin/config/system/local-footer\">Local Footer settings</a> and will not be affected by changes you make here.</p>\r\n</div>"
format: stanford_html
field_type: markup
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: 1e49df54-32d6-4f5b-a5ec-e16691ef2bd4
langcode: en
status: true
dependencies:
config:
- config_pages.type.stanford_basic_site_settings
- field.storage.config_pages.su_site_created
id: config_pages.stanford_basic_site_settings.su_site_created
field_name: su_site_created
entity_type: config_pages
bundle: stanford_basic_site_settings
label: 'Site Created'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: timestamp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ label: 'Site Type'
description: "What kind of site is this?\r\n"
required: false
translatable: false
default_value: { }
default_value:
-
value: pre_production
default_value_callback: ''
settings: { }
field_type: list_string
18 changes: 18 additions & 0 deletions config/sync/field.storage.config_pages.su_site_created.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
uuid: fe6fd938-d6ff-4a78-afc2-07bb6d493e5b
langcode: en
status: true
dependencies:
module:
- config_pages
id: config_pages.su_site_created
field_name: su_site_created
entity_type: config_pages
type: timestamp
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
9 changes: 9 additions & 0 deletions config/sync/field.storage.config_pages.su_site_type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ settings:
-
value: service_facility
label: Service/Facility
-
value: internal
label: Internal
-
value: pre_production
label: Pre-Production
-
value: intranet
label: Intranet
-
value: other
label: Other
Expand Down
46 changes: 46 additions & 0 deletions config/sync/graphql_compose.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ entity_config:
enabled: true
query_load_enabled: true
edges_enabled: true
policy_settings:
enabled: false
stanford_basic_site_settings:
enabled: true
query_load_enabled: true
edges_enabled: true
stanford_courses_importer:
enabled: false
stanford_events_importer:
enabled: false
stanford_global_message:
enabled: true
query_load_enabled: true
Expand All @@ -33,6 +39,10 @@ entity_config:
enabled: true
query_load_enabled: true
edges_enabled: true
stanford_person_importer:
enabled: false
stanford_saml:
enabled: false
stanford_super_footer:
enabled: true
query_load_enabled: true
Expand Down Expand Up @@ -139,8 +149,28 @@ entity_config:
enabled: true
query_load_enabled: true
menu:
account:
enabled: false
admin:
enabled: false
courses-menu:
enabled: false
devel:
enabled: false
footer:
enabled: false
main:
enabled: true
news-topics:
enabled: false
stanford-event-types:
enabled: false
stanford-person-type:
enabled: false
stanford-publication-topics:
enabled: false
tools:
enabled: false
node:
stanford_course:
enabled: true
Expand All @@ -162,6 +192,8 @@ entity_config:
query_load_enabled: true
edges_enabled: true
routes_enabled: true
stanford_opportunity:
enabled: false
stanford_page:
enabled: true
query_load_enabled: true
Expand Down Expand Up @@ -234,9 +266,21 @@ entity_config:
enabled: true
query_load_enabled: true
routes_enabled: true
cap_org_codes:
enabled: false
event_audience:
enabled: true
query_load_enabled: true
media_tags:
enabled: false
opportunity_sponsor:
enabled: false
opportunity_tag_filters:
enabled: false
opportunity_type:
enabled: false
site_owner_orgs:
enabled: false
stanford_event_groups:
enabled: true
query_load_enabled: true
Expand Down Expand Up @@ -400,6 +444,8 @@ field_config:
enabled: true
su_site_algolia_search:
enabled: true
su_site_algolia_ui:
enabled: true
su_site_dropdowns:
enabled: true
su_site_menu_levels:
Expand Down
19 changes: 11 additions & 8 deletions config/sync/views.view.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,16 @@ display:
clear_on_exposed: true
force_selection_info: false
selected_actions:
5:
action_id: node_assign_owner_action
preconfiguration:
add_confirmation: false
7:
-
action_id: node_clone_action
preconfiguration:
add_confirmation: false
8:
message_override: ''
-
action_id: views_bulk_edit
preconfiguration:
add_confirmation: false
message_override: ''
get_bundles_from_results: true
9:
action_id: views_bulk_edit
Expand All @@ -100,16 +98,21 @@ display:
get_bundles_from_results: true
10:
action_id: views_bulk_operations_delete_entity
11:
preconfiguration:
add_confirmation: true
message_override: ''
-
action_id: 'entity:unpublish_action:node'
preconfiguration:
add_confirmation: false
label_override: Unpublish
12:
message_override: ''
-
action_id: 'entity:publish_action:node'
preconfiguration:
add_confirmation: false
label_override: Publish
message_override: ''
title:
id: title
table: node_field_data
Expand Down
4 changes: 3 additions & 1 deletion config/sync/views.view.files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,12 @@ display:
clear_on_exposed: true
force_selection_info: false
selected_actions:
2:
-
action_id: views_bulk_operations_delete_entity
preconfiguration:
add_confirmation: true
label_override: 'Delete File'
message_override: ''
fid:
id: fid
table: file_managed
Expand Down
42 changes: 42 additions & 0 deletions config/sync/views.view.search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- search_api.index.full_site_content
module:
- graphql_compose_views
- search_api
id: search
label: Search
Expand Down Expand Up @@ -404,6 +405,47 @@ display:
tags:
- 'config:search_api.index.full_site_content'
- 'search_api_list:full_site_content'
graphql_search:
id: graphql_search
display_title: GraphQL
display_plugin: graphql
position: 2
display_options:
pager:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 15
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
expose:
items_per_page: true
items_per_page_label: 'Items per page'
items_per_page_options: '3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99'
items_per_page_options_all: true
items_per_page_options_all_label: '- All -'
offset: true
offset_label: Offset
quantity: 9
display_extenders: { }
graphql_query_name: search
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
tags:
- 'config:search_api.index.full_site_content'
- 'search_api_list:full_site_content'
results:
id: results
display_title: Page
Expand Down
Loading

0 comments on commit 01a33e7

Please sign in to comment.