Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and

## [Unreleased]

## [2026.11.10] - 2026-11-26

### Changed

- Pull requests open in a review workspace modelled on Greptile's: the pull request list stays beside the open pull request, J/K switch pull requests and H/L switch tabs, and a row of keyboard hints sits at the bottom. The tabs are now Overview, Conversation, Tour and Code.
- Overview is a decision page: the merge verdict with the checks grouped by outcome and what blocks merging, a risk level with a plain summary of the change, open and resolved review threads, and the behaviour changes.
- The Tour walks the change on the real diff: each step shows its points beside the step's files, a point jumps to its lines and the lines select the point, and comments and Viewed work there as in Code. One AI run now writes the tour and Overview's risk summary. Guides written before this version need to be written again.
- Code shows every changed file in one scroll with a file tree, a Viewed checkbox per file and a "File 3 of 48" strip, instead of Blocks. Large pull requests open faster because diffs render only near the viewport.
- Leaving a pull request with an unsaved comment asks first, and merging is rejected if the branch changed since you opened it.
- Pull request statuses each have their own icon (merge conflict, draft, changes requested, failing checks, awaiting review and so on) in the inbox, the pull request list and the header, and tour and bug scan icons show a dot only when there is something to open.
- The pull request view is calmer: the list and side panels share the content's background, everything lines up on one left edge, Overview reads as a page with the merge verdict in one tinted band, and Merge is the highlighted button only when the pull request is ready.
- Moving around a pull request is easier to follow: the tab underline and the list selection slide to where you went, tour steps arrive from the side you came from, the lines a jump lands on are highlighted for a moment, and the shortcut bar lights the key you just used. Reduce motion turns it off.
- A pull request keeps its layout while it loads: the header and tabs stay in place, placeholders match the tab that will open, and the content fades in once. The inbox shows placeholder rows on its first load.
- Workflow run graphs show failed jobs in red and running jobs in blue while passed jobs recede. The header counts jobs by status and jumps to each failure, the job list puts failed and running first, and opening a run scrolls to what failed.
- Workflow run graphs keep jobs in sorted columns and draw dependency lines on demand. A failed job shows what it was waiting for and what it held up, and pointing at any job draws everything it depends on and everything waiting for it. Lines run between job cards and skip dependencies a longer chain already implies.
- The workflow run graph is denser: shorter cards, columns sized to their job names, and a run header that stays in place while the graph scrolls.
Expand Down
73 changes: 50 additions & 23 deletions CLAUDE.md

Large diffs are not rendered by default.

26 changes: 17 additions & 9 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Source of truth
- Status: Active
- Last refreshed: 2026-11-04
- Last refreshed: 2026-11-25
- Primary product surfaces: repository graph, commit and WIP details, changed-file lists, file diffs, contextual review, GitHub pull requests, persistent GitHub Actions and Portainer stack monitoring dashboards, and Git operation dialogs.
- Evidence reviewed: `PRODUCT.md`, `PLAN.md`, `README.md`, `docs/images/git-gud-history.png`, `docs/images/git-gud-diff.png`, `docs/images/git-gud-dashboard.png`, `.omx/artifacts/visual-ralph/dashboard-navigation/current-layout.png`, `.omx/artifacts/visual-ralph/dashboard-navigation/dashboard-header.png`, the renderer workspace, sidebar, dashboard source and CSS, GitHub query/IPC/store layers, Portainer API research, and the shared theme tokens.

Expand Down Expand Up @@ -42,9 +42,9 @@
- Shape/radius/elevation: Radii come from tokens only: 3px for small marks and chips (`--radius-xs`), 5px rows (`--radius-row`), 7px containers (`--radius-container`), 10px large surfaces (`--radius-lg`) and pills (`--radius-pill`); rounded repository tabs and restrained panel borders. Elevation is reserved for menus, popovers, and dialogs; dashboard tiles separate by tone, without a shadow. Segmented selections use a raised fill and a visible outline.
- Selection: One rule for every list, as in macOS: the list holding keyboard focus shows its selection in a teal tint (`--select-row-focused`), every other list keeps a neutral graphite selection (`--select-row`, `--bg-active`), so it is always clear where J/K and the arrow keys go. History, the sidebar tree and the PR inbox nav follow it; the palette is always focused. No decorative side stripes. Selected ref pills turn dark with light text and carry a `--text-3` outline so each pill stays 3:1 apart from the row; labels and metadata keep at least 4.5:1.
- Profiles: the title-bar menu is a switcher only (identity header with the GitHub login, a one-line identity warning that opens the fix, profiles, Use Git config, Manage profiles…, Settings). Creating and editing profiles happens in Settings › Profiles, where saves apply right away; saving the active profile re-applies it.
- Terminal action: A panel's finishing action sits on its last row: Commit in the composer, Save settings in the drawer, Viewed & next in review.
- Motion: Short functional transitions only, disabled under reduced-motion preferences. Tile dragging uses border, opacity, and insertion feedback without decorative motion. Nothing loops for long: running CI runs and guide writing use a static dashed icon, spinners only cover short fetches, and skeletons are static.
- Imagery/iconography: Lucide icons, with distinct shapes for added, modified, renamed, and deleted file states.
- Terminal action: A panel's finishing action sits on its last row: Commit in the composer, Save settings in the drawer, Viewed & next in local review, Reviewed & next in a tour step.
- Motion: Short functional transitions only, disabled under reduced-motion preferences. Tile dragging uses border, opacity, and insertion feedback without decorative motion. Nothing loops for long: running CI runs and tour writing use a static dashed icon, spinners only cover short fetches, and skeletons are static.
- Imagery/iconography: Lucide icons, with distinct shapes for added, modified, renamed, and deleted file states. Pull request states each have their own glyph (merge conflict, draft, changes requested, failing checks, awaiting review, waiting for approval, blocked, merged, closed), the same one in the inbox, the rail, the header and Overview; inbox rows and rail rows lead with it in a tinted tile. Pull request surfaces use 12px icons beside meta text, 14px in controls and rows, and 16px for standalone header buttons.

## Components
- Existing components to reuse: Shared buttons, segmented controls, toolbar typography and hover states, theme variables, `@pierre/diffs` renderers, file status colors, and modal/menu primitives.
Expand Down Expand Up @@ -99,9 +99,17 @@
## Pull request workspace
- Approved direction (2026-09-07): Inbox A and Review C from the PR layout study.
- Inbox: One compact search and refresh row; the left nav lists Inbox scopes (all, review requests, yours) and repositories as 13px sidebar rows, and populated groups follow ordered by the next action. Status categories are not repeated in the nav: each group heading offers Show only / Show all. Recently pushed branches follow the review queue.
- Review: Keep the title bar and a 40px PR command row above the code. Repository navigation and its footer are hidden while reviewing pull requests.
- Navigation: Blocks and their files share a left directory tree. Only the selected block expands; progress, grouping explanation, filters, diff style, and Viewed & next stay in its footer. The selected file follows code scrolling without moving the reader's position.
- Context: Details, discussion, attached images, review submission, and merge confirmation open in a dismissible right panel. It docks from 1400px and overlays at narrower widths; code keeps its full vertical space. Closing a panel preserves its draft and restores focus.
- Review (2026-11-25, modelled on Greptile's pull request view): an open pull request is a workspace of three parts. The queue rail on the left is the inbox in compact form and never leaves; the pull request sits in the middle under four tabs that answer four questions (Overview: can this merge and what should worry me; Conversation: what have people said; Tour: walk me through it; Code: let me read all of it); a 32px shortcut bar at the bottom teaches the keys for the open tab. Repository navigation and its footer are hidden while reviewing pull requests.
- Overview is a decision page, not a metadata form: Merge status with its verdict and one line of facts, then Risk level with a plain summary (or the author's description when there is no tour), then Issues, then Behavior changes. Each section is a 15px semibold heading with its verdict inline over one card (`--bg-graph-header`, 1px `--border`, 16px padding), 24px apart. Colour appears only where there is a signal.
- Tour and Code are the same diff surface with a different left panel and one thin progress strip ("Step 2 of 5", "File 3 of 48 · 12 viewed"). Code's panel is the file tree; the Tour's is the step: risk, a title that states a behaviour, summary, numbered points linked to their lines in both directions, the step's files, and the terminal action Reviewed & next pinned to its foot. The code is always the largest thing on screen. Pull requests show files, never Blocks; ticking a file's Viewed checkbox collapses it and moves on.
- Tabs are text tabs with counts in small pills and one teal underline that slides to the selected tab; the Issues tabs inside Overview are the same. The list's selection is one highlight that slides between rows.
- Loading keeps the page's shape: the header is real with stand-ins at the size of each button, the skeleton mirrors the tab that will open and fades out toward the bottom, and the content fades in once where it replaces the skeleton. Nothing shimmers or pulses, and background refreshes change nothing on screen unless something is new. A background job that has not run shows its plain icon; a status dot appears only when there is a result, a run in progress or a failure.
- One canvas, one edge (2026-11-26, after a four-reviewer design critique): the list, the files tree, the tour panel and the inbox nav sit on the content's own surface and are separated by a divider, never a lighter slab. The header is one row of the same height on every tab; the header, tabs and all content share a 24px left edge; Overview and Conversation are a left-aligned page up to 904px wide with 14px prose on a 78ch measure. On Overview only the merge verdict is filled: one band tinted by its tone, with what blocks merging listed once beneath it; the other sections sit on the canvas between hairlines, and Behavior changes comes before Issues when nothing is open. One solid teal button is on screen at a time: Merge while the verdict is Ready to merge (on Overview and Conversation), otherwise the tour's finishing action; Review is neutral. Beside a diff the list opens by default only from 1840px.
- Motion is one-shot and says what just happened or where you moved: the sliding underline and list highlight, a tour step arriving from the side it was reached from, a reviewed step filling its segment, a check drawing itself when you mark something done, the lines a jump lands on settling from a brighter tint, a key cap lighting when its shortcut acted, menus growing from and shrinking into their trigger. Each is under 400ms, none replays on returning to a tab, and reduced motion removes them all.
- Keys: J/K switch pull requests like mail, H/L switch tabs, ←/→ walk tour steps, [ / ] move between files, V marks a file viewed, R marks a step reviewed. Single-key shortcuts can be turned off in the shortcuts dialog.
- Rail: 280px, groups and status icons as in the inbox (each in a 22px tile tinted with its tone, so the column scans as a list of states), the open pull request selected by the app's selection rule. It is open beside reading tabs from 1240px and beside code tabs from 1840px (remembered separately), and floats below 1240px.
- Typed text is never lost: leaving a pull request with an unsaved comment asks first, and navigation that would hide an open composer is refused with a notice.
- Details, review submission, and merge confirmation open in a dismissible right panel. It docks from 1400px and overlays at narrower widths; code keeps its full vertical space. Closing a panel preserves its draft and restores focus.
- Keep Git's commit and branch review layout separate from the PR layout. Review and merge still require explicit submission; navigation never publishes local drafts.

## Repository UI polish
Expand Down Expand Up @@ -142,8 +150,8 @@
- File expansion choices use stable chunk identity so background context cannot reopen a collapsed card. Full context arriving mid-draft preserves the editor node, focus and caret.
- A loading PR count is unknown: show the spinner with a reserved blank count and announce loading.

- The review footer keeps its scrollable explanation and navigation controls separate from the fixed terminal action, so keyboard focus never falls under the action. Block position retains its right alignment when the explanation opens. The review footer runs in tab order: grouping explanation and position on one row, Filters and diff layout, shortcut hints, then Viewed & next and any error. On short panes the shortcut hints give way and the block list keeps more height. Unviewed blocks show a plain numeral; only viewed blocks show a tinted ring. File headers show the directory in muted ink and the basename in full ink, and the full path stays in the title and accessible name. Aggregate healthy status is neutral; current run/PR outcomes carry the status colour. Panel rails use matching open-panel icons.
- Review is the one solid teal action in PR Code. Viewed & next is a subtle, semibold button with a teal icon that loses its colour when disabled, on the footer's last row; local review keeps its primary Viewed action.
- In local branch reviews the review footer keeps its scrollable explanation and navigation controls separate from the fixed terminal action, so keyboard focus never falls under the action. Block position retains its right alignment when the explanation opens. The review footer runs in tab order: grouping explanation and position on one row, Filters and diff layout, shortcut hints, then Viewed & next and any error. On short panes the shortcut hints give way and the block list keeps more height. Unviewed blocks show a plain numeral; only viewed blocks show a tinted ring. File headers show the directory in muted ink and the basename in full ink, and the full path stays in the title and accessible name. Aggregate healthy status is neutral; current run/PR outcomes carry the status colour. Panel rails use matching open-panel icons.
- Review is the one solid teal action in a pull request's header. In the Tour, Reviewed & next is the panel's terminal action; local review keeps Viewed & next in its footer.

### Composer and dashboard edges

Expand Down
Loading