Skip to content

feat: 删除服务端依赖#1

Merged
kooksee merged 27 commits into
mainfrom
refactor/3
May 29, 2026
Merged

feat: 删除服务端依赖#1
kooksee merged 27 commits into
mainfrom
refactor/3

Conversation

@kooksee

@kooksee kooksee commented May 29, 2026

Copy link
Copy Markdown

No description provided.

kooksee added 26 commits May 28, 2026 11:22
…tments

- Added support for local-only mode in workspace creation, deletion, and updates.
- Modified job handlers to cancel operations in local-only mode.
- Updated file upload and download processes to handle local files.
- Adjusted UI components to hide account and server settings when in local-only mode.
- Introduced a utility function to check for local-only mode.
- Created a migration plan for transitioning to a fully local desktop application.
- Deleted `mutations-sync.ts`, `server-sync.ts`, and `token-delete.ts` job handlers as they are no longer needed.
- Removed corresponding mutation definitions for server sync and token deletion.
- Updated the mutation service to directly call sync methods instead of scheduling jobs.
- Refactored various services to check for local-only mode before executing sync operations.
- Enhanced the UI to support changing the local storage directory with appropriate user feedback.
- Deleted email registration, password reset initialization, and completion forms to streamline authentication process.
- Removed associated routes and components for registration and password reset.
- Updated login component to remove unnecessary navigation links.
- Refactored sidebar settings to eliminate logout option.
- Cleaned up unused imports and components related to account settings and logout functionality.
- Deleted email login form, email verification form, and Google login components.
- Removed login tab and main login logic from the application.
- Cleaned up server-related components and contexts, including server provider and settings dialogs.
- Updated routing to remove authentication-related routes and redirects.
- Simplified workspace component by removing unnecessary server context.
- Deleted all test files related to API mutations, workspaces, synchronizers, and utility functions.
- Removed global setup and environment setup files for tests.
- Eliminated helper functions used for seeding test data.
- Cleaned up tsconfig and build configurations for the server.
- Removed turbo configuration for task management.
- Deleted vitest configuration for testing framework setup.
…rfile

- Deleted the entire Colanode Kubernetes Helm chart including README, templates, and values files.
- Removed the custom PostgreSQL Dockerfile that included the pgvector extension.
- This cleanup is part of the effort to streamline the deployment process and remove deprecated components.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions the repository to a local-first architecture by completely removing the server and mobile applications, focusing entirely on the desktop and web clients. Key updates include simplifying the documentation, adding macOS signing configurations to Electron Forge, and introducing local-only bootstrapping and custom storage directory management in the desktop app. The code review identified a critical issue in 'apps/desktop/src/main.ts' where 'fs' and 'path' are used without being imported, which would cause a runtime crash. Additionally, it was recommended to rename the 'app' parameter in 'ensureLocalOnlyBootstrap' to avoid shadowing the global 'app' variable.

Comment thread apps/desktop/src/main.ts
Comment thread apps/desktop/src/main.ts
@kooksee kooksee changed the title 删除服务端依赖 feat: 删除服务端依赖 May 29, 2026
@kooksee kooksee merged commit 31c8a2f into main May 29, 2026
1 check 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.

1 participant