-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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: create workspace from loading existing exported file #2122
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2122 +/- ##
==========================================
- Coverage 71.59% 68.23% -3.37%
==========================================
Files 298 279 -19
Lines 6644 6230 -414
Branches 1078 912 -166
==========================================
- Hits 4757 4251 -506
- Misses 1688 1758 +70
- Partials 199 221 +22
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
affine-toeverythingBundle maindiff ------------------- Bundle Size Diff -------------------------
@@ EntryPoint: main @@
## master …-from-db-file +/- ##
===================================================================
< Bundle 3.11 MB 3.15 MB +41.5 kB(+1.33%)
< Initial JS 1.86 MB 1.87 MB +9.9 kB(+0.53%)
< Initial CSS 16.8 kB 20.9 kB +4.13 kB(+24.66%)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets 41 48 +7
< Chunks 39 43 +4
< Packages 132 134 +2
= Duplicates 3 3
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files
! Avoid non-minified assets
! Avoid cache wasting
@@ EntryPoint: pages/_app @@
## master …-from-db-file +/- ##
===================================================================
< Bundle 3 MB 3.03 MB +32 kB(+1.07%)
< Initial JS 1.75 MB 1.75 MB +459 B(+0.03%)
< Initial CSS 16.8 kB 20.9 kB +4.13 kB(+24.66%)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets 39 46 +7
< Chunks 37 41 +4
< Packages 132 134 +2
= Duplicates 3 3
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Separate mixed content assets files
! Avoid non-minified assets
! Avoid cache wasting
@@ EntryPoint: pages/_error @@
## master …-from-db-file +/- ##
===================================================================
= Bundle 16.6 kB 16.6 kB
= Initial JS 16.6 kB 16.6 kB
= Initial CSS 0 B 0 B
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets 2 2
= Chunks 2 2
= Packages 5 5
= Duplicates 0 0
...and more |
This pull request adds the feature to export and import workspaces as SQLite files, refactors the IPC communication between the main and renderer processes in the Electron app, and fixes some bugs.
Data flow design
How does adding workspace work behind the scene
How does main registers handlers?
New workspace:
new-w.mp4
Add workspace (import from existing db file):
add-w.mp4
New workspace general setting