484 Commits

Author SHA1 Message Date
boob.yang
2a8accc06a
Merge pull request #137 from devchat-ai/update_commit_prompt
docs: Update commit message prompt format
2025-03-10 12:33:14 +00:00
bobo.yang
8d0b75a86d docs: Update commit message prompt format
- Remove closing reference section from example output
- Remove instruction about issue closing reference
- Simplify prompt by removing redundant constraints
2025-03-10 16:57:48 +08:00
boob.yang
4fdd536226
Merge pull request #139 from devchat-ai/github-username
feat: Add GitHub username retrieval function
2025-03-10 08:52:46 +00:00
long2ice
9490359c37 feat: Add GitHub username retrieval function
- Implement `get_github_username()` to fetch GitHub username via API
- Update `get_selected_issue_ids()` to use GitHub username instead of git username
- Enhance GitHub issue selection workflow with authenticated username retrieval
2025-03-10 16:38:08 +08:00
boob.yang
e8d960794c
Merge pull request #138 from devchat-ai/issue-repo
feat: Enhance GitHub issue handling in commit workflow
2025-03-10 08:19:56 +00:00
long2ice
1cd1ac0c88 feat: Enhance GitHub issue handling in commit workflow
- Update `get_selected_issue_ids()` to return repository context for cross-repository issue closing
- Modify commit message generation to support cross-repository issue references
- Improve issue selection logic to handle different repository scenarios
- Add support for appending full repository issue references when issues are from different repositories
2025-03-10 16:17:59 +08:00
boob.yang
06d707575e
Merge pull request #136 from devchat-ai/github-commit
feat: Add GitHub issue selection and auto-close functionality
2025-03-10 07:44:57 +00:00
long2ice
e786d16bbb feat: Add GitHub issue selection and auto-close functionality
- Implement `get_selected_issue_ids()` to allow users to select and close GitHub issues during commit
- Add support for automatically appending "Closes #IssueNumber" to commit messages
- Enhance commit workflow with dynamic issue tracking and resolution
- Integrate new GitHub API functions to retrieve user's assigned open issues
2025-03-10 14:00:27 +08:00
kagami
99b55db6ff
Merge pull request #135 from devchat-ai/update_refactor
refactor: Update rewrite.py with Chinese prompts and improve code structure
2025-03-07 07:37:22 +00:00
kagami
44e9b7bd26
Merge pull request #134 from devchat-ai/update_commit
feat: Enhance git workflow with push functionality and improve error handling
2025-03-07 07:36:42 +00:00
bobo.yang
083c714ac0 style: improve code formatting and whitespace
- Remove trailing whitespaces in Step class
- Improve formatting in GitHub and GitLab commit modules
- Fix indentation in error message output
- Add proper line spacing between functions
2025-03-07 13:02:06 +08:00
bobo.yang
5a0340e8e9 refactor: Clean up code structure and improve formatting
- Organize imports and remove unused imports
- Format code with consistent indentation and line breaks
- Remove empty lines and redundant whitespace
- Improve function parameter formatting for better readability
2025-03-07 13:00:43 +08:00
bobo.yang
021efac1d9 refactor: Update rewrite.py with Chinese prompts and symbol analysis
- Translate prompts to Chinese for better localization
- Add symbol analysis functionality to detect missing definitions
- Implement context code gathering for better refactoring results
- Add helper functions for project root detection and symbol definition lookup
2025-03-07 12:00:49 +08:00
bobo.yang
bb0ed153c7 remove /commit, use github|gitlab.commit replace it 2025-03-07 11:41:09 +08:00
bobo.yang
389ad70c2e docs: Add example output to commit message prompts
- Added example commit message format to GitHub prompt file
- Added example commit message format to GitLab prompt file
- Demonstrates proper structure with feature type and API details
2025-03-07 11:39:33 +08:00
bobo.yang
6b04c3de11 fix: Improve git push error handling and feedback
- Replace subprocess_check_output with subprocess_run for better error handling
- Add specific error messages and formatting for push failures
- Implement exit code when push fails to properly indicate failure
2025-03-07 11:38:29 +08:00
bobo.yang
e591361e69 style: Improve error message formatting for failed push
- Enhanced error output for branch determination failure by adding
double newline for better readability in terminal output
2025-03-07 11:10:38 +08:00
bobo.yang
bb1afee665 fix: Remove extra newlines in error message output
- Removed extra newlines from error message in push_changes function
- Simplified error output formatting for better readability
- Maintained consistent error handling pattern
2025-03-07 11:07:34 +08:00
bobo.yang
f6c4d52b90 fix: Improve error message formatting for branch detection failure
- Enhance readability of error message when current branch cannot be determined
- Add double newline after error message for better visual separation
- Maintain consistent output formatting with other status messages
2025-03-07 11:05:20 +08:00
bobo.yang
e36da6da6c fix: Remove extra newlines in error message output
- Modified error message in push_changes() to remove extra newlines
- Improved consistency in error message formatting
- Simplified stderr output for failed branch determination
2025-03-07 11:03:58 +08:00
bobo.yang
c307e1ae43 fix: Add newline after push failure message
- Updated error output in push_changes() to include newlines after failure
- Improves readability of error messages in the terminal output
- Maintains consistency with successful push message formatting
2025-03-07 11:02:59 +08:00
bobo.yang
1f158fb047 fix: Remove newline after push failure message
- Modified error output in push_changes() function to remove trailing newlines
- Keeps error messages more consistent with standard error formatting
- Improves log readability when capturing stderr output
2025-03-07 11:02:20 +08:00
bobo.yang
c59cd3fcb8 fix: Improve error message formatting for failed branch detection
- Enhanced error message display when current branch cannot be determined
- Added newline characters for better readability in console output
- Maintains consistent formatting with other status messages
2025-03-07 11:01:19 +08:00
bobo.yang
b5aa4b22ac style: Improve console output formatting in push_changes
- Add newlines after push status messages for better readability
- Ensure consistent formatting for success and error messages
- Update output formatting in git push operations
2025-03-07 11:00:41 +08:00
bobo.yang
316567c83e docs: Update commit message prompt format
- Added markdown codeblock format specification for responses
- Changed format of issue reference to use angle brackets
- Added instruction to only output the commit message codeblock
2025-03-07 10:51:16 +08:00
bobo.yang
2f24253997 feat: Add push functionality to commit workflow
- Added ask_for_push() function to prompt user for pushing changes
- Implemented push_changes() function to push commits to remote
- Updated workflow steps from 2 to 3 and improved command line args handling
2025-03-07 10:41:38 +08:00
bobo.yang
90d7e0b7b9 feat: Add push functionality to commit workflow
- Fixed Step markdown formatting in chatmark/step.py
- Added push capability with user confirmation after commit
- Improved command line argument handling with better defaults
2025-03-07 08:58:37 +08:00
kagami
f4a4dbc529
Merge pull request #133 from devchat-ai/feat/update-vscode-text-selection
feat: Enhance VSCode text selection handling
2024-11-28 05:58:51 +00:00
bobo.yang
656c2287e4 fix lint error 2024-11-28 13:15:44 +08:00
bobo yang
d1321f4863 feat: Enhance VSCode text selection handling
- Add functions to get selected and visible text
- Update visible_lines() to use new get_visible_text()
- Refactor selected_lines() to use get_selected_text()
2024-11-28 12:48:01 +08:00
kagami
ed9898d038
Merge pull request #132 from devchat-ai/feat/add-multi-select-dropdown
feat: Add MultiSelect widget to chatmark library
2024-11-14 11:04:31 +00:00
bobo.yang
5da21b00d5 feat: Add MultiSelect widget and update imports
- Implement MultiSelect widget inheriting from Checkbox
- Update import order in __init__.py for consistency
- Prepare groundwork for multi-select dropdown functionality
2024-11-14 19:03:47 +08:00
bobo.yang
b8e2a0bef8 feat: Refactor MultiSelect to inherit from Checkbox
- Rename multiSelect class to MultiSelect for consistency
- Inherit MultiSelect from Checkbox to reduce code duplication
- Remove redundant properties and methods in MultiSelect class
2024-11-14 18:58:35 +08:00
bobo.yang
014579d557 feat: Add MultiSelect widget to chatmark library
- Implement MultiSelect class in widgets.py
- Update __init__.py to export MultiSelect
- Add support for multiple option selection with checkboxes
2024-11-14 18:45:59 +08:00
kagami
6d34ceb8e2
Merge pull request #131 from devchat-ai/feature/switch-submodule-directories
refactor: Replace subprocess calls with subprocess_check_output
2024-11-14 07:49:32 +00:00
bobo.yang
b0e7369929 fix lint errors 2024-11-14 15:04:27 +08:00
bobo.yang
2c1a10c4ce add gitlab workflows 2024-11-14 14:58:53 +08:00
bobo.yang
41a1de7bbb refactor: Replace os.system with subprocess_run in git add
- Replaced os.system with subprocess_run for git add command
- Updated import to include subprocess_run from git_api
- Ensured compatibility with existing git operations
2024-11-14 12:39:29 +08:00
bobo.yang
5585ff9fc2 fix lint error 2024-11-14 12:28:26 +08:00
bobo yang
2525010384 refactor: Replace subprocess calls with subprocess_check_output
- Replaced all instances of subprocess.check_output with subprocess_check_output
- Added subprocess_check_output function to handle current repo directory
- Updated git commands to use the new subprocess_check_output function
2024-11-14 12:23:09 +08:00
kagami
a4942d8527
Merge pull request #130 from devchat-ai/update_readme
Update README
2024-07-19 06:23:00 +00:00
bobo
ced0e1b111 update readme 2024-07-19 14:12:34 +08:00
kagami
b3b01a31ba
Merge pull request #129 from devchat-ai/update_pr_readme
feat: Add README files and update PR command structure
2024-07-19 04:54:04 +00:00
bobo
e03d1eb5dd docs: Add README for commit command and update YAML
- Add README.md explaining usage and steps of commit command
- Include optional issue closing feature in README
- Update command.yml to reference new README.md for help
2024-07-19 12:52:17 +08:00
bobo
1a7a272d08 feat: Add README files and update PR command structure
- Add README.md for PR command and its subcommands
- Update command.yml files to include help references
- Modify requirements.txt to use pr_env branch
- Add configuration options for PR inline review
2024-07-19 12:52:17 +08:00
kagami
a4005b6326
Merge pull request #128 from devchat-ai/auto_apply_fix_issue
feat: Enhance issue fixing and add aider integration
2024-07-19 04:42:19 +00:00
bobo
4a3b29c15e update README.md 2024-07-19 10:07:42 +08:00
bobo
7c30ca2135 fix lint error 2024-07-18 16:22:22 +08:00
bobo
c47261b06f chore: Ignore .aider* files in .gitignore 2024-07-18 16:02:33 +08:00
bobo
4e38d7785b feat: Add aider integration workflow command 2024-07-18 16:02:25 +08:00