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

feat(editor): store real color values in edgeless #9254

Open
wants to merge 1 commit into
base: fundon/12_23_update_edgeless_color_palette
Choose a base branch
from

Conversation

fundon
Copy link
Contributor

@fundon fundon commented Dec 23, 2024

What's Changed!

  • adds theme type: ThemeSchema
  • adds default theme: DefaultTheme
  • stores real color values

Copy link
Contributor Author

fundon commented Dec 23, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from fb93b95 to 04cf141 Compare December 23, 2024 14:13
@github-actions github-actions bot added the test Related to test cases label Dec 23, 2024
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 2 times, most recently from 0ca415e to 4dbadb3 Compare December 23, 2024 14:33
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 9e11e04 to aa795bd Compare December 23, 2024 14:37
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 3 times, most recently from 9fec4a5 to 44d739d Compare December 23, 2024 14:40
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from aa795bd to 67fb7ca Compare December 23, 2024 14:40
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 44d739d to cd3ec87 Compare December 23, 2024 14:40
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 152 lines in your changes missing coverage. Please review.

Project coverage is 34.06%. Comparing base (8059ba4) to head (fada2b8).

Files with missing lines Patch % Lines
...ock/widgets/element-toolbar/change-shape-button.ts 0.00% 48 Missing ⚠️
...widgets/element-toolbar/change-connector-button.ts 0.00% 23 Missing ⚠️
...ock/widgets/element-toolbar/change-frame-button.ts 0.00% 14 Missing ⚠️
blocksuite/affine/model/src/themes/color.ts 31.57% 13 Missing ⚠️
...ock/widgets/element-toolbar/change-brush-button.ts 0.00% 13 Missing ⚠️
...ksuite/affine/shared/src/services/theme-service.ts 0.00% 11 Missing ⚠️
...lock/widgets/element-toolbar/change-note-button.ts 0.00% 11 Missing ⚠️
...ot-block/edgeless/components/color-picker/utils.ts 12.50% 7 Missing ⚠️
...suite/affine/block-note/src/note-edgeless-block.ts 0.00% 3 Missing ⚠️
...ock/edgeless/components/panel/line-styles-panel.ts 0.00% 3 Missing ⚠️
... and 5 more
Additional details and impacted files
@@                               Coverage Diff                               @@
##           fundon/12_23_update_edgeless_color_palette    #9254       +/-   ##
===============================================================================
- Coverage                                       49.09%   34.06%   -15.04%     
===============================================================================
  Files                                            2087     1864      -223     
  Lines                                           95365    86632     -8733     
  Branches                                        15952    13707     -2245     
===============================================================================
- Hits                                            46820    29511    -17309     
- Misses                                          47418    56770     +9352     
+ Partials                                         1127      351      -776     
Flag Coverage Δ
server-test 78.09% <ø> (ø)
unittest 11.46% <20.00%> (-15.12%) ⬇️

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.

@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 5 times, most recently from d690394 to 74b4433 Compare December 24, 2024 04:41
@fundon fundon changed the title feat: store real color values in edgeless feat(editor): store real color values in edgeless Dec 24, 2024
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 67fb7ca to 4eb17c1 Compare December 24, 2024 05:17
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 5 times, most recently from add24e1 to 93d7525 Compare December 24, 2024 06:14
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 4eb17c1 to 49033af Compare December 24, 2024 06:24
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 3 times, most recently from 9c7fac8 to 9907200 Compare December 24, 2024 06:44
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from bbd7b50 to ca0580a Compare December 27, 2024 13:20
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 2 times, most recently from 5917d08 to e2d430b Compare December 27, 2024 13:28
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from ca0580a to 4cbe5cc Compare December 27, 2024 22:12
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from e2d430b to 9455a76 Compare December 27, 2024 22:12
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 4cbe5cc to 95319bf Compare December 27, 2024 22:15
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 9455a76 to 4ae24ec Compare December 27, 2024 22:15
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 95319bf to 2185620 Compare December 28, 2024 07:13
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch 2 times, most recently from a34b6f6 to 4f5effc Compare December 28, 2024 07:16
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 2185620 to 992604d Compare December 28, 2024 07:41
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 4f5effc to 05d71f3 Compare December 28, 2024 07:42
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 992604d to affc667 Compare December 29, 2024 06:52
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 05d71f3 to 1c71bac Compare December 29, 2024 06:52
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from affc667 to f83138d Compare December 29, 2024 06:59
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 1c71bac to 9f4210d Compare December 29, 2024 06:59
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from f83138d to a1d9dd1 Compare December 29, 2024 07:11
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 9f4210d to bff3563 Compare December 29, 2024 07:12
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from a1d9dd1 to 8021f28 Compare December 29, 2024 07:46
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from bff3563 to 8ce4753 Compare December 29, 2024 07:46
@fundon fundon force-pushed the fundon/12_23_update_edgeless_color_palette branch from 8021f28 to 8059ba4 Compare December 29, 2024 08:09
@fundon fundon force-pushed the fundon/12_23_store_real_color_values_in_edgeless branch from 8ce4753 to fada2b8 Compare December 29, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:core test Related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants