Repository navigation
Reviewer session: a live activity timeline and the PR overview - #345
Merged
Merged
Conversation
The review session page now shows what the reviewer did, Copilot style: one
collapsible "Reviewing pull request" timeline with the elapsed time, the
setup steps, then each group of what it did ("Search 3 times", "View 2
files", "Store 2 comments") with its queries, file ranges or comment places
inside, and the short notes it wrote on what it was checking. The newest
entry pulses while the review runs. Below it, the PR Overview the review
posted: one sentence, the Changes list and a File and Description table,
folded above 15 files as on GitHub.
The session types gain activity, activity_dropped and overview, checked
against the platform's OpenAPI document (regenerated at the platform
commit that added them). The landing page's features list and the
reviewer docs say what the review shows.
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
The review session page now shows the reviewer's work the way Copilot code review does: a live, collapsible "Reviewing pull request" timeline with elapsed time, grouped tool activity ("Search 3 times", "View 2 files", "Store 2 comments"), the short headed notes the reviewer wrote, and the PR Overview it posted, with a File | Description table. It reads the fields added in CoderHelm/coderhelm-platform#529, which is merged (96909edf).
Changes
reviewer/session/sections.tsx:SessionActivityreplaces the plain steps list. Its header shows "Reviewing pull request" or "Reviewed pull request" with the elapsed time and folds the whole timeline.path:linesentries, lookups or comment places and titles, and failed calls are marked.SessionOverview: the summary sentence, the Changes list, the changed-file count, and a Reviewed Changes table (File, Description). The table uses the shared data table, so it becomes cards on a phone. It is folded behind "Show a summary per file" above 15 files, with "And N more files" when the list was capped.reviewer/session/session.ts: pure helperstimeline,activityHeading,offsetLabel,droppedNote.lib/api.ts,api-contract.ts,openapi-fields.ts: theActivityGroup,ActivityItem,ReviewOverviewandOverviewFiletypes. Their contract is checked against the platform's OpenAPI document, which was regenerated at 96909edf.Verification
npm run lint(UI lint at baseline, no hosted links),npm run typecheck,npm run check:openapi,npm run build.reviewer-session.spec.tsthen passed 42 of 42 with--repeat-each=3 --workers=3.npm run lintandnpm run build. Docs: build, typecheck, check:links, check:output, unit tests and e2e (166 passed).