-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ feat: Implement Conversation Duplication & UI Improvements #5011
Conversation
- feat: add conversation duplication functionality - fix: resolve OGDialogTemplate display issues - style: improve mobile dropdown component design - chore: standardize shared link title formatting
… input focus styles
import * as Ariakit from '@ariakit/react'; | ||
import { Ellipsis, Share2, Archive, Pen, Trash } from 'lucide-react'; | ||
import * as Menu from '@ariakit/react/menu'; | ||
import { ForkOptions } from 'librechat-data-provider'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused import, fixing this
@@ -390,6 +393,7 @@ export default { | |||
'Are you sure you want to delete this Assistant? This cannot be undone.', | |||
com_ui_rename: 'Rename', | |||
com_ui_archive: 'Archive', | |||
com_ui_duplicate: 'Duplicate', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"duplicate" localization key here when rebasing
@@ -573,6 +573,39 @@ export const useDeleteConversationMutation = ( | |||
); | |||
}; | |||
|
|||
export const useDuplicateConversationMutation = ( | |||
options?: t.DeleteConversationOptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeleteConversationOptions
is mistakenly used here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also types do not reflect usage, had to be fixed
Summary
This pull request introduces several new features and improvements, including the ability to duplicate conversations, enhancements to UI components, and code refactoring for better readability and consistency. The most important changes are summarized below:
New Features:
api/server/routes/convos.js
,api/server/utils/import/fork.js
,client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
) [1] [2] [3] [4] [5]UI Enhancements:
client/src/components/Chat/Input/Files/AttachFileMenu.tsx
,client/src/components/Conversations/Convo.tsx
,client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx
,client/src/components/Nav/SettingsTabs/Data/RevokeKeysButton.tsx
) [1] [2] [3] [4] [5]Code Refactoring:
client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
,client/src/components/ui/Dropdown.tsx
,client/src/components/ui/DropdownPopup.tsx
) [1] [2] [3] [4] [5]Bug Fixes:
api/server/routes/convos.js
)client/src/components/Conversations/Convo.tsx
)Other Minor Changes:
client/src/components/Conversations/Convo.tsx
,client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx
) [1] [2]Change Type
Checklist