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

Fixes configurable swatch color picker in legacy admin theme #4218

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sreichel
Copy link
Contributor

Description (*)

... one error left in Chrome. (maybe someone has an idea to fix it - i have not)

Related Pull Requests

  1. See New feature: ConfigurableSwatches now allows for auto-generation of the swatch image file based on color selection #3686

Fixed Issues (if relevant)

  1. Fixes Lots of warning in the browser console related to swatches #4217

swatch

@github-actions github-actions bot added Template : admin Relates to admin template Component: Eav Relates to Mage_Eav Component: Adminhtml Relates to Mage_Adminhtml labels Sep 22, 2024
@sreichel
Copy link
Contributor Author

@empiricompany ... maybe another improvement ... take the given color-string and automatically add the swatch-color.

https://stackoverflow.com/questions/48484767/javascript-check-if-string-is-valid-css-color

@ADDISON74
Copy link
Contributor

Only one warning remains in the Chromium browsers console.

That delete button should be 21px height, to keep the same proportion with similar buttons (e.g. the ones in Product Edit > Custom Options). Even the [ x Delete] button at the end of the row is 21px.

@ADDISON74
Copy link
Contributor

If you solve the warning it will be perfect.

@sreichel
Copy link
Contributor Author

Nothing is perfect :P

I tried, but its not worth the time atm. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: Eav Relates to Mage_Eav Template : admin Relates to admin template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lots of warning in the browser console related to swatches
2 participants