bobo.yang
9a2e07c0a3
docs: Update comments in contextRefDefs.ts
...
- Enhanced comments with detailed instructions for symbol listing
- Improved documentation clarity for unresolved symbols in snippets
2023-12-08 14:07:25 +08:00
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
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
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
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
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
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
a86a2c0ca8
remove User and Date in response
2023-12-07 09:11:21 +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
Rankin Zheng
b398f65b73
Add useMst hook and yaml import to ChatMark
...
component
2023-12-04 17:13:26 +08:00
Rankin Zheng
a9c679ff14
Add userInput function to ChatStore
2023-12-04 14:32:30 +08:00
Rankin Zheng
57ec529614
Add state and event handlers for checkbox and
...
radio buttons in ChatMark component
2023-12-03 17:55:04 +08:00
Rankin Zheng
aefc6bc259
Update ChatMark component styling
2023-12-03 08:15:42 +08:00
Rankin Zheng
e62c9bf271
Refactor ChatMark component styling
2023-12-03 08:10:06 +08:00
Rankin Zheng
f49b16c8d4
Refactor ChatMark component styles
2023-12-03 07:55:38 +08:00
Rankin Zheng
db6faedcba
Fix theme override and font family typo
2023-12-03 07:47:49 +08:00
Rankin Zheng
af512ccaf0
Update ChatMark component to use Text instead of p
...
tag
2023-12-03 07:16:01 +08:00
Rankin Zheng
104dda4196
Enhance ChatMark component to render chat widgets in groups
...
- Added support for grouping radio buttons using the Group component from @mantine/core.
- Introduced conditional rendering for different types of markdown lines, including paragraphs.
- Applied custom styles to the Box component wrapping all widgets, controlling padding and margin.
2023-12-03 06:27:49 +08:00
Rankin Zheng
44e05c55eb
Add ChatMark component to render chat widgets
...
- Created a new component, ChatMark, to parse special markdown syntax and render widgets such as buttons, checkboxes, and radio buttons in chat.
- Included a new case in the MessageMarkdown component to handle the special 'ChatMark' tag by using the new ChatMark component.
2023-12-03 06:27:48 +08:00