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-6045: Implement vertical buttons with long text #1748

Merged

Conversation

mariannuar
Copy link
Collaborator

@mariannuar mariannuar commented Feb 18, 2025

Summary

Update the space between 4 columns and the padding for vertical buttons cards with long text

Need Review By (Date)

02/26

Urgency

medium'

Steps to Test

  1. Go to the following pages in Colorful:
  1. Confirm there's a space of 32px only between the columns of 4 and there's also an internal padding of 18px in vertical linked cards, and vertical cards and vertical button cards with raised cards.
  2. Now go to the following pages
  1. And confirm the only change there is the space between columns of 4
  2. Go to the equivalent pages in Traditional:
  1. Confirm nothing there has changed
  2. Finally, edit a collection
  3. Then for the "Items Per Row" field, confirm you can see the help text: For best results, only use "4 Per Row" with short content or if there's no sidebar.

Review Tasks

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Are PHP functions and variables in snake_case and not camelCase?
  • Does Drupal code follow Drupal Coding Standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided?

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

@ahughes3 ahughes3 temporarily deployed to Tugboat February 18, 2025 17:35 Destroyed
@ahughes3 ahughes3 temporarily deployed to Tugboat February 18, 2025 18:12 Destroyed
@mariannuar mariannuar marked this pull request as ready for review February 18, 2025 18:26
@mariannuar mariannuar requested a review from cienvaras February 18, 2025 18:26
@mariannuar mariannuar self-assigned this Feb 18, 2025
@ahughes3 ahughes3 self-requested a review February 19, 2025 16:10
Base automatically changed from 11.7.1-release to develop February 20, 2025 17:59
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 Looks pretty good! I just found an issue in the Vertical button cards when an image is present:

Screenshot 2025-02-21 at 9 46 37 AM Screenshot 2025-02-21 at 9 46 52 AM

Problem only happens in the 4 column collection, so probably related to the spacing changes.

@cienvaras cienvaras changed the base branch from develop to 11.8.1-release February 21, 2025 15:58
…d title, and image overlapping in vertical button card
@mariannuar mariannuar requested a review from cienvaras February 25, 2025 16:04
@mariannuar
Copy link
Collaborator Author

@cienvaras Ready for review again!

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 LGTM!

@ahughes3 Ready for you. Still waiting for tugboat to be fixed, I'll let you know as soon as it's ready.

@cienvaras cienvaras assigned ahughes3 and unassigned mariannuar Feb 25, 2025
…-6045--implement-vertical-buttons-with-long-text
Copy link
Collaborator

@ahughes3 ahughes3 left a comment

Choose a reason for hiding this comment

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

approved!

@ahughes3 ahughes3 requested a review from joegl February 27, 2025 20:22
@ahughes3 ahughes3 assigned joegl and unassigned ahughes3 Feb 27, 2025
@joegl joegl merged commit 14633f9 into 11.8.1-release Feb 27, 2025
18 checks passed
@joegl joegl deleted the shs-6045--implement-vertical-buttons-with-long-text branch February 27, 2025 20:53
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