feat: add default workspace feature#1978
Closed
ramonouyang wants to merge 1 commit into
Closed
Conversation
- Add useDefaultWorkspace composable for managing default workspaces - Support multiple default workspaces with chip-based UI - Add star icon to pin/unpin current workspace as default - Show default workspace chips with '/' separator - Implement dropdown menu for overflow workspaces - Highlight active workspace chip with theme-consistent style - Add tooltip for full path display in FolderPicker - Add i18n translations for workspace-related UI elements Features: - Store default workspaces globally in localStorage - Track recent workspace usage for smart selection - Auto-select most recently used default workspace - Visual feedback for selected workspace state - Responsive layout with dynamic visible chip count
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add support for configuring default workspaces in the chat panel, making it convenient for users working on fixed projects.
Features
Implementation Details
useDefaultWorkspacecomposable for state managementFiles Changed
packages/client/src/composables/useDefaultWorkspace.ts(new)packages/client/src/components/hermes/chat/ChatPanel.vuepackages/client/src/components/hermes/chat/FolderPicker.vuepackages/client/src/i18n/locales/en.tspackages/client/src/i18n/locales/zh.tsTesting