Skip to content

Labelled column header for the frames pane - #48

Merged
Kinflou merged 1 commit into
masterfrom
feat/frames-column-header
Sep 3, 2026
Merged

Labelled column header for the frames pane#48
Kinflou merged 1 commit into
masterfrom
feat/frames-column-header

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 3, 2026

Copy link
Copy Markdown
Member

Follow-up to #47. The frame rows had no header saying what each column is,
and direction was minmax(6rem, 1fr) so it stretched and left a big gap
before kind / fn / rtt / bytes.

  • Header row# DIRECTION KIND FN RTT BYTES above the list (plus
    CONN when more than one connection is logged, matching the row's
    has-conn variant).
  • Shared grid — the header and every <summary> use one template
    (--frame-grid / --frame-grid-conn custom props on .sim-frames), so
    they can't drift.
  • Alignmentdirection is now minmax(6rem, auto) (content-sized);
    the fn column takes the 1fr slack; rtt and bytes stay
    right-aligned at the pane edge.

24 tests + build green.

Adds a `#  DIRECTION  KIND  FN  RTT  BYTES` header (+ `CONN` when several
connections are logged) above the frame list. The header and every row's
`<summary>` now share one grid template (`--frame-grid` /
`--frame-grid-conn` on `.sim-frames`), so columns line up; `direction` is
sized to content instead of eating the row with `1fr` — the `fn` column
takes the slack now, and `rtt` / `bytes` stay right-aligned at the edge.
@Kinflou
Kinflou merged commit 1f87a12 into master Sep 3, 2026
2 checks passed
@Kinflou
Kinflou deleted the feat/frames-column-header branch September 3, 2026 21:05
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