Components: Enforce consistent usage of Button and ToolbarGroup components#18817
Merged
Conversation
Member
Author
Closed
Contributor
|
Pushed a fix for the two things you mentioned. |
Member
Author
Contributor
|
Fixed 👍 👍 |
Member
Author
|
Thanks @jasmussen, everything looks good now. You are my CSS superhero 🥇 |
e31bff8 to
e1f908c
Compare
Member
Author
Contributor
Member
Author
e1f908c to
ae766c7
Compare
jasmussen
approved these changes
Dec 3, 2019
jasmussen
left a comment
Contributor
There was a problem hiding this comment.
This is a solid step forward, and one that will enable further enhancements through code simplification. The HTML/Preview isn't perfect, but that "toolbar tab" pattern deserves some thought separately. As such and from a design POV, this looks good to me.
Contributor
|
Nice work here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







Description
It also extracts some changes from #17847, cc @diegohaz:
buttontag elements toButtoncomponents for consistencyToolbarcomponents withToolbarGroupin core blocksIn addition, this PR introduced ESLint change which discourages usage on
buttontag element in all production files. The only exception issavemethod implementation for the block definition.How has this been tested?
npm run test-unitnpm run lint-jsTypes of changes
Refactoring
Screenshots
Before
After
No visual changes 😃
Checklist: