-
Notifications
You must be signed in to change notification settings - Fork 90
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
Buttons refactoring #3300
Buttons refactoring #3300
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3300 +/- ##
==========================================
+ Coverage 35.15% 35.18% +0.03%
==========================================
Files 676 674 -2
Lines 29358 29331 -27
Branches 4341 4336 -5
==========================================
Hits 10321 10321
+ Misses 17861 17835 -26
+ Partials 1176 1175 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
looks ok, tho i'm a little reluctant about adding a whole new namespace (components/Button
) for only one export. to me, components/ButtonIconized
makes more sense at the moment, tho this whole arguments smells of bike-shedding, so whatever
Hmm..., Ok, I'll rename it to ButtonIconized, and move to Buttons again only when there will be one more button reused across app |
As i said, it's not a requirement and you can keep it as is if you feel like it would be better in perspective |
I mean, I agree, namespace Buttons will be reasonable when it contains at least two buttons |
* master: Cleaner syntax for pip install (add single quotes) (#3283) Prettify `AwsMarketplace/Features.tsx` and everything (#3319) Buttons refactoring (#3300) Landing for AWS Marketplace (#3251) Fix error message: `quilt login` => `quilt3 login` (#3316) Use code authorization flow instead of ID tokens. (#3296)
* Added icon to buttons "Create package from folder" and "Push to bucket" in desktop layout * Added components/Buttons/ButtonIconized, and replace FileView.AdaptiveLayoutButton * Removed components/ButtonIcon * Fix and unify margins
* Added icon to buttons "Create package from folder" and "Push to bucket" in desktop layout * Added components/Buttons/ButtonIconized, and replace FileView.AdaptiveLayoutButton * Removed components/ButtonIcon * Fix and unify margins
Changed:
flexWrap: 'wrap'
, see screenshot)Refactored:
components/Buttons/ButtonIconized
, and replaceFileView.AdaptiveLayoutButton
components/ButtonIcon
. It was used only once, and it's trivial