-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
refactor(component): adjust active editor atom #5457
Conversation
Your org has enabled the Graphite merge queue for merging into canaryYou must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. You can enable merging using labels in your Graphite merge queue settings. |
Current dependencies on/for this PR: This stack of pull requests is managed by Graphite. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## canary #5457 +/- ##
=======================================
Coverage 67.04% 67.04%
=======================================
Files 199 199
Lines 15692 15692
Branches 1115 1115
=======================================
Hits 10521 10521
Misses 5011 5011
Partials 160 160
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c91c225
to
5291a0c
Compare
5291a0c
to
50b26b2
Compare
Merge activity
|
before: set global `blocksuiteEditorAtom` state in `<BlocksuiteEditorImpl />` after: Rename `blocksuiteEditorAtom` to `activeBlocksuiteEditorAtom` And move the logic of setting this atom to `<PageDetailEditor />`. benefit: * make BlocksuiteEditor pure * keep @toeverything/component clear * Clarify the purpose of `activeBlocksuiteEditorAtom`
50b26b2
to
6844b28
Compare
before:
set global
blocksuiteEditorAtom
state in<BlocksuiteEditorImpl />
after:
Rename
blocksuiteEditorAtom
toactiveBlocksuiteEditorAtom
And move the logic of setting this atom to
<PageDetailEditor />
.benefit:
activeBlocksuiteEditorAtom