- Removed redundant command prefixes like "/unit_tests", "/commit"
- Maintained corresponding Chinese translations for all commands
- Simplified the i18n file structure while preserving functionality
- 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
- 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
- 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
- Update value handling in APIUtil.createEvent
- Check if message.value is a string before stringifying
- Ensure compatibility with both string and object values
- Implement MultiSelect component in ChatMark
- Extend widget type to include "multiSelect" option
- Add handleSelectChange function for multi-select logic
- Implement selection-aware diff functionality
- Use selected text for diff if available, else use full code
- Maintain existing event tracking and message sending logic
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.
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.
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.
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.
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.
- 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.
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.