Skip to content

✨ feat(storage): add chat data location management - #26

Merged
JS-banana merged 3 commits into
mainfrom
dev
Jun 21, 2026
Merged

JS-banana merged 3 commits into
mainfrom
dev

Conversation

@JS-banana

Copy link
Copy Markdown
Owner

No description provided.

Add ability to choose and manage chat data storage location:
- New ChatDataLocationState/ActionResult types in shared-types
- Main process logic for migration, validation, and directory selection
- IPC handlers for get/choose/restore operations
- Preload API bridge for renderer access
- Settings UI with current/pending location display
- Restart-required notification for location changes
- ADR documenting storage location decisions
- Comprehensive test coverage (11 tests)

This allows users to store chat data outside the default Electron
userData directory, with proper migration and fallback handling.
Add ability to choose and manage chat data storage location:
- New ChatDataLocationState/ActionResult types in shared-types
- Main process logic for migration, validation, and directory selection
- IPC handlers for get/choose/restore operations
- Preload API bridge for renderer access
- Settings UI with current/pending location display
- Restart-required notification for location changes
- Workspace actions for choose/restore operations
- ADR documenting storage location decisions
- Comprehensive test coverage (App + SettingsPage + chat-data-location)
- Update CONTEXT.md with 聊天数据位置 and 聊天数据清理 terms

This allows users to store chat data outside the default Electron
userData directory, with proper migration and fallback handling.
@JS-banana
JS-banana merged commit 78bb8d5 into main Jun 21, 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