-
-
Notifications
You must be signed in to change notification settings - Fork 12.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(service): Seperate data import and export services #3241
♻️ refactor(service): Seperate data import and export services #3241
Conversation
@CloudPassenger is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3241 +/- ##
==========================================
- Coverage 92.45% 91.81% -0.65%
==========================================
Files 482 489 +7
Lines 34363 34789 +426
Branches 2125 2128 +3
==========================================
+ Hits 31772 31940 +168
- Misses 2591 2849 +258
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/const/version.ts
Outdated
@@ -4,3 +4,5 @@ import { getServerDBConfig } from '@/config/db'; | |||
export const CURRENT_VERSION = pkg.version; | |||
|
|||
export const isServerMode = getServerDBConfig().NEXT_PUBLIC_ENABLED_SERVER_SERVICE; | |||
|
|||
// 检查是否存在配置遗留 |
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.
no need?
please keep the coverage of |
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.
need a rebase now
881ad71
to
bd9388e
Compare
@CloudPassenger rebase 下? |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
export 这部分要结合 #5581 重写了,这个PR我先关了~ |
Export This part needs to be rewritten in combination with #5581, I will close this PR first~ |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Refactor data import and export services to complete a TODO task
📝 补充信息 | Additional Information
A prompt screen will be implemented later to prompt the user to upload data from the IndexedDB to the server after the server-side database has been set up to optimise the user experience (no need to backup restore data beforehand).