Skip to content

Enhance backup, synchronization features, and UI improvements - #308

Merged
jetyu merged 3 commits into
previewfrom
develop
Aug 25, 2026
Merged

Enhance backup, synchronization features, and UI improvements#308
jetyu merged 3 commits into
previewfrom
develop

Conversation

@jetyu

@jetyu jetyu commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

Type of Change

  • Bug fix
  • Feature
  • Documentation
  • Refactor
  • Build, CI, or release
  • Other

Related Issues

Closes #

Changes

Testing

  • npm run build:main
  • npm run build:preload
  • npm run typecheck
  • npm run lint
  • npm run test:unit
  • Not run

Checklist

  • I kept this pull request focused and avoided unrelated refactors.
  • I followed the Electron layer boundary: Renderer → Preload/Bridge → Main.
  • I validated IPC input at the boundary when applicable.
  • I avoided any, @ts-ignore, and unnecessary @ts-expect-error.
  • I updated Simplified Chinese locale files for new or changed user-visible UI text.
  • I updated documentation when behavior, setup, or user-facing functionality changed.
  • I considered privacy, security, and user-data impact.

jetyu and others added 2 commits August 22, 2026 22:32
## Summary
- 

## Type of Change

- [x] Bug fix
- [x] Feature
- [ ] Documentation
- [x] Refactor
- [ ] Build, CI, or release
- [ ] Other

## Related Issues

Closes #

## Changes

- 

## Testing

- [ ] `npm run build:main`
- [ ] `npm run build:preload`
- [ ] `npm run typecheck`
- [ ] `npm run lint`
- [ ] `npm run test:unit`
- [ ] `Not run`

## Checklist

- [ ] I kept this pull request focused and avoided unrelated refactors.
- [ ] I followed the Electron layer boundary: Renderer → Preload/Bridge
→ Main.
- [ ] I validated IPC input at the boundary when applicable.
- [ ] I avoided `any`, `@ts-ignore`, and unnecessary `@ts-expect-error`.
- [ ] I updated Simplified Chinese locale files for new or changed
user-visible UI text.
- [ ] I updated documentation when behavior, setup, or user-facing
functionality changed.
- [ ] I considered privacy, security, and user-data impact.

---------

Co-authored-by: Jet <2314520+jetyu@users.noreply.github.com>
## Summary
- 

## Type of Change

- [ ] Bug fix
- [ ] Feature
- [ ] Documentation
- [ ] Refactor
- [ ] Build, CI, or release
- [ ] Other

## Related Issues

Closes #

## Changes

- 

## Testing

- [ ] `npm run build:main`
- [ ] `npm run build:preload`
- [ ] `npm run typecheck`
- [ ] `npm run lint`
- [ ] `npm run test:unit`
- [ ] `Not run`

## Checklist

- [ ] I kept this pull request focused and avoided unrelated refactors.
- [ ] I followed the Electron layer boundary: Renderer → Preload/Bridge
→ Main.
- [ ] I validated IPC input at the boundary when applicable.
- [ ] I avoided `any`, `@ts-ignore`, and unnecessary `@ts-expect-error`.
- [ ] I updated Simplified Chinese locale files for new or changed
user-visible UI text.
- [ ] I updated documentation when behavior, setup, or user-facing
functionality changed.
- [ ] I considered privacy, security, and user-data impact.

---------

Co-authored-by: Jet <2314520+jetyu@users.noreply.github.com>

export function detectWebDavServiceProvider(endpoint: string): WebDavServiceProvider {
const normalized = endpoint.trim().toLowerCase();
if (normalized.includes('dav.jianguoyun.com')) {

export function detectS3ServiceProvider(endpoint: string): S3ServiceProvider {
const normalized = endpoint.trim().toLowerCase();
if (normalized.includes('.aliyuncs.com')) {
if (normalized.includes('.aliyuncs.com')) {
return S3_SERVICE_PROVIDERS.ALIBABA_OSS;
}
if (normalized.includes('.myqcloud.com')) {
if (normalized.includes('.myqcloud.com')) {
return S3_SERVICE_PROVIDERS.TENCENT_COS;
}
if (normalized.includes('.amazonaws.com')) {
if (normalized.includes('.amazonaws.com')) {
return S3_SERVICE_PROVIDERS.AMAZON_S3;
}
if (normalized.includes('.r2.cloudflarestorage.com')) {
@jetyu
jetyu merged commit fc55b3f into preview Aug 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants