360 Commits

Author SHA1 Message Date
bobo.yang
0e864bf52d refactor: remove command prefixes from Chinese translation
- Removed redundant command prefixes like "/unit_tests", "/commit"
- Maintained corresponding Chinese translations for all commands
- Simplified the i18n file structure while preserving functionality
2025-03-12 13:16:40 +08:00
Jinglei Ren
37d745b806
Update issue templates 2025-02-27 12:12:16 +08:00
bobo.yang
d849bc4a33 chore: Add environment configuration and update gitignore
- Add initial .env file with app configuration settings
- Configure image base URL and assistant display names
- Remove .env from gitignore while keeping avatar file ignored
2025-02-24 14:11:49 +08:00
boob.yang
da327b8add
Merge pull request #97 from devchat-ai/feat/add-event-operation-data
feat: Add message tracking and event operation data
2024-12-31 10:11:23 +08:00
bobo.yang
0f45b9edc2 feat: Add message tracking and event operation data
- Add getCurrentMessageId and updateCurrentMessageId methods to APIUtil
- Update event creation to include message IDs across components
- Enhance event tracking with detailed value data in code operations
2024-12-31 09:51:15 +08:00
boob.yang
838fab9806
Merge pull request #96 from devchat-ai/refactor/a-link-processing
refactor: Update link handling in MessageMarkdown component
2024-12-29 20:26:46 +08:00
bobo.yang
fee77d07b7 refactor: Update link handling in MessageMarkdown component
- Replace anchor tag with custom Anchor component for external links
- Add click handler to process links through messageUtil command
- Implement openLink command for better link processing control
2024-12-29 20:24:06 +08:00
boob.yang
2f6f379e91
Merge pull request #95 from devchat-ai/feat/add-plugin-version-to-message-event
feat: Add plugin version to message and event data
2024-12-26 16:57:52 +08:00
bobo.yang
264555ceb8 feat: Add plugin version to message and event data
- Add extension version retrieval functionality via IDEServiceUtil
- Implement version info appending to message.ide and event.ide fields
- Add TypeScript interfaces for MessageData and EventData types
2024-12-26 16:56:51 +08:00
boob.yang
4a6cb2e7b3
Merge pull request #94 from devchat-ai/fix/message-send-focus
fix: Add focus and prevent default on message send
2024-12-02 16:47:16 +08:00
bobo.yang
74b9bbc3f9 fix: Add focus and prevent default on message send
- Add focus to input after sending message
- Prevent default behavior on Enter key press
- Improve user experience in message input component
2024-12-02 16:46:38 +08:00
bobo.yang
c8836777f0 fix: Handle string values in event creation
- Update value handling in APIUtil.createEvent
- Check if message.value is a string before stringifying
- Ensure compatibility with both string and object values
2024-11-26 17:40:01 +08:00
bobo.yang
66c9115f69 feat: Enhance InputMessage component behavior
- Add cursor reset functionality after sending message
- Prevent input during message generation
- Remove disabled state from textarea for better UX
2024-11-25 21:50:30 +08:00
bobo.yang
8f2f082849 update default model when it is invalid 2024-11-22 10:13:33 +08:00
bobo.yang
7103c33b80 fix call acquireIdeaCodeApi before it reged 2024-11-22 07:36:20 +08:00
bobo.yang
25f18c09f3 fix multiselect error 2024-11-15 16:06:20 +08:00
boob.yang
e53f2009eb
Merge pull request #93 from devchat-ai/feat/add-multi-select-dropdown
feat: Add multi-select dropdown component
2024-11-14 19:11:27 +08:00
bobo.yang
c67b694c4a feat: Add multi-select dropdown component
- Implement MultiSelect component in ChatMark
- Extend widget type to include "multiSelect" option
- Add handleSelectChange function for multi-select logic
2024-11-14 19:05:37 +08:00
boob.yang
1724b70904
Merge pull request #92 from devchat-ai/feat/selected-code-diff-button
feat: Add selected code support for diff button
2024-11-14 16:26:53 +08:00
bobo.yang
621ee29fff feat: Add selected code support for diff button
- Implement selection-aware diff functionality
- Use selected text for diff if available, else use full code
- Maintain existing event tracking and message sending logic
2024-11-14 16:25:29 +08:00
boob.yang
7152d8d28a
Merge pull request #91 from devchat-ai/feat/add-env-example
feat: Add .env.example file
2024-11-14 12:38:13 +08:00
bobo.yang
0cbb2e0fab feat: Add .env.example file
- Added .env.example with environment variables
- Set REACT_APP_IMAGE_BASE_URL and assistant display names
- Defined REACT_APP_LOGO_FILE variable
2024-11-14 12:37:31 +08:00
bobo.yang
3cbdf30bcd retry for logEvent 2024-11-14 08:51:22 +08:00
bobo.yang
7959e86f62 update logMessage logEvent api 2024-11-14 08:05:09 +08:00
bobo.yang
aae2f7b567 fix error in logMessage 2024-11-13 21:34:51 +08:00
bobo.yang
2b3cc544fd add message api to log message to server 2024-11-13 20:36:48 +08:00
boob.yang
dc4ac3bfa6
Merge pull request #90 from devchat-ai/webview-communication-vscode-idea
remove special process for idea communication
2024-11-13 20:23:57 +08:00
bobo.yang
8105498ae0 remove special process for idea communication 2024-11-13 20:22:53 +08:00
boob.yang
c011224587
Merge pull request #89 from devchat-ai/fix_install_error_on_windows
add shx, fix mv command error on windows
2024-11-05 11:25:20 +08:00
bobo.yang
297a333833 add shx, fix mv command error on windows 2024-11-05 11:24:14 +08:00
boob.yang
189d777643
Merge pull request #88 from devchat-ai/update_gitignore
update gitignore
2024-10-24 19:43:28 +08:00
bobo.yang
8f38c69487 update gitignore 2024-10-24 19:42:29 +08:00
boob.yang
9dd8270fb6
Merge pull request #87 from devchat-ai/remove_env_file
remove .env
2024-10-24 19:41:07 +08:00
bobo.yang
9f6ac03afe remove .env 2024-10-24 19:34:37 +08:00
Rankin Zheng
87fb8b5d9d
Merge pull request #86 from devchat-ai/auto_custom_workflow
refactor(i18n): update reload and sync text for clarity
2024-09-02 16:01:12 +08:00
Rankin Zheng
7df76004a4 refactor(i18n): update reload and sync text for clarity
Change the text for the "Reload" button to "Reload built-in & custom workflows" and add a
new "Sync settings from cloud" entry in the zh.json file to improve clarity on the functionality
each button provides. These changes make the user interface more intuitive for users.
2024-09-02 15:58:50 +08:00
Rankin Zheng
34f4b4fc8c
Merge pull request #85 from devchat-ai/auto_custom_workflow
Auto custom workflow
2024-09-02 14:53:44 +08:00
Rankin Zheng
66972a90f7 refactor(Config): update workflow list with settled state management
Refactor the workflow list update logic in the Config page to handle the loading state
more efficiently. Now, it waits for the workflow list update to complete before setting
the settled state to true and updating the route to "chat". This sequence ensures that
the loading indicator is not visible unnecessarily and improves the user experience.
2024-09-02 14:51:14 +08:00
Rankin Zheng
de280846e5 refactor(config): streamline ConfigStore methods and update Config component
Refactor ConfigStore by removing redundant 'updateSettle' method and streamline button
handlers in the Config component for better code maintainability. Additionally, consolidate
button functionality to avoid confusion.
2024-09-02 09:50:14 +08:00
Rankin Zheng
13886a05c7 fix(config): add reset form functionality to cancel button
Ensure the form resets when the cancel button is pressed, enhancing the user experience
and preventing unintended submissions with outdated data.\
2024-09-02 08:29:57 +08:00
Rankin Zheng
2499ff5312 refactor(updateWorkflowList): replace Local Service call with IDE Service
Update the workflow list retrieval mechanism by replacing the direct local service
invocation with a call to the IDE service. This change introduces a more structured
approach to interacting with services and sets the foundation for future service
communications within the application.
2024-08-28 06:50:14 +08:00
Rankin Zheng
56e30328be fix(App): remove outdated workflow list update calls
Removed the outdated calls to update the workflow list in both the App.tsx and ConfigStore.ts
files. This change streamlines the code and prevents the execution of redundant Local Service
commands that are no longer required, potentially improving performance and reducing unnecessary
network activity.
2024-08-27 18:32:16 +08:00
Rankin Zheng
87c6c104db refactor(config): add reload button and remove sync cloud config
- Implement a 'Reload' button to refresh the configuration.
- Remove the 'Sync Cloud Configs && Reload Workflows' button to simplify the UI.
- Adjust the 'Save' button to be conditionally displayed based on whether the form is being submitted.
2024-08-27 18:28:52 +08:00
Tim
d3ae07dc82
Merge pull request #84 from devchat-ai/parameterize-packaging
Parameterize packaging
2024-08-27 17:23:10 +08:00
Luo Tim
e1cc86ffa8 Clean up after build 2024-08-27 17:22:34 +08:00
Rankin Zheng
82873a0b8a feat(config): add button to sync configs and reload workflows
A new button has been introduced on the Config page to allow users to synchronise cloud
configs and reload workflows effortlessly. This addition streamlines the configuration and
workflow management process within the application.
2024-08-26 18:31:04 +08:00
Luo Tim
62be35f2bf Add README 2024-08-23 02:40:19 +08:00
Luo Tim
527bc77822 Add parameters env and prebuild script 2024-08-23 02:17:51 +08:00
Luo Tim
92da334aee make assistant name configurable 2024-08-23 02:16:50 +08:00
Tim
7c361f6039
Merge pull request #83 from devchat-ai/revert-82-customize-logo
Revert "Sync custom icons from server"
2024-08-20 17:33:09 +08:00