948 Commits

Author SHA1 Message Date
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
Rankin Zheng
cdac17ff6d Changed 'avatarType' property type to string
- Previously the 'avatarType' in MessageAvatar component accepted specific string values ('user', 'bot', or 'system').
- Updated it to accept any string to avoid TypeScript error when assigning a string that doesn't match the specific values.
2023-12-03 06:27:48 +08:00
bobo.yang
bc8ca49c14 handle error without commands 2023-12-02 23:20:07 +08:00
bobo.yang
b1af136111 optimize start up for devchat-view 2023-11-30 13:25:18 +08:00
bobo.yang
7dac46b0be first check workflow path 2023-11-30 08:13:26 +08:00
bobo.yang
f3f168c578 use dynamic port to listen 2023-11-30 08:00:15 +08:00
bobo.yang
dc1836510d remove command and action extension 2023-11-29 23:34:15 +08:00
bobo.yang
40e6efef8a clear Command python install functions 2023-11-23 13:02:02 +08:00
bobo.yang
c39e51b401 update Command output parser 2023-11-23 08:11:10 +08:00
bobo.yang
08b604cee3 update Command new variables 2023-11-22 22:00:01 +08:00