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

SHS-5693: Implementation: New Vertical Card option #1581

Merged
merged 10 commits into from
Jul 26, 2024

Conversation

mariannuar
Copy link
Collaborator

@mariannuar mariannuar commented Jul 23, 2024

READY FOR REVIEW

Summary

Add new Vertical Button Card option in Postcard

Need Review By (Date)

07/26

Urgency

medium

Steps to Test

  1. Import configuration, compile the theme and clear cache for Colorful and Traditional. Tugboat URLS: https://hs-traditional-n2nypkdhaunsv8whsxsquwupgep0exsv.tugboatqa.com/test-postcards and https://hs-colorful-n2nypkdhaunsv8whsxsquwupgep0exsv.tugboatqa.com/test-postcards

  2. On Colorful, create a Flexible Page

  3. Add a singlePostcard component with the Vertical Button Card

  4. Add Collection Cards (for all the different variants: With Raised Cards, with Uniform Height, without Raised Cards and Uniform Height, with different number of items per row )

  5. Add PostCards with the Vertical Button Card in collections

  6. Check they all look similar to what's in Figma Option A

  7. Please check the following with the different color palettes:

    Title color: Secondary
    Button style: Secondary button
    Card outline: Tertiary-Highlight

  8. Now, on Traditional repeat steps 2, 3 and 4

  9. Check they all look similar to what's in Figma Option D (the last one)

  10. Please check the following with the different color palettes:

    Card outline: Secondary
    Button text color: White
    Button background: Secondary
    Button hover background: Primary-dark

PR Checklist


@mariannuar mariannuar requested a review from cienvaras July 23, 2024 17:40
@mariannuar mariannuar self-assigned this Jul 23, 2024
Base automatically changed from 11.1.3-release to develop July 24, 2024 20:48
An error occurred while trying to automatically change base from 11.1.3-release to develop July 24, 2024 20:48
@cienvaras cienvaras changed the base branch from develop to fk-stnfd-sprint-55 July 26, 2024 17:06
Copy link
Collaborator

@cienvaras cienvaras left a comment

Choose a reason for hiding this comment

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

@mariannuar Great work! Just fixed a minor issue with the background on collections with a background color. Other than that, it works great

@cienvaras cienvaras merged commit e38f67b into fk-stnfd-sprint-55 Jul 26, 2024
13 of 15 checks passed
@cienvaras cienvaras deleted the shs-5693--new-vertical-card-option branch July 26, 2024 22:24
joegl pushed a commit that referenced this pull request Jul 29, 2024
* SHS-5661: Remove legacy fields (#1577)
* feat(SHS-5661): Remove paragraph field Overlay Color on banner image with text box
* feat(SHS-5661): Remove other references to the overlay field
* feat(SHS-5661): Add update hook to remove legacy field
* fix(SHS-5661): Fix linting error
* fix(shs-5661): remove hero-text-overlay variants and update viewmode config
* SHS-4929: Hide caption/credits on images in default views (#1578)
* feat(shs-4929): add new media view mode and update news default views
* feat(shs-4929):  update people default views
* feat(shs-4929):  update publications default views
* SHS-5675: Helping users avoid 'Table cell missing context (e.g. headings) A11y warning (#1579)
* feat(SHS-5675): Add default table header rows to new tables in CKEditor
* fix(SHS-5675): Fix linting error
* docs(SHS-5675): Add comments describing change and source of change.
* feat(SHS-5675): Update table heading color in CKEditor
* fix(shs-5675): change color variable for table headings
* fix(shs-5696): make normal the font style of blockquotes in wysiwyg (#1582)
* SHS-5693: Implementation: New Vertical Card option (#1581)
* feat(shs-5693): add view mode and and pattern for vertical button card
* feat(shs-5693): configure the Style field to use the new view mode with the right label.
* feat(shs-5693): add pattern into module preprocess function and update twig file
* feat(shs-5693): more implementations in vertical button card
* feat(shs-5693): implementations in vertical button card for colorful
* feat(shs-5693): update box shadow
* feat(shs-5693): update image position for colorful
* feat(shs-5953): use secondary button styles in traditional and fix space in colorful when there's no image
* fix(shs-5693): fix incorrect background color
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.

2 participants