1265 Commits

Author SHA1 Message Date
bobo.yang
ab4da9f993 refactor: Fix newPos calc in getSymbolDefine
- newPos calculation now uses correct line and character positions
- Updated getSymbolDefine function in contextRefDefs.ts for accuracy
2023-12-08 13:46:22 +08:00
boob.yang
9bb8e216e3
Merge pull request #356 from devchat-ai/update_workflow_install_command
refactor: Improve requirements.txt search & install checks
2023-12-08 10:29:52 +08:00
bobo.yang
05cf0f2c71 refactor: Improve requirements.txt search & install checks
- Update search logic for requirements.txt prioritizing usr, org, sys directories
- Introduce check to prevent redundant python environment installations
- Add variables for controlling multiple installations in workflows
2023-12-08 10:27:27 +08:00
boob.yang
81461c426d
Merge pull request #355 from devchat-ai/kill_process_children
Kill process children
2023-12-07 22:43:20 +08:00
bobo.yang
14990d3003 update package version 2023-12-07 22:20:38 +08:00
bobo.yang
d0efb81c62 Fix process termination issue in CommandRun class 2023-12-07 22:19:50 +08:00
Rankin Zheng
2548b8d8d3
Merge pull request #354 from devchat-ai/fix-chatmark-ui
Fix state management in ChatMark component
2023-12-07 18:33:36 +08:00
Rankin Zheng
780191e038 Fix state management in ChatMark component
- Removed conditions related to 'disabled' state when creating checkbox and editor widgets in the ChatMark component.
- Widgets will now always preserve their original state as defined in the markdown.
2023-12-07 18:31:57 +08:00
Rankin Zheng
35d94b5a36
Merge pull request #353 from devchat-ai/fix-chatmark-ui
Fix chatmark UI
2023-12-07 18:24:02 +08:00
Rankin Zheng
a9f1ae3ed5 Disable ChatMark widgets when a message is done
- Updated the ChatMark component to accept a new prop, messageDone. The component uses this prop to decide whether to disable its widgets.
- The MessageMarkdown component now passes the messageDone prop to the ChatMark component.
- The MessageBody component and the MessageList component have been updated to provide the messageDone prop for the MessageMarkdown component.
2023-12-07 18:21:34 +08:00
Rankin Zheng
7619e5efc6 Disable ChatMark widgets when a message is done
- Updated the ChatMark component to accept a new prop, messageDone. The component uses this prop to decide whether to disable its widgets.
- The MessageMarkdown component now passes the messageDone prop to the ChatMark component.
- The MessageBody component and the MessageList component have been updated to provide the messageDone prop for the MessageMarkdown component.
2023-12-07 18:21:15 +08:00
Rankin Zheng
7f367bf669 Refactor styled components in MessageBody
- Changed the way styles are applied to preserve text content in the MessageBody component, enhancing readability and reusability.
- Shifted the styling rules from the Container component's sx property to createStyles and added them to the preformatted text element through a class name.
2023-12-07 17:54:01 +08:00
Rankin Zheng
812377b0f4 Adjust Text component font size in Mantine theme
- Modified the theme override in the application index file to customize the Text component's root font size, making it match the font size of the VS Code editor. This ensures consistency in text appearance across the application.
2023-12-07 17:48:17 +08:00
Rankin Zheng
d89322c1e4 Add createStyles import and add link hover color 2023-12-07 17:30:00 +08:00
boob.yang
7b78f20511
Merge pull request #352 from devchat-ai/fix_bugs_1207
Fix bugs 1207
2023-12-07 15:58:50 +08:00
bobo.yang
8dc041fcce update tools 2023-12-07 15:57:11 +08:00
bobo.yang
3281f1553d ignore local dir actions_backup 2023-12-07 12:23:51 +08:00
bobo.yang
c63876af6f feat: Update chat response handling
- Removed 'delete' function for 'prompt-hash' in contextRefDefs
- Added 'saveToLog' parameter to 'chat' function in devchat.ts
2023-12-07 12:23:26 +08:00
boob.yang
1ebebcc76b
Merge pull request #351 from devchat-ai/remove_user_date_from_response
Remove user date from response
2023-12-07 09:13:59 +08:00
bobo.yang
74e849e483 Fix path to requirements.txt file 2023-12-07 09:11:21 +08:00
bobo.yang
571a89ec5b don't show error while requirements.txt not exist 2023-12-07 09:11:21 +08:00
bobo.yang
b8a6fa297f Add conditional check for function calling in
DevChat class
2023-12-07 09:11:21 +08:00
bobo.yang
0ee31f1721 fix #51 2023-12-07 09:11:21 +08:00
bobo.yang
381dbea026 Update slash command information message 2023-12-07 09:11:21 +08:00
bobo.yang
1ac83d4d79 check DevChat key whether is valid 2023-12-07 09:11:21 +08:00
bobo.yang
5bad8896f4 fix #137 2023-12-07 09:11:21 +08:00
bobo.yang
239ca7b835 replace https with git in .gitmodules 2023-12-07 09:11:21 +08:00
bobo.yang
a86a2c0ca8 remove User and Date in response 2023-12-07 09:11:21 +08:00
bobo.yang
6bfb39a3bc update tools 2023-12-07 09:11:21 +08:00
boob.yang
29c571c3c2
Merge pull request #350 from devchat-ai/feat/chatmark
Feat/chatmark
2023-12-07 09:09:47 +08:00
Rankin Zheng
8472b4cbd2 Add scroll to bottom functionality in ChatStore 2023-12-06 18:27:20 +08:00
Rankin Zheng
75ca957ecb Fix issue with ChatMark editor content not being
applied when disabled
2023-12-06 18:11:31 +08:00
Rankin Zheng
8e44f4ee1e Fix useEffect dependency in MessageMarkdown
component
2023-12-06 18:09:53 +08:00
Rankin Zheng
b10fb58bc3 Refactor ChatStore and ChatMark components 2023-12-06 18:05:32 +08:00
Rankin Zheng
b40c49579d Fix form and widget event handling 2023-12-06 12:12:41 +08:00
Rankin Zheng
d5a6749ca8 Add autoForm state to ChatMark component 2023-12-06 12:10:41 +08:00
Rankin Zheng
9bc3c754b4 Fix widget maxRows value in ChatMark component 2023-12-06 12:01:22 +08:00
Rankin Zheng
78b5139c1b Refactor ChatMark component to improve widget
handling
2023-12-06 11:58:37 +08:00
Rankin Zheng
6316b6735a Remove debugger statement in handleRadioChange
function
2023-12-06 10:39:15 +08:00
Rankin Zheng
458f9b6a8b Refactor form submission logic in ChatMark
component
2023-12-05 23:24:07 +08:00
Rankin Zheng
91a912fa93 Refactor chatmark component 2023-12-05 21:33:43 +08:00
bobo.yang
3625dbc0a0 Merge branch 'feat/chatmark' of https://github.com/covespace/devchat-vscode into feat/chatmark 2023-12-05 21:15:36 +08:00
bobo.yang
9bac6d4e86 Append input to stdout 2023-12-05 21:15:29 +08:00
Rankin Zheng
b0ba0d7ee0 Refactor form submission in ChatMark component 2023-12-05 18:14:41 +08:00
Rankin Zheng
51a21fa3d7 Fix checkbox value comparison bug 2023-12-05 18:07:48 +08:00
Rankin Zheng
95dfb7f63c Fix formatting issue in ChatStore userInput
function
2023-12-05 17:48:10 +08:00
Rankin Zheng
ad6446d1c3 Refactor ChatMark component and handle user input 2023-12-05 17:43:58 +08:00
Rankin Zheng
ebb8692c0a Refactor MessageMarkdown component to handle code
blocks with step and chatmark languages
2023-12-05 16:43:50 +08:00
Rankin Zheng
0ed9d94c7b Refactor user input handling in ChatMark component 2023-12-05 15:08:22 +08:00
Rankin Zheng
b77b47a71d Add YAML dump for checkbox and radio values 2023-12-04 17:32:22 +08:00