fix: adjust navbar and title bar dimensions, update icon handling
feat: implement ChatNavbar component and enhance MainNavbar with search functionality
fix: invert transparency setting for WindowService based on OS
refactor: clean up MainSidebar and useChat hooks, remove unused state handling and improve topic selection logic
refactor: simplify HomeTabs component by removing unused imports and commented code, update AssistantAddItem hover styles
fix: set WindowService transparency to false for consistent behavior across platforms
feat: add event listener to MainSidebar for topic tab navigation
feat: enhance summarization prompt and add topic sidebar visibility toggle
feat(Inputbar): add SettingButton component for settings access
style(color.scss): update border color to improve UI consistency
style: update chat background colors and margins for improved UI consistency
refactor(MainSidebar, i18n): update MCP title in sidebar and localization files, remove unused MCP entries
feat: remove prompt component
refactor(SettingsTab, OpenAISettingsGroup): restructure settings components for improved readability and maintainability, update layout and styling for better user experience
feat(ChatNavbar): add maximize and minimize icons for narrow mode toggle
style(markdown.scss, CodeBlockView): update border-radius for improved UI consistency and adjust CodeBlock styling
style(SettingsTab, OpenAISettingsGroup): adjust padding and minimum height for improved layout, comment out unused components for cleaner code
fix(i18n, MessageEditor, Settings): update localization keys for code settings and adjust border radius in MessageEditor, add gap to SettingRow for improved layout
feat(ChatNavbar, SVGIcon): add ExpandWidth icon and integrate it into ChatNavbar for narrow mode toggle
refactor(ImageBlock, MessageBlockRenderer): enhance image block styling and layout for better responsiveness
refactor(MessageAttachments): enhance file icon rendering and filename display with truncation for better UX
feat(MainSidebar, AssistantItem): integrate AssistantItem into MainSidebar for topic view, enhance event handling and styling adjustments
refactor(MessageAnchorLine): replace DownOutlined icon with CircleChevronDown for improved styling
feat(NarrowModeIcon, ChatNavbar): add NarrowModeIcon component and integrate it into ChatNavbar for narrow mode toggle
fix(MainSidebar, Inputbar, McpServersList): update event handling, adjust textarea rows, and enhance DragableList styling for improved layout and functionality
feat(MainSidebar): enhance submenu animation with framer-motion for improved user experience
style(CodeEditor, markdown.scss, SettingsTab): update border-radius to inherit and remove unused SettingDivider for improved consistency
style(MainNavbar, Message): adjust padding in MainNavbar and refine alignment logic in MessageItem for improved layout consistency
style(Inputbar, SelectModelButton): adjust margins and padding for improved layout consistency and add icon to SelectModelButton
wip
feat(MainSidebar): restructure sidebar components and add MainNavbar for enhanced navigation and user experience
style(MainSidebar, AssistantsTab): adjust margins and padding for improved layout consistency, integrate Scrollbar component for better scrolling experience
fix(MessageAnchorLine): prevent rendering of clear message type
refactor(SearchMessage, TopicMessages, MessagesService): update locateToMessage function to accept additional parameters for setting active assistant and topic, enhancing navigation logic
style(ColorStyles, Messages): update chat background colors for improved visibility and remove redundant background styles in message bubbles
revert: hide token show
refactor: settings tab
refactor(ChatNavbar): remove unused topic handling and simplify shortcut functions
fix(useChat): prevent setting active topic if it already exists in active assistant's topics
refactor(NavigationHandler, ChatNavbar, HomePage, MainSidebar): streamline navigation logic and remove unused code
chore: update react-router and react-router-dom to version 7.6.2, refactor routing logic in App component to use a RouteContainer for better location management
refactor(i18n): remove unused topic position settings and assistant display options from English, Japanese, Russian, Chinese, and Greek translations
refactor(MainSidebar, PinnedApps): remove unused imports and streamline component structure; update styling for better layout
refactor(TopicsTab): remove unused setTopicPosition function and streamline topic time display; update font size and family for TopicTime component
refactor(MainSidebar): integrate UserPopup for user settings access; streamline theme toggle logic and enhance styling for active menu items
refactor: remove topic position
fix(MainSidebar): update settings navigation path from '/settings/general' to '/settings/provider'
wip
refactor(SettingsTab): replace StyledSelect with Selector component and update styles for better UI consistency
chore(release): update fetch depth in GitHub Actions workflow for full history retrieval
fix(SelectionService): enhance selection and clipboard handling
- Updated processSelectTextByShortcut to include a check for the 'started' state before processing.
- Modified writeToClipboard to ensure it only attempts to write if the selectionHook is available and 'started'.
- Adjusted ShortcutSettings to filter out additional shortcuts when not on Windows, improving platform compatibility.
* feat(SelectionAssistant): add shortcut for selecting text and update trigger modes
- Introduced a new trigger mode 'Shortcut' in SelectionService to handle text selection via shortcuts.
- Implemented processSelectTextByShortcut method to process selected text when the shortcut is activated.
- Updated ShortcutService to register the new selection_assistant_select_text shortcut.
- Enhanced localization for the new shortcut and updated descriptions for trigger modes in multiple languages.
- Adjusted SelectionAssistantSettings to include tooltip information for the new shortcut option.
* fix: should destroy window when disable
* feat: add plain text copy functionality for messages and topics.
* refactor: move minapp settings to minapp page
* fix: add success message after copying topic and message as text
* fix: refactor test imports and add mocks for translation and window.message
---------
Co-authored-by: Guscccc <Augustus.Li@outlook.com>
Co-authored-by: kangfenmao <kangfenmao@qq.com>
Co-authored-by: 自由的世界人 <3196812536@qq.com>
* feat: add toggle selection assistant functionality and corresponding shortcuts
- Implemented toggleEnabled method in SelectionService to manage the selection assistant state.
- Registered new shortcut for toggling the selection assistant in ShortcutService.
- Updated StoreSyncService to sync the selection assistant state across renderer windows.
- Added localization for the toggle selection assistant feature in multiple languages.
- Adjusted ShortcutSettings to conditionally display the toggle selection assistant shortcut based on the platform.
- Included toggle selection assistant in the initial state of shortcuts in the store.
* fix: shortcut key
* fix: accelerator name
* fix: bubble-style unnecessary menu background
* fix: show divider in message only in plain mode
* fix: bubble user message style in dark mode
* fix: action button hover style
* refactor: The rendering position of the message menbar is determined by the settings
* fix: bubble style assistant message token usage left align
* fix: bubble style
* fix: bubble style
* fix: text color and bubble edit
* fix: bubble editing
* fix: bubble editing
* fix: bubble editor
* fix: editor width
* fix: remove redundant tokens usage
* fix: not unified token font size and color
* fix: unexpected display behavior in plain mode
* fix: info style
* fix: bubble style
* fix: Style fixes for better compatibility
* fix: bubble style
* fix: Move the menu of the last message to the outside
* fix: bubble style
* fix: why this happened?
* feat: add description for messages divider in settings
* fix: 谁想出来的上下margin不一样还是神秘数字
* fix: new context style
* feat(TranslatePage): add user-selectable source language with auto-detection
* fix: update detected language label for consistency across translations
---------
Co-authored-by: Pleasurecruise <3196812536@qq.com>
* feat: enhance unresponsive renderer handling and crash reporting
* Added support for collecting JavaScript call stacks from unresponsive renderers.
* Updated the Document Policy in the HTML to include JS call stacks in crash reports.
* Removed legacy unresponsive logging from WindowService.
* feat: improve unresponsive renderer handling and update crash reporting
* Added session web request handling to include Document-Policy for JS call stacks in crash reports.
* Removed legacy Document-Policy meta tag from HTML.
* Enhanced logging for unresponsive renderer call stacks.
* fix: remove unused session import in index.ts
---------
Co-authored-by: beyondkmp <beyondkmkp@gmail.com>