Skip to content

feat(web): redesign the rows of session and project lists - #470

Merged
kalaspuff merged 5 commits into
mainfrom
fctl/963-the-arrow-to-the-right-in-the-list-when
Nov 7, 2026
Merged

kalaspuff merged 5 commits into
mainfrom
fctl/963-the-arrow-to-the-right-in-the-list-when

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The lists that open a session or a project from its row (the Agent Floor, a workspace's page, and a project's sessions, reviews and tickets) showed an arrow on hover that said nothing the row didn't, and every row kept a column free for it, so the times stopped short of the list's edge. The arrow is gone, and the rows are redesigned around what people read in them:

  • Under the pointer, the row fills as a rounded tile a little wider than the list, and the lines on either side of it give way. Keyboard focus draws an accent ring inside the same tile, as an outline, which Windows' contrast themes keep, and a press fills it on touch screens, which have no hover.
  • What a row holds lines up with the heading above: the status dots on its left edge, the avatars on its right edge, under the "3 active" count.
  • The status dot sits on the title's line, and the time and avatar end that line, so the line under it (project, reason, lines changed, pull requests) has the row's whole width. On a phone, titles keep about a third more of their text, and questions and reasons are no longer cut short.
  • The time and the avatar say "Last active …" and "Started by …" where the pointer rests. They used to lie under the link that covers the row, so their tooltips never showed. A click on them still opens the session. Screen readers now hear the status, who started the session and when, after its title.
  • The separators on the second line are evenly spaced, and a project's sessions use the same row, with their number and branch on the second line. That also drops a stray "·" that came before pull requests when a session had no branch.

The rows share their styles through components/ui/list-row.ts, which docs/development.md now points to. Verified with new tests for the row and its styles, the web tests, Biome and TypeScript (cargo xtask check web), and by looking at each page in Chromium in both themes, at 390 px wide and with forced colors emulated.

Screenshots

At a7a7b14, with made-up data from a mocked API: the Agent Floor with the pointer on the second row, dark and light, 1440 px wide; the same at 390 px; a project's sessions with the pointer on the Recently row; a project's Tickets tab with the pointer on its second row.

Before After
Before: the Agent Floor's lists, dark, with the hover arrow on the second row After: the Agent Floor's lists, dark, the second row filled as a rounded tile
Before: the Agent Floor's lists, light After: the Agent Floor's lists, light
Before: the Agent Floor's lists at 390 px After: the Agent Floor's lists at 390 px
Before: a project's sessions, dark After: a project's sessions, dark
Before: a project's Tickets lately, dark, with its hover arrow After: a project's Tickets lately, dark

Worth confirming

  • Decision: The workspace's project list and a project's Reviews and Tickets tabs lost their hover arrow too and use the same row, so every list that opens a session or a project on its row behaves alike. The pull requests page keeps its arrow: there it is a button of its own that opens the pull request on GitHub.
  • Decision: A project's sessions move their number from a column of its own to the start of the second line ("feat: let agents triage, labeling and commenting on tickets alone #412 · branch · pull requests"), and now show the status reason and the lines changed there, as the Agent Floor does.
  • Decision: The avatar moved after the time, to the list's right edge, where the avatars line up in a column.

fctl session


Note

Low risk. It only changes the look and markup of list rows in the web app, plus a docs paragraph and a small test; no data, API or permissions are touched.

What it does. Removes the hover arrow from the rows of session, project and review lists and redesigns them around a shared rounded tile that fills under the pointer, on keyboard focus and on touch. The shared styles live in ui/list-row.ts, project sessions reuse SessionRow, and the Tickets tab's recent sessions now use the same row too. The focus ring is a real outline and the lines between rows are borders, so both survive forced-colors mode.

Browser support. The row styles rely on :has() and sibling selectors to hide the lines between rows, so the look depends on browser support for those.

fctl review's first look at a7a7b14 · 11 files, +359 −152 · Review agent settings

fctl-sh Bot added 2 commits November 7, 2026 18:43
The lists that open a session or a project on its row (the Agent Floor,
a workspace's page, a project's sessions and reviews) showed an arrow on
hover that only took room: it kept every row's time short of the list's
edge. The row itself says it opens now: it fills under the pointer, as a
rounded tile a little wider than the list, and the lines beside it give
way. What a row holds lines up with the heading above, and its time and
who started it end the title's line, so the line under it has the row's
whole width.

The time and the avatar sit in the session's link, over the row's cover,
so that their tooltips show (they never did) and a click on them still
opens the session; screen readers read the status, who started it and
when after the link. A project's sessions use the same row, with their
number and branch.
@fctl-sh
fctl-sh Bot requested a review from kalaspuff as a code owner November 7, 2026 18:45
A touch screen leaves what it tapped hovered: the line under a row whose
pull request link was tapped went, though the row itself doesn't fill
without hover. The rule now applies only where hover does, as hover:
itself does.
@fctl-review

This comment has been minimized.

Comment thread web/src/components/ui/list-row.ts Resolved
fctl-sh Bot added 2 commits November 7, 2026 18:54
Forced colors (Windows' contrast themes) drop shadows and fills: the
rows' focus ring, a shadow, and the lines between them, a fill, went
there, so tabbing through the lists showed no focus at all. The ring is
an outline inside the tile's edge now, 2px as the app's other covering
links have it, and the lines are borders; a test keeps them so.
Its rows open a session as a whole, like the other lists, but kept the
old fill and a hover arrow that pointed out of the app. They take the
row from list-row.ts now, with the session's number, when the ticket
started it and who delegated it at the end of the title's line, where
the pointer shows each in full. docs/development.md names the pull
requests page as the one list with rows of its own.
@fctl-sh

fctl-sh Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

On the second finding of the review (the Tickets tab's list keeps the old row design): fixed in a7a7b14. Its "Tickets lately" rows use the row from list-row.ts now, without the hover arrow, with the session's number, when the ticket started it and who delegated it at the end of the title's line (where the pointer shows each in full) and the same sentence for screen readers as the other lists. docs/development.md now names the pull requests page as the one list whose rows are its own, since each has a button that opens its pull request on GitHub; the schedules list keeps its own rows too, as they expand in place rather than open a page.

@kalaspuff
kalaspuff merged commit cd6d3dd into main Nov 7, 2026
14 checks passed
@kalaspuff
kalaspuff deleted the fctl/963-the-arrow-to-the-right-in-the-list-when branch November 7, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant