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

Four Kitchens Release - Sprint 53 #1563

Merged
merged 10 commits into from
Jul 1, 2024
Merged

Four Kitchens Release - Sprint 53 #1563

merged 10 commits into from
Jul 1, 2024

Conversation

cienvaras
Copy link
Collaborator

@cienvaras cienvaras commented Jun 25, 2024

READY FOR REVIEW

Summary

  • SHS-5664 - Back to top goes all the way
  • SHS-5620 - CSS Code Cleanup: Hero mixins cleanup and improvements
  • SHS-5631 - Retire legacy codebase
  • SHS-5656 - Upgrade decanter to current version
  • SHS-5643 - Rethink the purpose of "Alt text" listing
  • SHS-5513 - Colorband link text character limit

Need Review By (Date)

07/03

Urgency

medium

Steps to Test

SHS-5664

  1. On Colorful and Traditional:
    a. Scroll down and click the Back to top button
    b. Confirm the page is scroll all the way to the top

SHS-5620

  1. On Colorful and Traditional:
    a. Confirm heros, banners, spotlights still look the same

SHS-5631

  1. Setup hs_traditional and hs_colorful sites locally
  2. Confirm that the installation process is successful
  3. In both sites, login and visit the "Appereance" admin page
  4. Confirm that none of the following themes is installed:
    • Archaeology 8.x (archaeology)
    • France-Stanford 8.x (francestanford)
    • Mathematics 8.x (mathematics)
    • Stanford HumSci Theme 8.x (su_humsci_theme)
    • Stanford HumSci SubTheme 8.x (su_humsci_subtheme)
  5. Confirm that both sites work as expected

SHS-5656

  1. This can be tested manually by going to pages with Quotes (in wysiwyg), Testimonials and Footer components on Colorful and Traditional
  2. Compare those pages with the ones in stage or dev and check the components looks the same
  3. Also go to Percy and confirm there aren't changes in any component

SHS-5643

Visit /admin/content/alt

  1. are the exposed filters clear?
  2. Does click-sorting work on all columns (note that some fields might have a leading tab that could confuse you)?
  3. Try to visit the page while logged out, do you get a 403?

SHS-5513

  1. On Colorful and Traditional, import configuration
  2. Add a Colorband component
  3. Confirm the help text for the Link field is Both URL and Link text are required when adding a link. When displayed, the Link text is trimmed to 80 characters. and that as you're typing, you can see indication of how many characters you can use

PR Checklist

Co-authored-by: Mari Nez <mariannuar@gmail.com>
@cienvaras cienvaras self-assigned this Jun 25, 2024
Base automatically changed from 11.0.1-release to develop June 26, 2024 17:27
cienvaras and others added 8 commits June 26, 2024 14:13
* fix(SHS-5648): spotlight link to /media/<id> rendered as wrong URL (#1546)

* fix(shs-5653): add missing vertical spacing in mobile grid (#1549)

* feat(shs-5645): update multi-select box default text (#1547)

Co-authored-by: Mari Nez <mariannuar@gmail.com>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>

* feat(shs-5646): make the multi-select box and single select box have square edges in Traditional (#1548)

Co-authored-by: Mari Nez <mariannuar@gmail.com>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>

* SHS-5639 issues with toolbar not behaving correctly after logging out then logging back in (#1554)

* fix(SHS-5639): fatal JS errors both when logged out/in.

* fix(SHS-5639): toolbar does not behave correctly when logging out and then back in

Remove all toolbar local/session storage data on logout to eliminate conflicting values.

---------

Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>

* feat(shs-5620): fix minor issues detected on hero mixins

* feat(shs-5620): fix minor issues detected in hb-hero-full-width mixin

* feat(shs-5620): fix more minor issues detected in hb-hero-link-field and hb-hero-button mixins

* fix(shs-5620): fix margin top in hb-gradient-hero

* fix(shs-5620): linter errors

---------

Co-authored-by: Dave Hansen-Lange <1127349+dalin-@users.noreply.github.com>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>
Co-authored-by: Mari Nez <mariannuar@gmail.com>
* feat(shs-5631): uninstall legacy themes and remove related configuration

* fix(shs-5631): remove references to su_humsci_theme in hs_layouts module

* chore(shs-5631): update documentation to remove references to legacy themes

* fix(shs-5631): refactor legacy themes uninstall code
Co-authored-by: Mari Nez <mariannuar@gmail.com>
* chore(SHS-5643): enable Views options so that we can see (and debug) its queries

* fix(SHS-5643): misc bugs with alt text listing

* fix(SHS-5643): fixed fatal PHP errors when looking at the default view display

* fix(shsh-5643): update image alt text view filter labels

---------

Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>
Co-authored-by: Mari Nez <mariannuar@gmail.com>
Co-authored-by: Andrés Díaz Soto <andres.diaz.soto@gmail.com>
@cienvaras cienvaras marked this pull request as ready for review June 29, 2024 00:35
@cienvaras cienvaras assigned joegl and unassigned cienvaras Jun 29, 2024
@cienvaras cienvaras requested a review from joegl June 29, 2024 00:38
@joegl joegl changed the base branch from develop to 11.1.2-release July 1, 2024 15:56
Comment on lines +196 to +202
$display = $view->getDisplay();
$display_options = &$display->options;
$default_display = &$display;
if (!empty($display->default_display)) {
$default_display = &$display->default_display;
}
$default_options = &$default_display->options;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are all the & references for here?

Copy link
Contributor

@joegl joegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 6 sites still using legacy themes. 5 of them are old and have been replaced with newer sites, and are due for being cleaned up. However, the default site still uses the su_humsci_theme legacy theme -- what theme should we be using for the default site? The default site is the site getting used in tests and we'll need to change this in the profile configuration. The default site installs with the humsci_colorful theme. I'm going to change all 6 of these sites on prod/stage to use that theme so the update hook doesn't fail and no changes should be necessary .

Full list for reference:

  • default: 'system.theme:default': su_humsci_theme
    • We'll want to pick a theme to set the default site to.
  • archaeology: 'system.theme:default': archaeology
    • This site was replaced with archaeology2023 as the live site.
  • mathematics: 'system.theme:default': mathematics
    • This site was replaced with mathematics2024 as the live site.
  • mcs: 'system.theme:default': su_humsci_theme
    • This site was replaced with mcs2023 as the live site.
  • philit: 'system.theme:default': su_humsci_theme
    • This site was replaced with philit2023 as the live site.
  • symsys: 'system.theme:default': su_humsci_theme
    • This site was replaced with symsys2023 as the live site.

Copy link
Contributor

@joegl joegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joegl joegl merged commit 87a32cb into 11.1.2-release Jul 1, 2024
15 of 17 checks passed
@joegl joegl deleted the fk-stnfd-sprint-53 branch July 1, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants