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>
fix: improve dropdown menu styling and placement in MessageMenubar component
- Set a maximum height and overflow behavior for the dropdown menu to enhance usability.
- Changed the dropdown placement from "topRight" to "top" for better alignment with the UI.
* fix(Markdown): eliminate hydration error from image `<div>` nested in `<p>`
Signed-off-by: Chan Lee <Leetimemp@gmail.com>
* feat: add support for reading local files in binary format
Signed-off-by: Chan Lee <Leetimemp@gmail.com>
* refactor(ImageViewer): Consolidate image rendering for unified display and context menu
Signed-off-by: Chan Lee <Leetimemp@gmail.com>
---------
Signed-off-by: Chan Lee <Leetimemp@gmail.com>
* feat: add update channel functionality for beta testing
- Introduced a new IPC channel for setting the update channel.
- Implemented logic in AppUpdater to handle update channel changes.
- Updated settings to include a beta testing toggle, allowing users to switch between stable and beta update channels.
- Enhanced the settings UI to reflect the new beta testing option.
* add i18n
* update i18n
* update i18n
* refactor: rename update channel to feed URL and update related functionality
- Changed IPC channel from App_SetUpdateChannel to App_SetFeedUrl.
- Updated AppUpdater to set feed URL instead of update channel.
- Modified preload and settings to reflect the new feed URL functionality.
- Added constants for production and early access feed URLs.
* refactor: remove setAutoUpdate method from API
- Eliminated the setAutoUpdate method from the API object in preload index, streamlining the IPC communication interface.
* refactor: update early access feed URL and improve tooltip descriptions
- Changed EARLY_ACCESS_FEED_URL to point to the latest GitHub release.
- Simplified the setEarlyAccess function to directly set the feed URL.
- Added tooltips for early access settings in multiple languages to inform users about potential instability and the need for data backup.
* feat(migrate): add early access setting to state configuration
- Introduced a new state setting 'earlyAccess' and initialized it to false in the migration configuration.
* fix(i18n): update early access tooltip translations for clarity
- Revised the tooltip descriptions for the early access feature in English, Simplified Chinese, and Traditional Chinese to enhance clarity and ensure consistency in messaging regarding potential instability and the importance of data backup.
* feat: introduce FeedUrl enum for centralized feed URL management
- Added a new enum `FeedUrl` in the constants file to define production and early access feed URLs.
- Updated relevant IPC handlers and services to utilize the `FeedUrl` enum for type safety and consistency.
- Refactored the configuration manager to include methods for getting and setting the feed URL using the new enum.
* feat(settings): initialize early access and auto-update settings in AboutSettings component
- Added initialization for early access and auto-check update settings in the AboutSettings component to enhance user configuration options.
---------
Co-authored-by: beyondkmp <beyondkmkp@gmail.com>