-
Notifications
You must be signed in to change notification settings - Fork 526
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
Remove link button #1880
Remove link button #1880
Conversation
🦋 Changeset detectedLatest commit: ae5a424 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
size-limit report 📦
|
4b52141
to
a22ab77
Compare
Can you reply on https://github.com/github/primer/discussions/477 as well, curious to here if this matches other implementations as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've discussed this in the Primer patterns working session, and it aligns with what they're doing in PCSS and PVC.
cc @langermank
Edit: naming is confusing, I think this DOES align in that it seems to be removing a button styled as a link, not a link styled as a button.. right?! 😆 If that's the case then 👍 I'll leave those notes below as a reference point regardless
We wanted to have |
I don't think so.
My initial understanding was that |
I think this would be a good time to start drafting an ADR based on the discussions in the pattern working group! I can start it, I've just been focusing on my main Q3 priorities the past 2 weeks. Until then, this is a question of allowing components to use
These are the notes from Jan 18 We felt that since this is semantically Its been a few weeks since I've been able to focus on these patterns, and I hate to be a blocker here. But I think it would be great to get Button2 in line with what we've been drafting/discussing as the "future" of how we handle Buttony things. |
I decided to remove it because implementation-wise it does not add anything to the underlying Another point, unlike the What I'm hearing in this discussion is the opposite and that |
LinkButton was removed in #1880
LinkButton was removed in #1880 Co-authored-by: Pavithra Kodmad <pksjce@github.com>
Describe your changes here.
With some feedback from @colebemis and my personal experience trying to use it in memex, I see no use for
LinkButton
. The normalButton
component can have theas
polymorphic prop. So I removed it and fixed up all the associated tests and stories.Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.