-
-
Notifications
You must be signed in to change notification settings - Fork 96
build: replace jscolor with coloris #223
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
build: replace jscolor with coloris #223
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #223 +/- ##
==========================================
+ Coverage 93.67% 94.50% +0.82%
==========================================
Files 8 8
Lines 174 182 +8
==========================================
+ Hits 163 172 +9
+ Misses 11 10 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a156d3d
to
9ce1860
Compare
@obdulia-losantos thank you for this PR, is there still some work you want to do on it before marking it as ready? |
Yes, I tested it locally and the swatches were not displayed and the format is always hex with alpha... I think I need to make more adjustments to the library. |
@fabiocaccamo ready! Sadly I cannot add the example app I used to test it locally. Should I remove that commit? |
@fabiocaccamo any feedback? |
1678e76
to
30ad624
Compare
30ad624
to
9df0d05
Compare
@fabiocaccamo requested changes made |
4bcee79
to
2e8f61a
Compare
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.
Latest retouches and it's ready, thanks for your collaboration and patience!
I've similar issue with new release, there is a different configuration to remove alpha and re-enable swatches?
|
@obdulia-losantos the alpha control should not be visible if color format doesn't support alpha, could you double-check it? |
I cannot reproduce the error in the admin page with a form. I'm seeing that you are using the login page. Could you check if in your template all the scripts are loaded or if there is an error in the browser console? COLOR_PALETTE = [("#9A6324", "Brown",), ("#e6194B", "Red",),("#3cb44b", "Green", )]
color_choices = ColorField(blank=True, choices=COLOR_PALETTE, format="hex") color_samples = ColorField(blank=True, samples=COLOR_PALETTE, format="hex") |
name: Replace jscolors with coloris
about: Replace jscolors with coloris library
assignees: fabiocaccamo
Describe your changes
Replaced JSColor library with Coloris
Related issue
#168
Checklist before requesting a review