Skip to content
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

SolidusAdmin misc. component fixes #5444

Merged
merged 9 commits into from
Oct 23, 2023
Merged

SolidusAdmin misc. component fixes #5444

merged 9 commits into from
Oct 23, 2023

Conversation

elia
Copy link
Member

@elia elia commented Oct 19, 2023

Summary

A number of smaller fixes that I don't expect to require separate PRs.

See the commit list for details.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #5444 (5576314) into main (b4690fb) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #5444   +/-   ##
=======================================
  Coverage   88.89%   88.89%           
=======================================
  Files         612      612           
  Lines       14800    14800           
=======================================
  Hits        13156    13156           
  Misses       1644     1644           
Files Coverage Δ
...app/components/solidus_admin/ui/badge/component.rb 100.00% <ø> (ø)
...pp/components/solidus_admin/ui/button/component.rb 100.00% <ø> (ø)
...mponents/solidus_admin/ui/forms/input/component.rb 100.00% <ø> (ø)
...ponents/solidus_admin/ui/forms/switch/component.rb 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@elia elia marked this pull request as ready for review October 19, 2023 13:55
@elia elia requested a review from a team as a code owner October 19, 2023 13:55
@elia elia requested a review from rainerdema October 19, 2023 13:55
Also adds a focus-ring, which was missing.
This slightly reduces the computational and memory needs for rendering
a button.
It was just a placeholder.
Those are already set by TW for each font size and we want to adhere
to the standard rather than setting our owns.
Sometimes the render method is not available at the component
initialization.
@elia elia merged commit b2a6f41 into main Oct 23, 2023
11 checks passed
@elia elia deleted the elia/admin/misc-fixes branch October 23, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants