-
Notifications
You must be signed in to change notification settings - Fork 65
color picker accepts rgb format #1775
color picker accepts rgb format #1775
Conversation
Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED Commit: c753260 (Please note that this is a fully automated comment.) |
Codecov Report
@@ Coverage Diff @@
## master #1775 +/- ##
=======================================
Coverage 99.98% 99.98%
=======================================
Files 410 410
Lines 8585 8585
Branches 1266 1267 +1
=======================================
Hits 8584 8584
Misses 1 1
Continue to review full report at Codecov.
|
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.
@Blackbaud-JackMcElhinney Mind writing a unit test to confirm this behavior?
Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 4cd4b98 (Please note that this is a fully automated comment.) |
Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: 3d59358 (Please note that this is a fully automated comment.) |
@Blackbaud-JackMcElhinney Thanks for the unit test. I would expect to see a Is this intended? |
Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: f9d2143 (Please note that this is a fully automated comment.) |
@Blackbaud-SteveBrush That is intended based off of the way I made the change. I just made it so that if no alpha value was sent, it defaults it to 1. So even though the user sends rgb, it comes back with rgba where the alpha is 1. I did this so it already fits in with the outputFormat options of 'rgba', 'hsla', 'cmyk', and 'hex.' Let me know if you want me to look into adding 'rgb' as an output with no alpha. |
@blackbaud-sky-savage retry |
Tests failed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: f9d2143 (Please note that this is a fully automated comment.) |
Tests passed. Automated cross-browser testing via BrowserStack and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED Commit: c769e5d (Please note that this is a fully automated comment.) |
Accepts rgb format like 'rgb(255, 0, 0)' as well as rgba(255, 0, 0, 1)
Resolves: #1620