Repository navigation
feat(commands): add /commit command - #819
will-lamerton merged 2 commits into
Conversation
|
Hey @DeepamJha - thanks for this - the design is right to reuse One blocker before this can merge: Three smaller things worth fixing in the same pass:
Nice-to-haves, happy for them to be follow-ups: no streaming callbacks means the UI sits silent on a slow local model, and calling |
4aaa155 to
4b3445a
Compare
|
Thanks @will-lamerton! I've addressed the review feedback: Reworked commit.spec.tsx to cover the requested cases with mocked Git dependencies and client.chat. All local tests/checks are passing, and the updated commit has been pushed. |
akramcodez
left a comment
There was a problem hiding this comment.
LGTM! I reviewed the updates and verified the requested changes locally. The remaining CI failures are unrelated and also occur on main. Everything looks good from my side.
|
Love this. Nice job @DeepamJha! Merging :) |
* feat: add commit command for generating conventional commit messages from staged changes * fix: address commit command review feedback
Closes #757
Description
Adds a new
/commitslash command that generates a Conventional Commitmessage from the currently staged Git diff.
The implementation follows the approach discussed in #757:
git diff --cached.metadata.client) instead ofcreating a new client.
message.
git commit.using the existing message factory.
Type of Change
Changeset
pnpm changeset) describing this feature for the changelog.Testing
Automated Tests
commit.spec.tsxpnpm buildpnpm testpnpm test:lintManual Testing
Verified that:
/commitwarns when no changes are staged./commitgenerates a Conventional Commit message from the staged diff.Checklist
(No additional logging was required for this command.)