332 Commits

Author SHA1 Message Date
Hezheng Yin
cd43eb373f feat: maintain a balance between happy paths and edge cases 2024-01-24 15:10:28 +08:00
kagami
6aaeac784f
Merge pull request #50 from devchat-ai/feature/friendly-commit-warning-#188
Improve user interaction for commit errors
2024-01-24 15:08:50 +08:00
bobo
af54106813 fix: Ensure lint error fix
- Fixed lint error in commit/commit.py file
- Updated unstaged_files_show assignment for lint compliance
- Updated subprocess.check_output call for lint adherence
2024-01-23 15:47:31 +08:00
bobo
164156bdc0 chore: Add a letter to indicate modification status
- Added a letter before each modified file to indicate the modification status
- Updated the workflow to display file deletion flag in 'Staged' files
- Fixed the issue where staged files did not display the git status
2024-01-23 15:42:58 +08:00
bobo
20a94c78f5 feat: Improve commit warning messages
- Change error message when no files to commit are found
- Update commit aborted message to be more explicit
- Improve user experience by providing helpful warnings
2024-01-23 14:39:26 +08:00
Henry (Hezheng) Yin
a66d2d33a3
Merge pull request #35 from devchat-ai/user-input-cases
Accept user input for test cases
2024-01-18 09:55:13 -08:00
kagami
00f0fa1343 Update i18n for /unit_tests 2024-01-18 15:45:28 +08:00
kagami
685449821f Accept user cases and print summary of cases and references 2024-01-18 15:45:28 +08:00
kagami
e795e4853e Split unit_tests workflow into several steps 2024-01-17 18:00:36 +08:00
Tim
d0020e838b
Merge pull request #38 from devchat-ai/revert-37-switch-env
Revert "/unit_tests switch to devchat env"
2024-01-17 17:55:52 +08:00
kagami
a5686e759d
Revert "/unit_tests switch to devchat env" 2024-01-17 17:43:25 +08:00
boob.yang
997e631e6c
Merge pull request #37 from devchat-ai/switch-env
/unit_tests switch to devchat env
2024-01-17 17:30:25 +08:00
kagami
7c9c9d6574 Remove client property to unbind from openai api 2024-01-17 17:19:12 +08:00
kagami
a0ce83b21c Update the usage of tiktoken in devchat env 2024-01-17 17:19:12 +08:00
kagami
04c7e6818b Switch to python for devchat 2024-01-17 17:19:12 +08:00
boob.yang
eb7e756877
Merge pull request #36 from devchat-ai/open-chat
Move some code from `chat` to `workflow`
2024-01-17 17:08:35 +08:00
kagami
1974cfea38 Implement other utils in current repo 2024-01-17 15:34:22 +08:00
kagami
1c6f04f6d2 Implement RelevantFileFinder and replace the one from 'chat' 2024-01-17 15:31:21 +08:00
kagami
5f0198d52c Implement file utils and replace those from 'chat' 2024-01-17 15:31:03 +08:00
boob.yang
6330983635
Merge pull request #5 from devchat-ai/expl-struct
Add command to explain repo structure
2024-01-12 12:29:42 +08:00
kagami
4d1fc2fffb Inactivate expl_struct 2024-01-12 12:22:42 +08:00
kagami
6bf05f9b7d Use Step() in expl-struct 2024-01-12 12:21:15 +08:00
kagami
8f46b05be9 Support /expl_struct.zh 2024-01-12 12:15:53 +08:00
kagami
c0f76e6811 Init command /expl_struct 2024-01-12 12:15:53 +08:00
boob.yang
a8969b0038
Merge pull request #34 from devchat-ai/chatmark-step
Implement Step in chatmark
2024-01-12 11:49:30 +08:00
kagami
254ddc9372 Use Step() in /unit_tests 2024-01-12 11:21:12 +08:00
kagami
c584b186e0 Implement chatmark Step 2024-01-12 11:12:12 +08:00
boob.yang
70d9db5084
Merge pull request #33 from devchat-ai/multi-ref
Support multiple reference files
2024-01-12 10:02:47 +08:00
kagami
9979f0c668 Update translations for multiple references 2024-01-12 09:03:34 +08:00
kagami
9c1bdf8053 Allow multiple reference files from user input 2024-01-11 21:35:17 +08:00
boob.yang
c0c26094ff
Merge pull request #32 from devchat-ai/activate-ut
Activate /unit_tests workflow
2024-01-10 11:41:22 +08:00
kagami
0ee7015758 Activate /unit_tests workflow 2024-01-10 10:39:10 +08:00
kagami
4f03a00910
Merge pull request #31 from devchat-ai/remove_commit_message_command
chore: Cleanup obsolete commit message automation files
2024-01-05 21:36:54 +08:00
bobo
e929049b68 chore: Remove commit message command
- Removed commit_message/command.yml
- Removed commit_message/prompt.txt
2024-01-05 20:14:04 +08:00
boob.yang
08b2246775
Merge pull request #30 from devchat-ai/clean-repo
Clean repo and sort "import" blocks
2024-01-05 13:26:37 +08:00
kagami
bca2507c2f Sort and format import blocks 2024-01-05 12:27:57 +08:00
kagami
f90ef63606 Enable the isort rules 2024-01-05 12:24:50 +08:00
kagami
56aedf8793 Remove ui_utils/ 2024-01-05 12:24:50 +08:00
kagami
13fe016f21
Merge pull request #28 from devchat-ai/enhance/form-button-labels
Enhance form and widget button label functionality
2024-01-05 12:02:12 +08:00
bobo
05d8e6dda7 format file 2024-01-05 12:01:01 +08:00
bobo
7d5887e98c refactor: Enhance form and button label flexibility
- Make submit and cancel button labels optional in form and widgets
- Refactor chatmark header construction for conditional button labels
- Implement assertion for Radio widget's default_selected option
2024-01-05 12:01:01 +08:00
bobo
57da9e9841 style: Standardize button label parameters
- Add trailing commas to button name parameters in widgets
- Reformat constructor definitions for consistency
- Clean up unnecessary whitespace in widget render logic
2024-01-05 12:01:01 +08:00
bobo
69e178e7a7 feat: Implement default option selection in Radio
- Introduced the default_selected parameter in the Radio widget
- Updated Radio widget to mark default selected option visually
- Removed TODO comment for the default_selected implementation
2024-01-05 12:01:01 +08:00
bobo
21217d2bb7 feat: Add customizable button labels to forms and widgets
- Form and TextEditor classes now accept submit_button_name and cancel_button_name
- Widget's chatmark header updated with customizable submit and cancel labels
- Adjusted initialization of Checkbox and Radio classes with button label parameters
2024-01-05 12:01:01 +08:00
kagami
c5d4272cbb Update message for TokenBudgetExceededException 2024-01-05 11:08:50 +08:00
kagami
7db4a678f4 Rafactor command interface to accept a single string only 2024-01-05 11:08:50 +08:00
kagami
7d3594c928
Merge pull request #16 from devchat-ai/ut-workflow
Implement `/unit_tests` workflow
2024-01-05 10:02:54 +08:00
kagami
824fa014b2 Rename command.yml to avoid releasing 2024-01-04 17:19:08 +08:00
kagami
5ab2749aa8 Update i18n for new strings 2024-01-04 17:19:08 +08:00
kagami
0bc33d8bf8 Validate user input 2024-01-04 17:19:08 +08:00