You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/server/router/api/v1
Steven 4c1d1c70d1 refactor: rename workspace to instance throughout codebase
Remove work-related terminology by renaming "workspace" to "instance"
across the entire application. This change better reflects that Memos
is a self-hosted tool suitable for personal and non-work use cases.

Breaking Changes:
- API endpoints: /api/v1/workspace/* → /api/v1/instance/*
- gRPC service: WorkspaceService → InstanceService
- Proto types: WorkspaceSetting → InstanceSetting
- Frontend translation keys: workspace-section → instance-section

Backend Changes:
- Renamed proto definitions and regenerated code
- Updated all store layer methods and database drivers
- Renamed service implementations and API handlers
- Updated cache from workspaceSettingCache to instanceSettingCache

Frontend Changes:
- Renamed service client: workspaceServiceClient → instanceServiceClient
- Updated all React components and state management
- Refactored stores: workspace.ts → instance.ts
- Updated all 32 locale translation files

All tests pass and both backend and frontend build successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
8 months ago
..
test refactor: rename workspace to instance throughout codebase 8 months ago
acl.go chore: fix reactions seed data 9 months ago
acl_config.go refactor: rename workspace to instance throughout codebase 8 months ago
activity_service.go chore: fix linter 8 months ago
attachment_service.go refactor: rename workspace to instance throughout codebase 8 months ago
auth.go chore: fix reactions seed data 9 months ago
auth_service.go refactor: rename workspace to instance throughout codebase 8 months ago
auth_service_client_info_test.go chore: fix linter 10 months ago
common.go refactor: remove unused constants 9 months ago
health_service.go
idp_service.go chore: fix linter 10 months ago
instance_service.go refactor: rename workspace to instance throughout codebase 8 months ago
logger_interceptor.go chore: add a new LOG_STACKTRACES option (#4973) 11 months ago
memo_attachment_service.go feat: attachments by id (#5008) 11 months ago
memo_relation_service.go refactor: update markdown parser 9 months ago
memo_service.go refactor: rename workspace to instance throughout codebase 8 months ago
memo_service_converter.go refactor: rename workspace to instance throughout codebase 8 months ago
memo_service_filter.go refactor: deprecate old filter 12 months ago
reaction_service.go fix: add user authentication checks 9 months ago
resource_name.go refactor: rename workspace to instance throughout codebase 8 months ago
shortcut_service.go refactor: remove unused constants 9 months ago
test_auth.go fix: auth context 1 year ago
user_service.go refactor: rename workspace to instance throughout codebase 8 months ago
user_service_stats.go refactor: rename workspace to instance throughout codebase 8 months ago
v1.go refactor: rename workspace to instance throughout codebase 8 months ago