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

Move Banner to alpha namespace #1579

Merged
merged 7 commits into from
Nov 7, 2022
Merged

Move Banner to alpha namespace #1579

merged 7 commits into from
Nov 7, 2022

Conversation

camertron
Copy link
Contributor

@camertron camertron commented Nov 7, 2022

Description

The Banner component currently lives in the Beta namespace because it will eventually form the basis of the Flash component, which is also in Beta. However, since Banner uses new markup and new styles, it's more correct for it to be in the Alpha namespace. It will need to be evaluated against the beta criteria before being elevated to that status.

Integration

Does this change require any updates to code in production?

Yes. There are only a few instances of Primer::Beta::Banner in production though, so the migration should be easy.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2022

🦋 Changeset detected

Latest commit: 755b661

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 Patch

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

@github-actions github-actions bot added css Pull requests that update CSS code javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code labels Nov 7, 2022
@camertron camertron temporarily deployed to review-pr-1579 November 7, 2022 21:56 Inactive
@camertron camertron temporarily deployed to github-pages November 7, 2022 22:00 Inactive
@camertron camertron marked this pull request as ready for review November 7, 2022 22:13
@camertron camertron requested a review from a team as a code owner November 7, 2022 22:13
@camertron camertron requested review from a team, tobiasahlin and jonrohan November 7, 2022 22:13
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.

Noticed one thing

app/components/primer/alpha/banner.rb Outdated Show resolved Hide resolved
Co-authored-by: Jon Rohan <rohan@github.com>
@camertron camertron temporarily deployed to github-pages November 7, 2022 22:49 Inactive
@camertron camertron merged commit 05e07bb into main Nov 7, 2022
@camertron camertron deleted the move_banner_to_alpha branch November 7, 2022 23:05
@primer-css primer-css mentioned this pull request Nov 7, 2022
siddharthkp added a commit that referenced this pull request Nov 17, 2022
Banner was moved to alpha in #1579
jonrohan pushed a commit that referenced this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css Pull requests that update CSS code javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants