Skip to content

feat(native): redraw the Pulls screen and read a check's log in it - #1272

Merged
omartelo merged 2 commits into
mainfrom
feat/pulls-redesign
Dec 4, 2026
Merged

omartelo merged 2 commits into
mainfrom
feat/pulls-redesign

Conversation

@omartelo

@omartelo omartelo commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

The Pulls screen is redrawn on the window's own grid, one line a row with no cards, and a finished check's log can be read without leaving lich.

What changes

  • List. Open pull requests are grouped by what each one needs: Ready to merge, Needs work, In review, Drafts. A row says its one reason, and nothing when it is ready. The All, Ready, Drafts and Failing filters and the Approved state are gone: the groups say the same.
  • Head. Title, number and diff size with the actions at their right, ending in Go to session, Merge and ⋯; tabs and the stepper under them. Copy link and Copy Markdown moved into ⋯.
  • Overview. The facts (branches, conflicts, checks, reviewers, session, checkout) stand in a column beside the description, and stay still while it is edited. What a pull request does not have is left out.
  • Conversation and Files. What was said has no box around it. A thread folds on its own line and shows the lines it is about with the diff's own colors. Only the box being written in is filled. Resolving a thread folds it.
  • Checks. Grouped Failed, Running and Passed. Clicking a finished GitHub Actions or GitLab job opens its whole log beside the list, the failed step unfolded at its first error, with search and copy. A running job and other services' checks still open their page.

How the log is read

ProjectJobLog (declared in api) reads one job through gh api or glab api. GitHub's log names no step, so it is split by the steps' start times; docs/ceilings.md records what that costs, and what a list row cannot know when it says Ready to merge.

Copy added

Text Why it stays
Ready to merge, Needs work, In review, Drafts the groups replace four filter buttons
Failed, Running, Passed headings that replace a word on every row
All checks the way back from a log
Failed in {duration}, {ago} / Passed in {duration}, {ago} the job's result, only over an open log
Couldn't read the log: {error} only on failure
{open} of {total} threads open, all threads resolved a reviewer's verdict, only when they asked for changes
{count} comments only on a folded thread
You the author of a comment not sent yet
Search the log, Copy the log, From a fork, Checked out in {name} tooltips and labels of icons

More copy left than came in: the section titles, the empty "Nobody yet", "Not checked out" and "Nothing said yet." lines and the filter buttons are removed.

Tests

  • The job log split (steps, escapes, progress bars, steps sharing a second) and the GitLab trace.
  • The log view: what it opens on, its search, and a log read again with more steps.
  • The list's groups, the thread's patch and every tab on the new layout. Tests changed where the contract did: the filters, the Approved state and the header's status line no longer exist.

@omartelo
omartelo merged commit 7c09c9e into main Dec 4, 2026
11 of 12 checks passed
@omartelo
omartelo deleted the feat/pulls-redesign branch December 4, 2026 03:54
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