kangfenmao
200d78a140
feat: Enhanced UI/UX with design updates, i18n, and feature enhancements.
...
- Updated design styles for segmented tabs and size adjustments for assistive elements.
- Added internationalization translations for English and Chinese.
- Removed unused import and functionality for switching topics sidebar.
- Added functionality to hide or show the right sidebar in the Chat page.
- Renamed Assistants component to RightSidebar.
- Improved functionality for showing and toggling topics and settings in the input bar.
- Removed unused imports and refactored Navbar component layout.
- Updated existing right sidebar functionality to allow for custom position and show topic settings.
- Removed inline styles for width from Settings component Container styles.
- Added new features for managing topics in the home page, including drag and drop functionality, a "show all" button for viewing more topics, and improved handling of large topic lists.
2024-09-08 15:56:16 +08:00
kangfenmao
9a502b5e47
refactor: Improve code reusability and model service logic
...
- Improved code reusability in ModelSettings component by utilizing the hasModel function and Memoization.
- Refactored model service to include logic for checking if a model exists and retrieving its unique ID.
2024-09-08 10:13:15 +08:00
kangfenmao
eb18be200e
feat: Improved UI components and added new features
...
- Replaced 'CopyOutlined' icon with custom 'CopyIcon'.
- Replaced Topics component with RightSidebar component to match topicPosition settings.
- Removed unused imports and updated UI components in the Inputbar.
- Implemented a new Token Count component for displaying context and estimated token information in the input bar.
- Adjusted the height of code block header.
- Added functionality to toggle theme opacity.
- Added functionality to dynamically change the sidebar border style based on stored settings.
- Updated CSS styles for dynamic topic list width and padding adjustments.
- Removed unused import and styles to improve code efficiency and reduce clutter.
2024-09-07 18:11:27 +08:00
kangfenmao
467e97ff4b
feat: Improved model selection and unique id generation
...
- Improved dropdown menu selection logic for models.
- Changes improve ModelSettings component to use getModelUniqId function for model identifiers.
- Added modeling service functionality to generate unique model identifiers.
2024-09-07 18:11:13 +08:00
kangfenmao
37b0a175f7
feat: Add theme switching to Navbar
...
- Added a new theme switching functionality to the Navbar.
2024-09-06 18:03:06 +08:00
kangfenmao
b2b79f12a2
feat: Enhanced code block styling in Markdown editor
...
- Added styles for code blocks in markdown to match the application's design.
- Improved the rendering of code blocks in the Markdown editor by adding a border and changing the default display in dark mode.
2024-09-06 17:58:15 +08:00
kangfenmao
e61e4b109a
refactor: Remove unused CSS classes and optimize conditional styling
...
- Removed unused CSS classes and optimized code for conditional styling.
2024-09-06 15:53:58 +08:00
kangfenmao
f3bafbeb52
feat: Update UI components and styling for consistency and readability.
...
- Updated icon font asset reference URL to reflect a new timestamp.
- Updated icon-fonts file asset.
- Updated markdown styling to adjust margins and padding of pre-formatted text elements.
- Added Windows-specific styling to the Inputbar component.
- Improved the rendering of code blocks with a focus on readability and theming consistency.
- Added new 'plain' attribute to Divider component for 'clear' message type.
- Minor adjustments made to the navigation bar styles and layout.
2024-09-06 15:41:46 +08:00
kangfenmao
e55c0cdcef
feat: Update context count logic
...
- Updated logic for determining context count based on clear messages.
2024-09-06 14:17:22 +08:00
kangfenmao
e73bbf4d6a
style: Update toolbar button hover and active states
...
- Updated styles and icons for hover and active states of toolbar buttons.
2024-09-06 14:12:01 +08:00
kangfenmao
3859289218
style: Update styling and input bar characters.
...
- Updated styling and characters added to input bar.
2024-09-06 14:07:45 +08:00
kangfenmao
591bb45a4e
feat: Improved chat UI with context handling and filtering #43
...
- Updated default context count from 5 to 6.
- Updated string translations for multiple languages.
- Added functionality to handle new context and update context count in Inputbar component.
- Added support for displaying new chat context divider for 'clear' type messages.
- Added functionality to emit estimated token count with context count when the estimated token count event is triggered.
- Improved filtering and processing of user messages for the AnthropicProvider class.
- Updated message filtering logic with context consideration.
- Improved filtering of user messages to include only context-relevant messages.
- Updated logic to pass messages directly to AI.completions and AI.suggestions API requests instead of filtered messages.
- Added new event names for handling topic sidebar and context switching.
- Improved handling of message filtering and context counting.
- Added new valid value 'clear' to type option in Message type.
2024-09-06 13:54:48 +08:00
kangfenmao
b31f518fca
fix: Handle Enter key press event in input field
...
- Updated handling for Enter key press event in input field to match shortcut settings.
2024-09-06 11:34:55 +08:00
kangfenmao
dfbdb989db
feat: Update icon font and navigation buttons
...
- Updated icon font references and added new icon font glyphs.
- Updated icon font file for improved rendering.
- Updated icon font sizes and hover animations for navigation buttons.
- Removed border styles from styled Container component.
- Removed unused import and updated icon for '/settings/model' menu item.
2024-09-06 10:00:18 +08:00
kangfenmao
ab0e7e1e07
feat: change topics position
2024-09-05 23:53:47 +08:00
kangfenmao
d809f50c0e
feat: Update Content-Security-Policy to allow file: frame-src #38
...
- Updated Content-Security-Policy directive to allow frame-src from file: in the HTML document.
2024-09-05 17:19:17 +08:00
kangfenmao
a48d24de26
refactor: renamed and refactored topic properties and added date-time tracking
...
- Renamed localforage topic item property from topic object to id.
- Added date-time tracking for assistant topics.
- Incremented the store version to 24.
- Refactored migrate function to add support for local storage and update topics timestamps.
- Added createdAt and updatedAt properties to Topic type.
2024-09-05 16:15:48 +08:00
kangfenmao
0dacc20e74
docs(DragableList): improve types and props documentation for DragDropContext responders
2024-09-05 15:30:26 +08:00
kangfenmao
08df6cb4f8
feat: highlight acitve topic icon
2024-09-05 14:36:19 +08:00
kangfenmao
0676ac8942
feat: quickly edit the asistant on edit title #42
2024-09-05 13:41:47 +08:00
kangfenmao
c257e8f0fe
fix: anthropic first message must use the user role #39
...
{"type":"error","error":{"type":"invalid_request_error","message":"messages: first message must use the "user" role"}}
2024-09-05 13:35:16 +08:00
kangfenmao
521670f683
fix: assistant and topic list style
2024-09-05 00:04:35 +08:00
kangfenmao
e6122a3d36
fix: left sidebar icon
2024-09-04 22:31:39 +08:00
kangfenmao
e6e1502308
feat: remove hashtag title
2024-09-04 21:57:23 +08:00
kangfenmao
4dde49a9f0
feat: new chat style
2024-09-04 21:29:16 +08:00
kangfenmao
ce830b692b
revert: fold topics
2024-09-04 15:37:39 +08:00
kangfenmao
563472f3a9
wip
2024-09-04 13:26:51 +08:00
kangfenmao
14acd45927
feat: transparent window settings
2024-09-04 11:23:45 +08:00
kangfenmao
9e2c7a08df
feat: change assistant sidebar width
2024-09-03 23:37:40 +08:00
kangfenmao
fdd815879a
feat: double click to change assistat view
2024-09-03 22:13:25 +08:00
kangfenmao
615e337e3f
fix: assistant nav style
2024-09-03 20:50:37 +08:00
kangfenmao
acd5d4b192
feat: change default avatar
2024-09-03 20:39:27 +08:00
kangfenmao
9a41b697c6
fix: inputbar height
2024-09-03 20:11:25 +08:00
kangfenmao
5cb67e00a6
feat: change default provider
2024-09-03 20:11:20 +08:00
kangfenmao
350f13e97c
fix: backup and restore i18n
2024-09-03 19:30:21 +08:00
kangfenmao
4d6cbf5073
refactor: provider sdk
2024-09-03 19:00:24 +08:00
kangfenmao
8d7b10d21e
refactor: remove modal enabled key
2024-09-03 13:17:55 +08:00
kangfenmao
6753a93c0d
fix: use webview replace iframe
2024-09-03 13:17:38 +08:00
kangfenmao
9ee763337d
refactor: remove models config enabled
2024-09-03 11:40:46 +08:00
kangfenmao
ace0cb7823
feat: merge assistant and topics
2024-09-03 11:36:57 +08:00
kangfenmao
44e518ef03
refactor: assistant drap and drop
2024-09-02 20:48:31 +08:00
kangfenmao
e28b96b45e
feat: expand inputbar height
2024-09-02 15:38:48 +08:00
kangfenmao
11427a980c
feat: auto change inputbar height
2024-09-02 14:09:03 +08:00
kangfenmao
cb95562e58
feat: add attachment button
2024-09-01 23:22:21 +08:00
kangfenmao
89bdab58f7
feat: hide entry for local ai
2024-08-28 18:11:35 +08:00
kangfenmao
5347bdfa83
refactor: change env file path
2024-08-27 11:58:19 +08:00
kangfenmao
c8711c5804
feat: add local module
2024-08-27 11:31:05 +08:00
kangfenmao
0cbfd26883
build: remove sentry
2024-08-26 18:06:07 +08:00
kangfenmao
ee398489de
build: remove electron-devtools-installer
2024-08-26 18:02:20 +08:00
kangfenmao
71d7c2c738
fix: workspace config
2024-08-26 17:49:19 +08:00
kangfenmao
de4f2599be
refactor: remove unnecessary logs
2024-08-25 21:37:13 +08:00
kangfenmao
93b32e8e21
feat: update user data path
2024-08-25 18:39:53 +08:00
kangfenmao
e353d0f8ee
fix: default assistant name
2024-08-23 21:41:16 +08:00
kangfenmao
dfd42fe9a6
feat: add devv referral code
2024-08-23 20:57:54 +08:00
kangfenmao
b131d320ea
feat: more ai minapp
2024-08-22 18:45:06 +08:00
kangfenmao
b88f4a869e
wip
2024-08-22 16:36:04 +08:00
kangfenmao
461458e5ec
refactor: remove minapp.html
2024-08-22 13:04:24 +08:00
kangfenmao
4c2014f1d6
chore(version): 0.6.0
2024-08-21 10:28:31 +08:00
kangfenmao
647dd3e751
feat: add minapps
2024-08-21 10:14:04 +08:00
kangfenmao
c2a4613e32
fix: windows minapp control button
2024-08-18 23:37:09 +08:00
kangfenmao
5d5c1eee74
feat: change sidebar width
2024-08-18 22:20:09 +08:00
kangfenmao
c1b5e6b183
feat: new input status bar style
2024-08-18 20:44:55 +08:00
kangfenmao
4a26f7ce78
feat: add minimax provider
2024-08-18 18:06:21 +08:00
kangfenmao
8b38ebcac4
fix: hmr recycle
2024-08-18 17:10:59 +08:00
kangfenmao
e8dac28787
fix: graph rag model id
2024-08-17 21:54:34 +08:00
kangfenmao
3ccebb503f
fix: input text
2024-08-17 21:30:28 +08:00
kangfenmao
4d7a3bb8c3
feat: add minapp window
2024-08-17 17:11:48 +08:00
kangfenmao
1996e163c9
feat: add minapp window
2024-08-17 13:30:54 +08:00
kangfenmao
e43f7f87ab
feat: window.app add app path
2024-08-16 22:44:00 +08:00
kangfenmao
47a83fa67f
fix: minapp title null
2024-08-16 22:43:18 +08:00
kangfenmao
b8960ef02c
fix: windows frame background color
2024-08-16 17:41:14 +08:00
kangfenmao
1866b00265
feat: add user edit modal & add prompt block
2024-08-16 17:19:18 +08:00
kangfenmao
d0f5547419
feat: new windows and linux sidebar style
2024-08-14 21:28:44 +08:00
kangfenmao
076011b02b
fix: anthropic message generating error
2024-08-14 20:35:57 +08:00
kangfenmao
ba5c70c45a
feat: add minapp popup
2024-08-14 19:47:58 +08:00
kangfenmao
d0bea0491f
fix(settings): provider list scroll
2024-08-13 21:04:04 +08:00
kangfenmao
2ffedadee4
Revert "feat(translate): use full screen input"
...
This reverts commit b0c479190c .
2024-08-13 20:48:51 +08:00
kangfenmao
7b72783ae7
feat: add graphrag provider
2024-08-13 20:48:38 +08:00
kangfenmao
4485a00395
feat: add doubao provider
2024-08-13 19:41:01 +08:00
kangfenmao
77c0952635
feat: add stepfun provider
2024-08-13 18:02:00 +08:00
kangfenmao
e1c7a25b87
feat: add gemini provider
2024-08-13 16:51:52 +08:00
kangfenmao
b0c479190c
feat(translate): use full screen input
2024-08-13 14:57:46 +08:00
kangfenmao
994ee8d7df
feat: change sidebar opacity
2024-08-12 22:35:35 +08:00
kangfenmao
57f9550891
feat: add font size options to assistant settings pannel
2024-08-12 22:21:47 +08:00
kangfenmao
0c0d1560db
feat: about page add icons
2024-08-12 22:03:16 +08:00
kangfenmao
145d7ee748
refactor: slider onChange event
2024-08-12 21:48:59 +08:00
kangfenmao
52af23b931
feat: enable anthropic api host edit
2024-08-12 21:31:32 +08:00
kangfenmao
f7151bd066
feat: add change message font size feature #22
...
支持消息字体大小调节
2024-08-12 21:28:18 +08:00
kangfenmao
744a1fedba
style(Inputbar): add width: auto to Textarea
2024-08-11 16:18:06 +08:00
kangfenmao
978432d910
fix: clear topic white generating
2024-08-11 16:11:31 +08:00
kangfenmao
b6cb1e4d84
refactor: code format
2024-08-11 15:49:08 +08:00
kangfenmao
4fc53d7c19
feat: new inputbar style
2024-08-09 18:56:45 +08:00
kangfenmao
5dd74a1018
chore(version): 0.5.2
2024-08-08 23:53:18 +08:00
kangfenmao
e028d0600f
fix: windows style
2024-08-08 23:30:55 +08:00
kangfenmao
30a082b979
fix: filter empty user messages
2024-08-08 18:13:15 +08:00
kangfenmao
5a0927393d
feat(message): add error tips
2024-08-08 17:57:57 +08:00
kangfenmao
16c68dcdcb
fix: inputbar height
2024-08-08 17:21:00 +08:00
kangfenmao
b6500977b0
fix: model settings crash
2024-08-08 17:16:45 +08:00
kangfenmao
78cf33e8bc
feat(AssistantSettings.tsx): fix reset functionality
2024-08-08 16:49:18 +08:00
kangfenmao
2f62f04adf
feat(ModelSettings.tsx): sorting model names and capitalizing first letter
2024-08-08 16:36:36 +08:00
kangfenmao
84915b1ede
feat(AboutSettings.tsx): add GithubOutlined icon linking to project repository for better user navigation and project visibility
2024-08-08 16:12:42 +08:00
kangfenmao
3d44fc2208
fix: navbar style on linux
2024-08-08 14:50:36 +08:00
kangfenmao
22e3c0e270
build: add linux target
2024-08-08 11:31:15 +08:00
kangfenmao
5d81874166
fix(i18n): update default assistant emoji from 😀 to 🔆
2024-08-08 09:18:33 +08:00
kangfenmao
f7ef895ce6
chore(version): 0.5.0
2024-08-07 21:55:51 +08:00
kangfenmao
beb40f5baf
feat: fix add assistant search keywords format
2024-08-07 20:57:31 +08:00
kangfenmao
07613e65f5
feat: add max token limit #18
2024-08-07 20:49:21 +08:00
kangfenmao
6185068353
feat: use ubuntu font as default
2024-08-07 14:28:29 +08:00
kangfenmao
61934cd65c
feat add agent popup #14
2024-08-07 13:23:29 +08:00
kangfenmao
5edb53ef7d
feat: add ollama settings
2024-08-06 20:38:01 +08:00
kangfenmao
167988927b
feat: add custom agent #14
2024-08-06 19:18:17 +08:00
kangfenmao
a39beb3841
fix(AboutSettings.tsx): handle errors in update check by setting loading state
2024-08-05 16:15:58 +08:00
kangfenmao
a7427d6cb6
feat(i18n): new topic
2024-08-05 13:14:57 +08:00
kangfenmao
8759a50727
fix: estimate history token count
2024-08-05 13:09:13 +08:00
kangfenmao
7ffa42caa0
feat: input status use tag
2024-08-05 13:00:18 +08:00
kangfenmao
b0a3d705ff
feat: @model regenerate message
2024-08-05 12:39:37 +08:00
kangfenmao
de41199f7e
feat: quick regenerate with new model
2024-08-04 14:04:11 +08:00
kangfenmao
cbd9f60cfc
fix: markdown link color
2024-08-04 13:30:15 +08:00
kangfenmao
8a0e2890dd
fix: math code format
2024-08-04 13:23:35 +08:00
kangfenmao
911c2d0202
fix: footnote style
2024-08-02 11:30:06 +08:00
kangfenmao
2969a05f10
feat: enhance markdown style
2024-08-02 10:39:13 +08:00
kangfenmao
5d90489a04
style: change import order
2024-08-02 10:11:18 +08:00
kangfenmao
18fa1c92a4
feat(provider): sillicon api key use referrer link
2024-08-02 09:24:31 +08:00
kangfenmao
937e62bf9d
feat(provider): add gpt-4o-mini model
2024-08-02 09:24:00 +08:00
kangfenmao
6291a463d8
perf(messages): usememo & usecallback message component
2024-08-01 23:55:51 +08:00
kangfenmao
681c93f5eb
chore(version): 0.4.6
2024-08-01 15:36:07 +08:00
kangfenmao
23687f119d
fix(SendMessageButton.tsx): remove unnecessary placement prop from SendMessageButton to prevent potential UI alignment issues
2024-08-01 15:23:12 +08:00
kangfenmao
0bcdffc159
fix(SettingsTab.tsx): correct the temperature label
2024-08-01 15:19:45 +08:00
kangfenmao
b04b0cc8a6
feat: add markdown footnote
2024-08-01 15:18:09 +08:00
kangfenmao
c9a964d8f8
feat: add markdown plugins remark-gfm remark-math rehype-katex
2024-08-01 14:51:20 +08:00
kangfenmao
86fc4676ba
feat: add link component
2024-08-01 14:28:18 +08:00
kangfenmao
384178c617
style(Message.tsx): increase padding in MessageContainer
2024-08-01 00:04:47 +08:00
kangfenmao
c53e35db76
feat: use poppins fonts
2024-07-31 23:20:28 +08:00
kangfenmao
c36075f0b5
fix: optimize interface display style
2024-07-31 21:04:09 +08:00
kangfenmao
5c95373a37
feat: new window style
2024-07-31 17:30:17 +08:00
kangfenmao
29d6d607da
chore(version): 0.4.4
2024-07-31 13:54:04 +08:00
kangfenmao
e64375a74c
feat(Inputbar.tsx): change height to min-height for Inputbar
2024-07-31 13:41:02 +08:00
kangfenmao
62b0908dfa
feat: add send message button
2024-07-31 13:07:02 +08:00
kangfenmao
cb0b9de1e9
feat: default enable new added provider
2024-07-31 12:21:46 +08:00
kangfenmao
d8d4afbc0d
feat: add message suggestions
2024-07-31 12:13:03 +08:00
kangfenmao
a5ee8548f3
feat(AboutSettings): implement functionality to open license page from about settings
2024-07-30 16:33:58 +08:00
kangfenmao
d47d4a158d
docs: change offical website url
2024-07-30 15:31:17 +08:00
kangfenmao
cd85dcddf8
remove: website
2024-07-30 15:30:35 +08:00
kangfenmao
925a9fb8ec
fix: delete provider crash
2024-07-30 15:30:09 +08:00
kangfenmao
69293846fc
fix: model list text color
2024-07-29 18:17:50 +08:00
kangfenmao
20a7fbfc48
fix(ProviderSDK.ts): translation message
2024-07-29 17:45:08 +08:00
kangfenmao
64d4b8450a
style(website): adjust border-radius of images to 20%
2024-07-29 17:36:27 +08:00
kangfenmao
f080fc5048
chore(version): 0.4.0
2024-07-29 17:33:09 +08:00
kangfenmao
50f08124d7
feat: add dark and light theme
2024-07-29 17:14:49 +08:00
kangfenmao
b91081ef99
docs(index.html): update website URLs from easys.run to cherry-ai.com
2024-07-29 09:55:24 +08:00