- 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.
- Restrict EditApplyButton rendering to 'edits' language only
- Wrap EditApplyButton in conditional statement
- Improve code clarity and functionality in CodeButtons component
- Implement new EditApplyButton component in CodeButtons
- Add callService method to IDEServiceUtil for API interactions
- Include EditApplyButton in CodeButtons component render