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

PropertyColor: now color is selected with submit button instead of directly #6200

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

GVodyanov
Copy link
Contributor

Fix #6145

Based on @st3iny's idea #6145 (comment)

…of directly

Signed-off-by: Grigory V <scratchx@gmx.com>
@GVodyanov GVodyanov added the 3. to review Waiting for reviews label Jul 24, 2024
@GVodyanov GVodyanov self-assigned this Jul 24, 2024
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

* but the RFC 7986 property COLOR requires
* css-color-names.
*
* The color-space of css-color-names is smaller
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need debounce because submit happens only once?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep and it doesn't happen immediately after choosing the color

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 23.67%. Comparing base (0271a5b) to head (16ebe41).
Report is 14 commits behind head on main.

Files Patch % Lines
src/components/Editor/Properties/PropertyColor.vue 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6200      +/-   ##
============================================
- Coverage     23.93%   23.67%   -0.26%     
  Complexity      457      457              
============================================
  Files           247      249       +2     
  Lines         11627    11774     +147     
  Branches       2196     2204       +8     
============================================
+ Hits           2783     2788       +5     
- Misses         8527     8669     +142     
  Partials        317      317              
Flag Coverage Δ
javascript 15.25% <0.00%> (-0.19%) ⬇️
php 59.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GVodyanov GVodyanov merged commit e40c35e into main Jul 24, 2024
26 of 28 checks passed
@GVodyanov GVodyanov deleted the fix/property-color branch July 24, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overlapping colors in calendar color picker and unused choose button
2 participants