Skip to content

feat: GitHub pull requests in Settings, Reviews column and diff banner - #117

Merged
flexdinesh merged 1 commit into
github-pr-fetcherfrom
github-pr-web
Oct 25, 2026
Merged

flexdinesh merged 1 commit into
github-pr-fetcherfrom
github-pr-web

Conversation

@flexdinesh

@flexdinesh flexdinesh commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Stack 4/4: GitHub pull requests in the web app, user guide, and pending live-test note.

  • Behavior owner and resulting change: account-github.tsx (Settings: Connect, install link, follow checkboxes, Resync, Disconnect, callback outcome; absent when the server returns 404). project-nav.ts: PR rows show #N title, GitHub · @author, PR/draft icon; closed and merged PRs leave the Reviews column (still searchable). PullRequestBanner.tsx: collapsible banner above the diff with state badge, author, head → base, Open on GitHub, description. New composites MarkdownText (react-markdown + remark-gfm: raw HTML skipped, unsafe URLs stripped, images as links) and LinkButton (link semantics, button visuals).
  • Contracts/invariants affected; local/remote implications: reads existing observation.pullRequest; no API change. Local mode unaffected.
  • Validation results; remaining risks: mise run check passes (122 browser tests). New browser tests: Settings absent/connect (CSRF, callback message cleared)/follow+resync/expired+disconnect; PR row + banner + sanitization (fails if skipHtml is removed). Unit tests for PR nav rules (fail if the closed/merged filter is removed). Live GitHub testing pending: docs/github-live-testing.md.
  • Intentional architecture/design changes and rationale: DESIGN.md documents PR rows, the banner, link-button and markdown. Docs site adds "GitHub pull requests" setup guide.
  • UI evidence: light/dark gallery goldens for Markdown and LinkButton; desktop 1280 and mobile 390 banner screenshots reviewed; disclosure and links keyboard-reachable; Pierre geometry untouched (banner sits outside the diff viewer).

Settings connects GitHub, follows repositories and resyncs; pull request rows
show #N title, GitHub and author, and leave the column once closed or merged;
a collapsible banner shows state, branches, a GitHub link and the description
as sanitized Markdown. Adds LinkButton and MarkdownText, a GitHub setup guide,
and docs/github-live-testing.md for checks pending a real GitHub App.
@flexdinesh
flexdinesh added this pull request to stack #118 October 25, 2026 05:19
@flexdinesh
flexdinesh marked this pull request as ready for review October 25, 2026 06:31
@flexdinesh
flexdinesh merged commit d6961de into main Oct 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant