feat(review): add a [BETA] chat usage collapsible to the PR comment - #5081
Merged
Conversation
Adds a "[BETA] Chat with Gittensory" collapsible to the bottom of the public PR review comment, briefly explaining @gittensory ask/chat syntax (and the plain-language intent router, when enabled) plus a link to the command reference docs. Empty (thus invisible) unless the repo has chatQa or intentRouting enabled, matching the existing "Test coverage" collapsible's convention. Moves commandReferenceUrl from github/commands.ts to github/footer.ts (exported) so both the @gittensory help reply and this new collapsible resolve the same doc URL without a circular module import. Closes #5078
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5081 +/- ##
=======================================
Coverage 94.20% 94.20%
=======================================
Files 470 470
Lines 39693 39698 +5
Branches 14486 14488 +2
=======================================
+ Hits 37392 37397 +5
Misses 1645 1645
Partials 656 656
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@gittensory ask/@gittensory chatsyntax (and, when enabled, the plain-language intent router) plus a link to the command reference docs.chatQaorintentRoutingenabled underadvisoryAiRouting, so no repo advertises a command that would just decline — same convention as the existing "Test coverage" collapsible.commandReferenceUrlfromgithub/commands.tstogithub/footer.ts(exported) so both the@gittensory helpreply and this new collapsible resolve the same doc URL without a circular module import (commands.tsalready imports fromsignals/engine.ts).Closes #5078
Test plan
npm run typechecknpm run test:coverage(14324 passed, 0 failed)chatQais on, renders the plain-language routing line whenintentRoutingis onnpm run command-reference:check/npm run docs:drift-check