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

Change ActionList::Item tag to button #1728

Merged
merged 5 commits into from
Jan 6, 2023
Merged

Change ActionList::Item tag to button #1728

merged 5 commits into from
Jan 6, 2023

Conversation

langermank
Copy link
Contributor

Description

To be honest, I'm not entirely sure why it was a span. This could be a huge mistake. I'm hoping someone else will know! 🙌

If this becomes a button, it makes it much easier to use for triggering our new Dialog component (which is an extremely common use case.)

Integration

Does this change require any updates to code in production?

No

Merge checklist

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

@langermank langermank requested review from a team and keithamus December 22, 2022 00:51
@changeset-bot
Copy link

changeset-bot bot commented Dec 22, 2022

🦋 Changeset detected

Latest commit: 1ca7cf6

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

@langermank langermank temporarily deployed to review-pr-1728 December 22, 2022 00:51 — with GitHub Actions Inactive
@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Dec 22, 2022
@langermank langermank temporarily deployed to github-pages December 22, 2022 00:55 — with GitHub Actions Inactive
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.

Nice! I think this is fine given it's how the old NavigationList works.

app/components/primer/alpha/action_list/item.rb Outdated Show resolved Hide resolved
@camertron camertron merged commit 1c9981f into main Jan 6, 2023
@camertron camertron deleted the action-list-button branch January 6, 2023 23:09
@primer-css primer-css mentioned this pull request Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants