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

Update ActionBar::Item to accept an argument for the passed in IconButton #2223

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Aug 29, 2023

What are you trying to accomplish?

This updates ActionBar::Item to accept an initialized component that would be rendered when the Item is rendered instead of rendering in the slot and returning a string.

Screenshots

No visual change

Integration

No, this unblocks integration in dotcom

Risk Assessment

  • Low risk the change is small, highly observable, and easily rolled back.
  • 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.

Merge checklist

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

@jonrohan jonrohan temporarily deployed to preview August 29, 2023 18:22 — with GitHub Actions Inactive
@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Aug 29, 2023
@changeset-bot
Copy link

changeset-bot bot commented Aug 29, 2023

🦋 Changeset detected

Latest commit: b030b2d

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

@jonrohan jonrohan marked this pull request as ready for review August 30, 2023 17:48
@jonrohan jonrohan requested review from a team, keithamus and camertron and removed request for keithamus August 30, 2023 17:48
Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

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

Awesome!

@jonrohan jonrohan merged commit 00b7d5d into main Aug 30, 2023
27 checks passed
@jonrohan jonrohan deleted the pass_renderable_item branch August 30, 2023 20:21
@jonrohan jonrohan temporarily deployed to preview August 30, 2023 20:21 — with GitHub Actions Inactive
@primer primer bot mentioned this pull request Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor release ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants