🌸 Marketplace
: Improve ManagementComponent
iconography
#2221
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.
Marketplace
:ManagementComponent
#2220The icons for
TaxeRates#index
andFlyers#show
were the same, plusProducts#index
will conflict withTags#index
.So now
Products#index
is 🍰 andFlyers#show
is :qr_code:While I was doing this, I also made the following tidyings:
SvgComponent
has#building_storefront
icon!SvgComponent
has#qr_code
icon!SvgComponent
icon-method names match Heroicon's label!SvgComponent#cake
does not need a wrapping<svg ...>
tag!ManagementComponent
has every link it's supposed toManagementComponent::Spec
useshave_link
instead ofhave_css
ManagementComponent
eliminates usage ofButtonComponent
We originally added the
ButtonComponent
to inject the tailwind CSS classes in Ruby, but with the changes @anaulin made, we now can use the.button
and.button.--primary
/.button.--secondary
classes.Now, when I notice the
ButtonComponent
being used, I pull it out so we can (eventually) delete it.Before
After