feat(front): compléter le color picker avec une palette de couleurs - #2615
feat(front): compléter le color picker avec une palette de couleurs#2615Pierre-Gilles wants to merge 1 commit into
Conversation
Complement the iro color wheel with a preset palette inspired by zigbee2mqtt: 8 basic colors plus cool, neutral and warm white temperatures computed from Kelvin values. The palette is shared between the dashboard device box color picker and the scene editor color picker. Co-authored-by: Pierre-Gilles Leymarie <Pierre-Gilles@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2615 +/- ##
========================================
Coverage 98.97% 98.97%
========================================
Files 1050 1053 +3
Lines 20700 20821 +121
========================================
+ Hits 20487 20608 +121
Misses 213 213 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Deploying gladys-plus with
|
| Latest commit: |
44ca47f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://77d79180.gladys-plus.pages.dev |
| Branch Preview URL: | https://cursor-color-picker-palette.gladys-plus.pages.dev |
Description
Implémente la fonctionnalité demandée sur le forum : Compléter le color picker avec palette.
Le sélecteur de couleur des ampoules (roue iro) est désormais complété par une palette de couleurs prédéfinies, inspirée de l'interface zigbee2mqtt :
Changements
ColorPaletteutilisé dans :ColorDeviceFeature)ColorPicker)front/src/utils/colorPalette.jsColorDeviceFeaturepour ne pas fermer le picker lors d'un clic sur la paletteCheck-list
npm run eslint)npm run prettier-check)npm run compare-translations)npm run build)Closes https://community.gladysassistant.com/t/completer-le-color-picker-avec-palette/7678