Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support "upsell" variant for Primer::Alpha::Banner #3387

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

Merged
merged 7 commits into from
Mar 27, 2025
Merged

Conversation

BigDadBear
Copy link
Contributor

@BigDadBear BigDadBear commented Mar 14, 2025

Authors: Please fill out this form carefully and completely.

Reviewers: By approving this Pull Request you are approving the code change, as well as its deployment and mitigation plans.
Please read this description carefully. If you feel there is anything unclear or missing, please ask for updates.

What are you trying to accomplish?

Supporting the "upsell" variant/scheme for Primer::Alpha::Banner, this variant is already supported in the React library

Screenshots

showing the new variant by itself showing the new variant alongside the existing variants

List the issues that this change affects.

https://github.com/github/pull-requests/issues/16532

Closes # (type the GitHub issue number after #)

Risk Assessment

  • Low risk the change is small, highly observable, and easily rolled back.
    • Just adding a new scheme
  • Medium risk changes that are isolated, reduced in scope or could impact few users. The change will not impact library availability.
  • High risk changes are those that could impact customers and SLOs, low or no test coverage, low observability, or slow to rollback.

What approach did you choose and why?

Added the new scheme and updated the lookbook and test!

Accessibility

  • No new axe scan violation - This change does not introduce any new axe scan violations.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews (Lookbook)
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Copy link

changeset-bot bot commented Mar 14, 2025

🦋 Changeset detected

Latest commit: 83e08b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

⚠️ Visual or ARIA snapshot differences found

Our visual and ARIA snapshot tests found UI differences. Please review the differences by viewing the files changed tab to ensure that the changes were intentional.

Review differences

@BigDadBear BigDadBear changed the title start on upsell banner variant Support "upsell" variant for Primer::Alpha::Banner Mar 14, 2025
@BigDadBear BigDadBear marked this pull request as ready for review March 14, 2025 17:28
@BigDadBear BigDadBear requested review from a team as code owners March 14, 2025 17:28
@BigDadBear BigDadBear requested a review from langermank March 14, 2025 17:28
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Couple of nits

app/components/primer/alpha/banner.rb Outdated Show resolved Hide resolved
test/components/alpha/banner_test.rb Outdated Show resolved Hide resolved
@jonrohan jonrohan added this pull request to the merge queue Mar 27, 2025
Merged via the queue into main with commit 67d6aef Mar 27, 2025
36 checks passed
@jonrohan jonrohan deleted the bdb-banner-upsell branch March 27, 2025 18:12
@primer primer bot mentioned this pull request Mar 27, 2025
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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.