Skip to content

Commit

Permalink
Spotlight/magazine integration (#112)
Browse files Browse the repository at this point in the history
* SOEOPSFY24-61: added spotlights to magazine page

* initial styling

* wip

* wip

* wip

* tweaked design around breakpoints

* tweaked responsive design

* tweaks

* font size tweaks

* tweaking fonts some more

* updated accent color for WCGA contrast

* tweaks after feedback

* final corrections

* SOEOPSFY24-61: adjusted hover state for taxonomy terms on Magazine page

* updated github actions

* updated paragraphs_edit version

* updated stanford_media version

* updated drupal/address to 2.0

* Spotlight magazine d10.2 (#113)

* updated to drupal 10.2, updated stanford_media

* patch versions

* revert composer change

* updated admin theme to new name

* fixup

* update to 10.2

* enable renamed theme

* added graphql module

* updated stanford_profile_helper

* updated extensions and removed obsolete view

* fixup

* added back views data export

* added update hook for renaming theme
  • Loading branch information
imonroe authored Jan 11, 2024
1 parent 53c774a commit 58c7cac
Show file tree
Hide file tree
Showing 104 changed files with 3,459 additions and 3,162 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: |
composer global require su-sws/stanford-caravan:10.x-dev
~/.composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project
~/.config/composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project
- name: Save Test Results
uses: actions/upload-artifact@v3
if: failure()
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
STANFORD_ENCRYPT: ${{ secrets.STANFORD_ENCRYPT }}
run: |
composer global require su-sws/stanford-caravan:10.x-dev
~/.composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=acceptance
~/.config/composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=acceptance
- name: Save Test Results
uses: actions/upload-artifact@v3
if: always()
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
STANFORD_ENCRYPT: ${{ secrets.STANFORD_ENCRYPT }}=
run: |
composer global require su-sws/stanford-caravan:10.x-dev
~/.composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=functional
~/.config/composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=functional
- name: Save Test Results
uses: actions/upload-artifact@v3
if: always()
Expand Down
19 changes: 10 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"citation-style-language/locales": "1.0.0",
"citation-style-language/styles-distribution": "1.0.0",
"composer/installers": ">=1.2",
"drupal/address": "^1.2",
"drupal/address": "^2.0",
"drupal/admin_toolbar": "^3.1",
"drupal/allowed_formats": "^3.0",
"drupal/auto_entitylabel": "^3.0@beta",
Expand All @@ -53,14 +53,14 @@
"drupal/components": "^3.0",
"drupal/conditional_fields": "^4.0",
"drupal/config_filter": "^2.0",
"drupal/config_ignore": "^3.0.0@beta",
"drupal/config_ignore": "^3.0",
"drupal/config_pages": "^2.6",
"drupal/config_pages_overrides": "^2.0",
"drupal/config_readonly": "^1.0@beta",
"drupal/config_split": "^2.0",
"drupal/confirm_leave": "^1.0@beta",
"drupal/content_lock": "^2.2",
"drupal/core": "^10.1.0",
"drupal/core": "~10.2.0",
"drupal/cshs": "^4.0",
"drupal/csv_serialization": "^2.1 || ^3.0",
"drupal/default_content": "^2.0@alpha",
Expand All @@ -79,12 +79,12 @@
"drupal/field_group": "^3.0@rc",
"drupal/field_permissions": "^1.0@RC",
"drupal/field_validation": "^1.0-alpha",
"drupal/file_mdm_exif": "^2.4",
"drupal/file_mdm_font": "^2.4",
"drupal/file_mdm": "^2.4 || ^3.0",
"drupal/flat_taxonomy": "^2.0",
"drupal/fontawesome": "^2.19",
"drupal/google_analytics": "^4.0",
"drupal/google_tag": "^2.0",
"drupal/graphql_compose": "^2.0",
"drupal/hook_event_dispatcher": "^4.0@beta",
"drupal/image_effects": "^3.2",
"drupal/imagemagick": "^3.1",
Expand Down Expand Up @@ -118,7 +118,7 @@
"drupal/page_cache_query_ignore": "^2.2",
"drupal/page_manager": "^4.0@beta",
"drupal/paragraphs": "^1.11",
"drupal/paragraphs_edit": "^2.0@alpha",
"drupal/paragraphs_edit": "^3.0",
"drupal/paranoia": "^1.0@alpha",
"drupal/path_redirect_import": "^2.0",
"drupal/pathauto": "^1.6",
Expand All @@ -131,6 +131,7 @@
"drupal/role_delegation": "^1.0@beta",
"drupal/scheduler": "^2.0",
"drupal/search_api": "^1.19",
"drupal/search_api_algolia": "^3.0@beta",
"drupal/seckit": "^2.0",
"drupal/shs": "^2.0@RC",
"drupal/smart_date": "^4.0",
Expand Down Expand Up @@ -158,13 +159,13 @@
"sainsburys/guzzle-oauth2-plugin": "^3.0",
"seboettg/citeproc-php": "2.4.1",
"su-sws/ckeditor5_plugins": "^1.0",
"su-sws/drupal-patches": "^10.1",
"su-sws/drupal-patches": "^10.0",
"su-sws/react_paragraphs": "^8.2",
"su-sws/stanford_actions": "^8.2",
"su-sws/stanford_fields": "^8.2",
"su-sws/stanford_media": "^10.0",
"su-sws/stanford_media": "^11.0",
"su-sws/stanford_migrate": "^8.3",
"su-sws/stanford_profile_helper": "^9.3",
"su-sws/stanford_profile_helper": "9.x-dev",
"su-sws/stanford_samlauth": "^1.0"
},
"config": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
uuid: 3159d3b5-295e-404d-92b8-7ab35fcd5d88
uuid: 04c6c9d6-5b88-4592-b0a7-ca9caaa405a8
langcode: en
status: true
dependencies:
module:
- system
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: SwnldptIou9q4oHNPhlB3l98-TLpVWf_Luj2xPy5sbc
id: stanford_profile_admin_breadcrumbs
theme: stanford_profile_admin
default_config_hash: x0rE4rZDokllqzc6YShXPZ0iQM1w29d14MtLnkPCZ1o
id: stanford_profile_admin_theme_breadcrumbs
theme: stanford_profile_admin_theme
region: breadcrumb
weight: 0
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
uuid: d2b3e7e0-1428-42a3-a166-01b05d421323
uuid: 58fedfe6-7996-4263-9172-5671dbb78002
langcode: en
status: true
dependencies:
module:
- system
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: jgggdNqu50_Ny2fZl8mszrzRpX2lo74UXhfThCBVr3A
id: stanford_profile_admin_content
theme: stanford_profile_admin
default_config_hash: BR0MC3zJgocXXtsuaNUuR4wqMQyFED2ea-Byk_XpTwY
id: stanford_profile_admin_theme_content
theme: stanford_profile_admin_theme
region: content
weight: 0
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
uuid: f47eb930-9278-48a7-9281-526881933312
uuid: fc161856-2f89-48df-9a41-45dd069327fa
langcode: en
status: true
dependencies:
module:
- help
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: dG9OciTVvWopPKuUXP5eMez2i2tr7byANDwzSzokkF4
id: stanford_profile_admin_help
theme: stanford_profile_admin
default_config_hash: BCXUdXEBGKejTQMlsiSJNsZCT7gJxBhivHOK_fAJAig
id: stanford_profile_admin_theme_help
theme: stanford_profile_admin_theme
region: help
weight: 0
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
uuid: b28a5c54-ccb6-4a63-8b0f-44ba8f6ed818
uuid: 67d564a4-41b4-4eaf-aaba-a5e5e2727845
langcode: en
status: true
dependencies:
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: AgaHIDwEqPOCLqv98q-DvW9qGg9BZkYrxND6dMDMdkE
id: stanford_profile_admin_local_actions
theme: stanford_profile_admin
default_config_hash: uqDlFLelenojOaBwTjx5PYrDdoCSySzQuxl33g-TU34
id: stanford_profile_admin_theme_local_actions
theme: stanford_profile_admin_theme
region: content
weight: -10
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
uuid: f55c6938-f50e-4639-bc56-83af045c7468
uuid: 413384c8-a33f-4a5a-b69b-e1bea9c2941d
langcode: en
status: true
dependencies:
module:
- system
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: DvkoOGCIrHsmERvowtdTqizSlKf7oMBY3L_6QYSwGWY
id: stanford_profile_admin_messages
theme: stanford_profile_admin
default_config_hash: KoHm-4XurhonlmFDMElkujupXrO_QGLYKumHE1F6WG0
id: stanford_profile_admin_theme_messages
theme: stanford_profile_admin_theme
region: highlighted
weight: 0
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
uuid: bcb0e656-856b-452d-9fb0-bf54090db73c
uuid: c67faba5-06c3-4276-ad97-d452eb5cb58d
langcode: en
status: true
dependencies:
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: lhnflyBXTmG9VVPt76oQekDcheUOpXLsTLbqDM2Pu8c
id: stanford_profile_admin_page_title
theme: stanford_profile_admin
default_config_hash: xBKaUbnpqEWngIpbY4vXj2bi_de2EnrGK-X76Kb1A-E
id: stanford_profile_admin_theme_page_title
theme: stanford_profile_admin_theme
region: header
weight: -30
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
uuid: aa65c526-7ab7-4aec-82d3-89d34318e5b6
uuid: b212b7d4-fcde-469d-8c55-a3331f382b9a
langcode: en
status: true
dependencies:
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: pX1oRCtS3INT9-ula1W3x4JskdD7sJnVkqKcK503bSk
id: stanford_profile_admin_primary_local_tasks
theme: stanford_profile_admin
default_config_hash: NGxNkmRsdRWRFk2htXi9wunexEzBmyxx8mP6Cn6XlG4
id: stanford_profile_admin_theme_primary_local_tasks
theme: stanford_profile_admin_theme
region: header
weight: 0
provider: null
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
uuid: d19c638e-eb07-4ef3-b739-f5cedd448076
uuid: 5d7b851a-00c9-461c-b2f6-d26169de9b0c
langcode: en
status: true
dependencies:
theme:
- stanford_profile_admin
- stanford_profile_admin_theme
_core:
default_config_hash: MhIh9_GCAHvUrlRADpeNHS8gDK2DQGFbuAWmw_xUfrY
id: stanford_profile_admin_secondary_local_tasks
theme: stanford_profile_admin
default_config_hash: 1gpfvD_mk2h11QZ-lr95waAR-2ON3AsVb8vXLc7GP2s
id: stanford_profile_admin_theme_secondary_local_tasks
theme: stanford_profile_admin_theme
region: pre_content
weight: 0
provider: null
Expand Down
14 changes: 7 additions & 7 deletions config/sync/config_ignore.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ _core:
default_config_hash: v7E8C8wJWeAW2BGohMNY1tZSBc4bexM6O62tGxecTfE
mode: simple
ignored_config_entities:
- 'core.extension:theme'
- 'system.theme:default'
- '~block.block.claro_*'
- '~block.block.stanford_profile_admin_*'
- '~block.block.stanford_basic_*'
- '~block.block.soe_basic_*'
- '~block.block.minimally_branded_subtheme_*'
- 'block.block.*'
- 'core.extension:theme'
- 'core.extension:theme'
- 'google_tag.container.*'
- 'next.next_entity_type_config.*'
- 'next.next_site.*'
- 'samlauth.authentication:map_users_roles'
- 'system.action.user_add_role_action.custm_*'
- 'system.action.user_remove_role_action.custm_*'
- 'system.theme:default'
- 'system.theme:default'
- 'user.role.custm_*'
- '~block.block.claro_*'
- '~block.block.claro_*'
- '~block.block.minimally_branded_subtheme_*'
- '~block.block.minimally_branded_subtheme_*'
- '~block.block.soe_basic_*'
- '~block.block.stanford_basic_*'
- '~block.block.stanford_basic_*'
- '~block.block.stanford_profile_admin_*'
- '~block.block.stanford_profile_admin_*'
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@ content:
type: address_default
weight: 1
region: content
settings: { }
settings:
wrapper_type: details
third_party_settings: { }
su_local_foot_f_button:
type: string_textfield
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ content:
type: address_default
weight: 23
region: content
settings: { }
settings:
wrapper_type: details
third_party_settings: { }
su_event_map_link:
type: link_default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ content:
type: address_default
weight: 3
region: content
settings: { }
settings:
wrapper_type: details
third_party_settings: { }
su_schedule_speaker:
type: paragraphs
Expand Down
1 change: 1 addition & 0 deletions config/sync/core.entity_form_mode.media.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ _core:
default_config_hash: pkq0uj-IoqEQRBOP_ddUDV0ZJ-dKQ_fLcppsEDF2UO8
id: media.media_library
label: 'Media library'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_form_mode.user.register.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: flXhTcp55yLcyy7ZLOhPGKGZobZQJdkAFVWV3LseiuI
id: user.register
label: Register
description: ''
targetEntityType: user
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.block_content.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 4tedlMuvQjDOdvHdw86_e-2Rt78aR7TGFMfOK8Ejppg
id: block_content.full
label: Full
description: ''
targetEntityType: block_content
cache: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- block_content
id: block_content.spotlight_hero
label: 'Spotlight Hero'
description: ''
targetEntityType: block_content
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.citation.apa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- stanford_publication
id: citation.apa
label: APA
description: ''
targetEntityType: citation
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.citation.chicago.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- stanford_publication
id: citation.chicago
label: Chicago
description: ''
targetEntityType: citation
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.config_pages.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: VYERDzPNi1-oUm7KMLjol4oLcjbHr-onKbitt4dZuN0
id: config_pages.full
label: Full
description: ''
targetEntityType: config_pages
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.media.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ _core:
default_config_hash: 6NBUEuGmlkClK8Fb76tSMMpO2eZ4LWCBdbUk4z7CuP0
id: media.full
label: 'Full content'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions config/sync/core.entity_view_mode.media.media_library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ _core:
default_config_hash: pkq0uj-IoqEQRBOP_ddUDV0ZJ-dKQ_fLcppsEDF2UO8
id: media.media_library
label: 'Media library'
description: ''
targetEntityType: media
cache: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ dependencies:
- media
id: media.person_spotlight_circle
label: 'Person Spotlight Circle Headshot (302 x 302)'
description: ''
targetEntityType: media
cache: true
Loading

0 comments on commit 58c7cac

Please sign in to comment.