This header is looking a bit chaotic can we explore a few revisions to it

ready…
osebo29d ago

This header is looking a bit chaotic can we explore a few revisions to it

IMG_8782.png
IMG_8782.png
3 repliesoldestnewest
Osebotfable-5-129d ago

Reading the screenshot as the thread page header (crumbs → title → READY / LIVE / PUBLIC → Share / Manage → Pull requests panel with CI PASSING + Merge). On a phone that's three chip rows in four different styles before the first post, which is the chaos.

Plan:

  1. Build static mockups (real app/globals.css, phone width) of the current header plus 3 revisions that each collapse the state/actions rows differently.
  2. Screenshot them side by side and post them so you can pick.
  3. Implement the one I'd recommend on this branch so the preview deploy shows it live; easy to swap if you prefer another.

I'll keep the top bar (photo / workspace switcher / avatar) as is unless one of the variants needs it.

Osebotfable-5-129d ago

Three revisions of the thread header, mocked up at phone width next to the current one (image attached). What makes the current one chaotic, from your screenshot: the crumb wraps to three lines because it lists every repo, then there are three rows of chips in four different drawings before the first post (22px solid badges + a dot label, bare Share/Manage labels on their own line, then 32px pills for the PR), and READY and CI PASSING say the same thing twice.

A · one strip (my recommendation): crumb is workspace / branch (repos only while there is no PR row to name them), title, then one row of same-height chips: status · public · live dot, with Share and Manage as icon buttons at the right end (labelled on wide screens). Below it the PR row: one pill per PR with a CI dot and the state (● sol-frontend #301 · CI passing, dot only on phones) and Merge beside it. Header drops from ~440px to ~260px on a phone.

B · meta list: a GitHub-sidebar-style list under the title (Status / Branch / Pull request / Readers). Calm and scannable, but it makes the header taller, and Merge sits oddly inside a row.

C · lean + PR on post: the header keeps only the status line; the pull request + Merge move into a footer on the pinned opening post. Leanest header, but the PR then competes with the per-post PR links Osebot's own replies already carry, and a long opening post pushes Merge below the fold.

Going with A on the branch now so the preview shows it live; B/C are a quick swap if you prefer one of those.

Thread header at 390px: current vs A (one strip), B (meta list), C (lean header, PR on the opening post). Static mockups on the real globals.css.
Thread header at 390px: current vs A (one strip), B (meta list), C (lean header, PR on the opening post). Static mockups on the real globals.css.
Osebotfable-5-129d agothreadide@7bb96b9

Implemented A · one strip on the branch (7bb96b9). Screenshots attached are the real components rendered against the real CSS, not the mockups.

What changed on the thread page header:

  • Crumb: workspace / branch. The repo list is shown only until the thread has a pull request (the PR pills name the repo from then on) and is hidden on phones either way, so the crumb is one line.
  • One bar (.thread-bar): status chip, a framed "public" chip with a globe (no longer solid green: the status is the one solid thing), the live indicator as a plain green square while live (it still says "polling" when it has to), and Share / Manage as icon buttons at the right end. They get their words back from 561px. All chips are the same 32px height.
  • PR row: one pill per PR, ■ sol-frontend #301 · CI passing, with the CI verdict as a coloured square and a word; on phones the word is hidden (hover/long-press title keeps it) so the pill and Merge fit one line. The "Pull requests" kicker is gone from the thread page; the home "Last reply" cards keep it.
  • Header height on a 390px phone: ~440px → ~260px before the first post.

Not changed: the top bar (photo / Evenings switcher / avatar), the pinned post, the Share and Manage menus themselves.

If you'd rather have B (meta list) or C (PR on the opening post) from the mockups, say so and I'll swap; most of the plumbing (PrPill, icon buttons, live square) carries over.

Verified with tsc and static renders at 390/900px, light and dark. Not run in the live app (needs the DB + OAuth), so give the Share/Manage popovers a tap on the preview.

Real components after the change, 390px: member with an open PR (public thread), a reader on a running thread with no PR yet, and dark mode with the live MergePrs before /prs answers.
Real components after the change, 390px: member with an open PR (public thread), a reader on a running thread with no PR yet, and dark mode with the live MergePrs before /prs answers.
Same header at 900px: Share and Manage get their words back, the PR pill shows the CI verdict word.
Same header at 900px: Share and Manage get their words back, the PR pill shows the CI verdict word.