261 Commits

Author SHA1 Message Date
Daniel Hu
1448494934 ci: Add CircleCI configuration for automated build and publish
This commit introduces a CircleCI configuration that enables automatic building of the VSCode extension on every main branch update. It also sets up automatic publishing to the VSCode Marketplace whenever a new tag is created on the main branch. This workflow significantly improves the CI/CD process of the extension development.

Signed-off-by: Daniel Hu <tao.hu@merico.dev>
2023-05-19 10:54:07 +08:00
Rankin Zheng
a9e3a4cc32
Merge pull request #98 from covespace/improve-display
Update ChatPanel button style
2023-05-19 09:13:32 +08:00
Rankin Zheng
f7a56ba97d Update ChatPanel button style
- Add 'xs' size to the button
- Set fontSize to 'var(--vscode-editor-font-size)'
2023-05-19 09:11:41 +08:00
boob.yang
2b54124509
Merge pull request #97 from covespace/fix_bugs_0519
Remove /code_action command
2023-05-19 09:02:22 +08:00
bobo.yang
3b431c2f1a remove old files 2023-05-19 08:56:46 +08:00
bobo.yang
829be553ee remove /code_action 2023-05-19 08:56:46 +08:00
boob.yang
3ea13376cc
Merge pull request #96 from covespace/update-wording
Update package.json
2023-05-19 08:51:09 +08:00
Jinglei Ren
b31698b36c
Update package.json 2023-05-19 08:46:59 +08:00
Rankin Zheng
abdd885fd7
Merge pull request #95 from covespace/improve-display
feat(chatpanel): add default command menu icon
2023-05-19 08:15:55 +08:00
Rankin Zheng
a46b69a2ab feat(chatpanel): add default command menu icon
Add a default command menu icon for patterns other than 'code' and 'commit_message' in the ChatPanel component.
2023-05-19 08:15:24 +08:00
boob.yang
8f8cb4f367
Merge pull request #94 from covespace/update_instruction
remove $
2023-05-19 08:14:24 +08:00
bobo.yang
ac84cb4d62 remove $ 2023-05-19 08:12:01 +08:00
Rankin Zheng
3c1c0d7704
Merge pull request #93 from covespace/improve-display
Improve display
2023-05-19 07:55:30 +08:00
Rankin Zheng
64ba8612c6 Improve chat panel keyboard navigation
- Focus input field when plus button is clicked
- Close menu when 'Escape' key is pressed
- Refactor menu navigation for better readability
2023-05-19 07:51:28 +08:00
Rankin Zheng
039a6d0b22 Improve chat panel tip message layout
- Add overflow hidden to the container
- Add text truncation and width limit to the tip message
2023-05-19 07:41:44 +08:00
boob.yang
db8fb8b35e
Merge pull request #92 from covespace/update_instruction
update instruction file
2023-05-19 07:41:26 +08:00
bobo.yang
6a24056604 update instruction file 2023-05-19 07:38:15 +08:00
Rankin Zheng
056ab3ca24
Merge pull request #91 from covespace/improve-display
refactor: Add border radius to Accordion and Menu components
2023-05-19 07:05:46 +08:00
Rankin Zheng
466e664ba3 refactor: Add border radius to Accordion and Menu components
Add border radius to Accordion and Menu components to improve the UI. Also, add specific styles to the active and expanded states of the components. The changes were made in src/views/ChatPanel/index.tsx.
2023-05-19 07:04:06 +08:00
Rankin Zheng
8d3e96178f
Merge pull request #90 from covespace/improve-display
Refactor ChatPanel Flex margin
2023-05-19 00:33:24 +08:00
Rankin Zheng
9d98b05ef5 Refactor ChatPanel Flex margin
Changed the margin of the Flex component in ChatPanel to use shorthand CSS properties.
2023-05-19 00:30:33 +08:00
Rankin Zheng
349ea8623a
Merge pull request #89 from covespace/improve-display
refactor(chatpanel): improve message display
2023-05-19 00:22:45 +08:00
Rankin Zheng
d269eb91b8 refactor(chatpanel): improve message display
- Change Flex to Stack for better message layout
- Add avatar and name to each message
- Increase padding and change background color for better readability
2023-05-19 00:21:53 +08:00
boob.yang
63a9da8614
Merge pull request #88 from covespace/fix_bugs
update menu text
2023-05-18 23:41:09 +08:00
bobo.yang
1aa8f5e64f update menu text 2023-05-18 23:40:03 +08:00
Rankin Zheng
b9bad30ac1
Merge pull request #87 from covespace/refactor-ui
feat: Add new avatar image and adjust chat panel layout
2023-05-18 23:08:06 +08:00
Rankin Zheng
21f3e375b8 feat: Add new avatar image and adjust chat panel layout
Added a new avatar image and adjusted the layout of the chat panel to accommodate the new image. The new avatar image is now displayed for user messages. The layout of the chat panel has been adjusted to ensure that the new image is displayed correctly. The width of the chat panel has been set to the width of the container. The padding and margin of the chat panel have been adjusted to ensure that the new image is displayed correctly.
2023-05-18 23:07:36 +08:00
boob.yang
d45869492e
Merge pull request #86 from covespace/fix_bug
fix pip install bug
2023-05-18 23:05:45 +08:00
bobo.yang
31a15216a5 fix pip install bug 2023-05-18 23:02:19 +08:00
boob.yang
c43892ffbd
Merge pull request #85 from covespace/update-welcome-messages
Update welcome messages
2023-05-18 22:55:05 +08:00
Jinglei Ren
954393c647
Update welcome.html 2023-05-18 22:52:44 +08:00
Jinglei Ren
bc9bf7ff5b
Update historyMessages.ts 2023-05-18 22:35:07 +08:00
boob.yang
b8d9029a72
Merge pull request #84 from covespace/pip_upgrade
Update package version and improve installation process
2023-05-18 22:29:27 +08:00
Jinglei Ren
188690ca38
Update historyMessages.ts 2023-05-18 22:28:38 +08:00
bobo.yang
e3c9f69822 Update package version and improve installation process
- Bump package version from 0.0.34 to 0.0.38.
- Change pip3 install command to include --upgrade flag.
- Add check for DevChatPath configuration before setting status to ready.
2023-05-18 22:25:29 +08:00
boob.yang
9aba48d09e
Merge pull request #83 from covespace/fix_diff_instructions
Fix diff instructions
2023-05-18 21:49:55 +08:00
bobo.yang
f8fe40890b Refactor applyCodeChanges and add findMatchingIndex
- Added findMatchingIndex function to find matching index in two lists.
- Refactored applyCodeChanges to use findMatchingIndex.
- Replaced reduce with findMatchingIndex for better readability.
2023-05-18 21:43:05 +08:00
bobo.yang
ed96ab8fc4 compare list 2023-05-18 21:43:05 +08:00
bobo.yang
5437c4e371 fix apply diff 2023-05-18 21:43:05 +08:00
Rankin Zheng
831f7b8d0b
Merge pull request #82 from covespace/context-icons
Context icons
2023-05-18 19:58:55 +08:00
Rankin Zheng
4fd3a80cb6 feat: Add spacing and height to chat panel controls
Add spacing of 5 between the chat panel controls and set the height of the controls to 30. Also, reduce the size of the action icon from lg to sm. Finally, change the shadow of the command menu from xs to sm.
2023-05-18 19:58:29 +08:00
Rankin Zheng
d692a24bc5 fix(chatpanel): Fix context menu icons for git diff commands
Change the context menu icons for the git diff commands to match the correct command names. Replaced IconGitBranch with IconGitBranchChecked for 'git diff --cached' and replaced IconGitBranchChecked with IconGitBranch for 'git diff HEAD'.
2023-05-18 19:40:14 +08:00
boob.yang
ec8b3181f2
Merge pull request #81 from covespace/fix_context_string
rename git diff context
2023-05-18 19:39:21 +08:00
bobo.yang
26f24960c4 rename git diff context 2023-05-18 19:35:55 +08:00
boob.yang
1fa577fa3e
Merge pull request #80 from covespace/log_devchat_error
Add error logging to DevChat child process
2023-05-18 17:49:20 +08:00
bobo.yang
2c94bd2f1f Add error logging to DevChat child process
- Check for stderr in the 'close' event
- Log the error to the logger channel
- Show the logger channel if an error occurs
2023-05-18 17:37:44 +08:00
Rankin Zheng
4cc02b65c0
Merge pull request #79 from covespace/refactor-ui
Refactor UI
2023-05-18 16:56:25 +08:00
Rankin Zheng
79cb2fd8d2 feat: Add commandMenuIcon function to ChatPanel
This commit adds the `commandMenuIcon` function to the `ChatPanel` component in `index.tsx`. This function returns an icon based on the given pattern. The function is used to display different icons for different patterns in the command menu.
2023-05-18 16:55:41 +08:00
Rankin Zheng
b79e69e5af feat: Add context menu icons
Add icons to the context menu items based on their names. The function contextMenuIcon() was added to the code to handle this. The function returns an icon based on the name of the context menu item.

The following icons were added: IconMouseRightClick, IconBook, IconGitBranch, IconGitBranchChecked, and IconShellCommand.

The code was also refactored to use the contextMenuIcon() function instead of the IconMessagePlus component.
2023-05-18 16:53:09 +08:00
boob.yang
2be76d9e3f
Merge pull request #78 from covespace/git_commit_all
add command to commit all changes
2023-05-18 16:52:37 +08:00