-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[RangeSlider] Add magic tone #11472
[RangeSlider] Add magic tone #11472
Conversation
1b4eb1a
to
c58c1ec
Compare
@matallo what is stopping you from adding RangeSlider to magic-ui and doing a CSS override? Does this need to be in Polaris ASAP? Are 3P app developers going to need these features? |
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.
Code looks good but I wasn't able to tophat. I checked out your branch on my own spin instance but storybook is failing to run. Can you provide a spin link for me to tophat?
@alex-page, the same prop got added to several Polaris components already, including TextField, Checkbox, RadioButton, Select and ChoiceList. At the moment I don't think 3P app developers are going to need this feature. In general, do we consider it a bad practice to add a prop to Polaris for something that's required in the admin, but not for 3P app developers? |
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.
✨ 🚀
That can be a solution, we're doing something similar for
I don't think so immediately, but I'll let the team using this to answer. Currently the feature is behind a beta flag for the Admin if I'm not wrong. |
c58c1ec
to
8027726
Compare
Localization quality issues found The following issues may affect the quality of localized translations if they are not addressed:
Please look out for other instances of this issue in your PR and fix them as well if possible. Questions about these messages? Hop in the #help-localization Slack channel. |
Hi! We noticed there hasn’t been activity on this PR in a while. After 30 days, it will close automatically. If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed. |
WHY are these changes introduced?
This PR introduces a new
tone
prop with a possible value "magic" for determining the values in the component have been generated by AI. It uses the--p-color-bg-fill-magic
token.references #10152
WHAT is this pull request doing?
This is a followup of #10819 and follows the pattern suggested by the Polaris team.
How to 🎩
In Storybook
http://localhost:6006/?path=/story/all-components-rangeslider--magic
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
🎩 checklist
README.md
with documentation changes