1810 Commits

Author SHA1 Message Date
boob.yang
2b7752608e
Merge pull request #16 from covespace/add_config
Add config
2023-05-05 15:02:59 +08:00
bobo.yang
ac98b9674f use value in config 2023-05-05 15:00:46 +08:00
bobo.yang
e586c1d500 add config 2023-05-05 14:58:38 +08:00
boob.yang
6be0b72253
Merge pull request #15 from covespace/diff_view
support diff view action
2023-05-05 12:38:30 +08:00
bobo.yang
91876443ac support diff view action 2023-05-05 12:28:11 +08:00
Rankin Zheng
6f998ef956 feat: Add avatars and icons to chat panel
Add avatars and icons to the chat panel to improve the user interface. Also, add a demo code block to show how to use the Button component. The demo code block is currently commented out.
2023-05-05 09:48:05 +08:00
Rankin Zheng
6eef4b2a78 feat: Add command menu to ChatPanel
Add a command menu to ChatPanel that allows users to access DevChat bots and run context commands. The command menu is displayed when the user types a command that starts with '/'. The menu includes commands for generating or updating code, writing a commit message, and writing a doc for reference, wiki, or discussion. The menu is styled using the existing ChatPanel styles.
2023-05-05 07:41:56 +08:00
Rankin Zheng
4829b8d44d feat: Add chat panel and menu
Add a chat panel with a menu and input field for sending messages. The menu contains options for settings, messages, gallery, and search. The chat panel also includes a list of instructions and a button for adding new messages.
2023-05-05 01:10:02 +08:00
Rankin Zheng
3288c82d5e refactor: move media to assets folder 2023-05-04 18:05:49 +08:00
Rankin Zheng
31161a7880 Merge branch 'main' of https://github.com/covespace/devchat-vscode 2023-05-04 18:02:38 +08:00
bobo.yang
0d59445cef add context implementation 2023-05-04 17:47:57 +08:00
bobo.yang
4b842048a8 add context by menu 2023-05-04 17:47:57 +08:00
bobo.yang
2799d30c08 don't copy instructions again 2023-05-04 17:46:06 +08:00
bobo.yang
06215450ad support user definded instructions 2023-05-04 17:46:06 +08:00
bobo.yang
101638b161 add doCommit message 2023-05-04 17:38:07 +08:00
bobo.yang
ed4b55a8f3 support commitmsg code block 2023-05-04 17:38:07 +08:00
bobo.yang
05bee3880b add commit message command 2023-05-04 17:38:07 +08:00
bobo.yang
7f6a423045 update devchat options 2023-05-04 17:38:07 +08:00
Rankin Zheng
0988effe3e
Merge pull request #7 from runjinz/type_a_request
Add auto-resizing functionality and Ctrl+Enter support to message input
2023-05-04 17:27:01 +08:00
boob.yang
a94a9850d3
Merge pull request #13 from covespace/git_diff_context
add context implementation
2023-05-04 17:03:57 +08:00
bobo.yang
e08350d546 add context implementation 2023-05-04 16:55:40 +08:00
Rankin Zheng
84222db4cc refactor: Refactor VSCode extension using React. 2023-05-04 16:09:19 +08:00
boob.yang
8fb99b0bf7
Merge pull request #12 from covespace/add_context_by_menu
add context by menu
2023-05-04 13:52:40 +08:00
bobo.yang
ff840476cc add context by menu 2023-05-04 13:50:06 +08:00
boob.yang
fec639ad3c
Merge pull request #11 from covespace/support_user_instruction_define
support user definded instructions
2023-05-04 12:01:37 +08:00
bobo.yang
b193dda852 don't copy instructions again 2023-05-04 12:00:41 +08:00
bobo.yang
f553719ba2 support user definded instructions 2023-05-04 11:50:45 +08:00
boob.yang
bffc69ed55
Merge pull request #10 from covespace/handle_commit_action
add doCommit message
2023-05-04 08:22:13 +08:00
bobo.yang
8366a8eea6 add doCommit message 2023-05-04 08:20:19 +08:00
boob.yang
a4e96e1d57
Merge pull request #9 from covespace/support_commitmsg_block
support commitmsg code block
2023-05-04 07:28:58 +08:00
bobo.yang
ef8f2a461e support commitmsg code block 2023-05-04 07:27:26 +08:00
boob.yang
7667ab9431
Merge pull request #8 from covespace/command_commit_message
Command commit message
2023-05-03 23:28:23 +08:00
bobo.yang
6ba0e00294 add commit message command 2023-05-03 23:21:46 +08:00
Rankin Zheng
cad699681b feat: Add auto-resizing functionality to message input
This commit adds the ability for the message input to automatically resize based on the number of lines of text entered. The input container will also resize accordingly. The function `autoResizeTextarea()` is called on input and sets the height of the message input and input container based on the number of lines of text entered. The default height is set to 16.
2023-05-03 22:42:18 +08:00
Rankin Zheng
0445ae7931 feat: add support for sending messages with Ctrl+Enter
This commit modifies the `initInputContainer` function to add support for sending messages with Ctrl+Enter. If the user presses Ctrl+Enter, the message is sent without adding a new line. If the user presses Enter without Ctrl or Shift, a new line is added to the input field. The commit also removes unnecessary whitespace.
2023-05-03 22:36:59 +08:00
bobo.yang
50c375bd90 update devchat options 2023-05-03 21:19:02 +08:00
boob.yang
99e75d8f46
Merge pull request #6 from covespace/support_prompt_template
Support commands extension
2023-05-03 19:36:38 +08:00
bobo.yang
9abcf1f28a Support commands extension 2023-05-03 19:27:06 +08:00
boob.yang
3085450815
Merge pull request #5 from covespace/commit_message_command
Commit message command
2023-05-03 09:47:46 +08:00
bobo.yang
8347f19f64 fix action errors on edit 2023-05-03 09:46:38 +08:00
bobo.yang
b7f1d456e4 save work 2023-05-02 19:58:32 +08:00
boob.yang
523b0fb35c
Merge pull request #4 from covespace/replace_gpt_with_devchat
Replace gpt with devchat
2023-04-28 13:29:00 +08:00
bobo.yang
7135d8a3f2 keep user input in markdown 2023-04-27 17:28:48 +08:00
bobo.yang
5f154777f6 release 0.0.1 2023-04-27 14:07:46 +08:00
bobo.yang
ce4634767c replace GTP call with devchat 2023-04-26 06:48:39 +08:00
boob.yang
3b619f06b2
Merge pull request #3 from covespace/multi_session_by_name
Multi session by name
2023-04-25 08:25:08 +08:00
bobo.yang
f03b2574d1 update chat style, and support edit history msg 2023-04-25 08:08:40 +08:00
bobo.yang
1cf84e5f71 handle different panel with unique name 2023-04-22 21:15:08 +08:00
boob.yang
8157bd81cb
Merge pull request #2 from covespace/chat_with_bot
Updated the ChatPanel class, connected to the GPT model using the ope…
2023-04-22 08:43:49 +08:00
bobo.yang
3a3d6ee400 store api key in .env 2023-04-22 08:37:27 +08:00