13 Commits

Author SHA1 Message Date
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
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
bobo
f4cf03c675 feat: Limit EditApplyButton to 'edits' language
- Restrict EditApplyButton rendering to 'edits' language only
- Wrap EditApplyButton in conditional statement
- Improve code clarity and functionality in CodeButtons component
2024-07-18 17:06:15 +08:00
bobo
dcb63f6b52 Refactor EditApplyButton label to 'Apply Code' 2024-07-08 08:40:45 +08:00
bobo
6bcaee566c feat: Add Edit and Apply button for code blocks
- Implement new EditApplyButton component in CodeButtons
- Add callService method to IDEServiceUtil for API interactions
- Include EditApplyButton in CodeButtons component render
2024-07-04 12:55:59 +08:00
Luo Tim
146973cd5d Remove doCommit handler 2024-06-19 16:50:46 +08:00
Luo Tim
3d13e6c4c9 Add copy language platform info 2024-06-17 13:44:23 +08:00
Luo Tim
4db92bf296 Add messages and events platform/language info 2024-06-16 00:11:18 +08:00
Luo Tim
2c01f5c5ba Manage webapp credentials by APIUtil and add onCodeDiffApply listener 2024-06-07 15:36:05 +08:00
Luo Tim
6df56742b4 Handle code buttons events 2024-06-07 01:55:49 +08:00
Rankin Zheng
1e8ba29c91 feat: Enhance chat interface with new file creation
- Added IconFile import for better UI representation in NewFileButton
- Integrated language support for NewFileButton to handle different coding languages
- Adjusted NewFileButton component's props to include language for file creation command

Closes #171
2024-04-12 23:28:40 +08:00
Rankin Zheng
595e51df01 feat: Add create new file button to code block
- Implemented a NewFileButton component in MessageMarkdown
- NewFileButton enables users to create a file directly from code block
- Integrated the NewFileButton into the CodeButtons component UI

Closes #171
2024-04-10 20:30:15 +08:00
smallstone
c6e744e593 feat: init 2023-12-12 15:13:17 +08:00