-
Notifications
You must be signed in to change notification settings - Fork 2
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
v5 component refactor: Buttons #140
Comments
Hello Team, I have reviewed this ticket's requirements and summarized my understanding below. Please review and let me know if I've missed anything or if adjustments are needed to my approach. Updates to the Button Component: Since the Button component already exists, the necessary updates will be applied directly to it. The required changes are as follows: 1. UI Updates:
2. New Variants for the Button Component: intent: (Should we retain this variant name as "intent," or has the team discussed a new name?)
state:
size:
iconLeft Additionally, I will be creating new exports for the
|
Hi @ksolanki7, I've reached out to the designers for comment. Thanks. |
suggestion: Personally, I'd prefer to see us use suggestion: I would descope suggestion: It could be worthwhile discussing whether disabled buttons should leverage the suggestion: When we talk about the Button component in the Design System, we're talking about a visual element, not a DOM element. As engineers, we know not all visual buttons in the UI will actually be I think we need to decide how we'll handle this in Elements, which (in my opinion) is nuanced enough to warrant some kind of design doc for us to discuss. |
praise: Thank you, @kurtdoherty, for the valuable feedback. note: While we await a response from the UI team, I’ll begin working on the core UI aspect of the note: For now, I will descope thought: I suggest we arrange a kick-off or handover meeting with the dev, UI, and product teams for every v5 refactor or new component ticket to align expectations and ensure a smooth process. |
Hi @ksolanki7, All good from the design team. Only comment: "I think we refrain from using “intent” with buttons. True - they are intentional - but we apply buttons based on importance in the hierarchy." |
* refactor: #140 part 2 v5 ButtonGroup component * Fix issue with test cases * Fix issue with page header button props * Fix issue with file input test case * Fix issue with button-group test case * Added additional test cases to increase the test coverage * Updated test cases to support updated parent PR
* refactor: #139 v5 ButtonGroup component * PR feedback update - Replace boolean variants to enum, fix typescript for anchor v/s button, replace mandate elements Icon usage to reactNode * Fix issue with test case and removed onClick from anchor * Reintroduce onClick event on anchor element * Final feedback touchup * refactor: #140 part2 v5 component refactor buttons (#180) * refactor: #140 part 2 v5 ButtonGroup component * Fix issue with test cases * Fix issue with page header button props * Fix issue with file input test case * Fix issue with button-group test case * Added additional test cases to increase the test coverage * Updated test cases to support updated parent PR * Fix issue with Type test * Updated menu to support new button component * Updated PR with feedback from Design team * Added Change log * Fix snapshot test
@HollyJoyPhillips The Note: I have gone through initial review with Andrei from Design team over my |
Abstract
As part of the v5 Elements release, each component will be reviewed and refactored to ensure best practice and design system alignment
Specification
Developer Checklist
Styles Only
andReact
component structuresRelease Checklist
Additional Context or Information
The text was updated successfully, but these errors were encountered: