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

CHEMH-77: A fullpill banner #68

Merged
merged 15 commits into from
Sep 26, 2023
Merged

CHEMH-77: A fullpill banner #68

merged 15 commits into from
Sep 26, 2023

Conversation

jenbreese
Copy link
Collaborator

@jenbreese jenbreese commented Sep 15, 2023

READY FOR REVIEW

Summary

  • Adding a new banner variant

Review By (Date)

  • 9/22

Criticality

  • Normal

Urgency

  • Normal

Review Tasks

Setup tasks and/or behavior to test

  1. Check out this branch
  2. Rebuild Cache and import config drush cr ; drush ci
  3. Navigate to a page.
  4. Add a banner and select the fullpill behavior option
  5. The design only has a headline and button with a small image.
  6. Verify the banner looks like the design. The responsive version eventually becomes a circle. There weren't responsive designs so this might need some changes.

image

Site Configuration Sync

  • Is there a config:export in this PR that changes the config sync directory? NO

Front End Validation

Backend / Functional Validation

Code

  • Are the naming conventions following our 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? eg (unit, behat, or codeception)

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?

Affected Projects or Products

  • Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

- CHEMH-77

Resources

@jenbreese jenbreese changed the title CHEMH-77: setup for a horizontal fullpill card. CHEMH-77: setup for a fullpill banner Sep 18, 2023
Copy link
Contributor

@jdwjdwjdw jdwjdwjdw left a comment

Choose a reason for hiding this comment

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

Looking great overall! Two things:

  • Can you address the image getting cut off while stacked on mobile? It looks like that's being caused by the su-hero__media aspect ratio
    Screenshot 2023-09-19 at 6 04 58 PM
  • How do you feel about the image going from a circle to more of an oval right before stacking? I don't mind it too much, but if you think it's an issue, maybe stacking before it goes to the oval would be another possibility
    Screenshot 2023-09-19 at 6 05 47 PM

@jenbreese
Copy link
Collaborator Author

@jdwjdwjdw I agree with you. I made these changes. Let me know what you think. Maybe we need to move around the background image to cover the edges better.

@jenbreese jenbreese changed the title CHEMH-77: setup for a fullpill banner CHEMH-77: A fullpill banner Sep 21, 2023


.chemh-wrapper--banner-fullpill {
max-width: calc(100vw - 200px);
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this max-width constraint is causing some issues for mobile, can you address that?
Screenshot 2023-09-21 at 12 33 58 PM

Copy link
Contributor

@jdwjdwjdw jdwjdwjdw left a comment

Choose a reason for hiding this comment

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

Everything looking great! 🚀

@jenbreese jenbreese merged commit dcd4189 into 2.x Sep 26, 2023
1 check passed
@jenbreese jenbreese deleted the CHEMH-77--fullpill branch September 26, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants