Repository navigation
fix(ui): show repository-qualified GitHub issue and PR references - #172836
Conversation
Show owner/repo#number in GitHub item chips, previews, and pull request rows while preserving descriptive links and repository context resolution. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: d3e5389e-79cb-43ae-86be-dc0e9130609e
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR shows repository-qualified GitHub issue and PR references in chat chips, PR rows, and unavailable previews. Example: A conversation links #99816.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the maintainer-directed presentation improvement is useful, but one stale test expectation causes the reviewed head’s CI failure. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI turns Markdown links, repository-context shorthand, and Gateway PR metadata into navigable references and preview labels. flowchart LR
A[Chat Markdown] --> B[Reference resolver]
B --> C[GitHub target parser]
D[Gateway PR metadata] --> E[Shared reference formatter]
C --> E
E --> F[Chat chips and PR rows]
E --> G[Unavailable preview labels]
Technical reviewBest possible solution: Retain the shared qualified-reference presentation and update the remaining tooltip lifecycle expectation. Do we have a high-confidence way to reproduce the issue? Current-main source emits number-only generated references, and the supplied before screenshot shows the ambiguity; no target code was executed during this review. Is this the best way to solve the issue? The existing target parser is a suitable home for shared formatting, and the consumers preserve descriptive labels and navigation without adding configuration or a competing resolver. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 33a36fe4a2ee. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +15, Tests +88, Docs +3. Total +106 across 16 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 15, 2026, 2:48 AM ET / 06:48 UTC. |
|
Merged via squash.
|
…enclaw#172836) * fix(ui): qualify GitHub issue and pull request references Show owner/repo#number in GitHub item chips, previews, and pull request rows while preserving descriptive links and repository context resolution. Co-authored-by: steipete <[email protected]> * fix(ui): show repository-qualified GitHub issue and PR references Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: d3e5389e-79cb-43ae-86be-dc0e9130609e * test(ui): update qualified GitHub reference expectations --------- Co-authored-by: steipete <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
GitHub issue and pull request references can appear as a number alone, making them ambiguous in conversations that discuss multiple repositories.
User Impact
owner/repo#numberreference.Why This Change Was Made
Use a shared GitHub item reference formatter and consume qualified inline references as one link instead of repeating the repository prefix.
Evidence
Before
After
Worked on by
Work sessions
View the OpenClaw team session