Skip to content

Two-row header with a New button on table and board views (Feature #384) - #1156

Merged
grunion-ai merged 4 commits into
mainfrom
claude/two-row-header-1795195221
Nov 20, 2026
Merged

grunion-ai merged 4 commits into
mainfrom
claude/two-row-header-1795195221

Conversation

@grunion-ai

Copy link
Copy Markdown
Owner

Feature #384: https://weave.grunion.ai/w/weave/e/ac17eda3-9b7e-4d6e-8cf5-aeba9a950c0d
Fixes Issues #1862, #1863 and #1867. Supersedes rule 1 of Feature #377.

What changed

  • Row 1 holds the breadcrumb, Copy permalink and the pane controls weave already had: Expand and Close in the record pane, Close on the record page. It never wraps; Feature Board: compare two to four picked cards in the pane row (Feature #354) #377's fold rules still apply.
  • Row 2, table and board views: the table icon, title and description toggle on one centred line, then Search, View, Share and Table actions moved down unchanged, then a new New button named for the table's record ("New bug"). In Table layout it runs the same action as the "+ New bug" row under the grid; in Board layout it opens the new-record tray. Hidden below 720 px, where the phone bar's round + already does this.
  • Row 2, record pane and page: the table icon and #id, then Show or hide fields, Share and the record menu moved down unchanged.
  • A record's breadcrumb ends at the table crumb and the #id; the name shows once, as the title (Issue #1862).
  • The View button keeps its active-filter count, now in row 2 (Issue #1863).
  • The band between the title and the grid header closes to the header's 16 px padding (Issue #1867).
  • Header text is smaller: table title 16 px (--fs-doc) weight 600, record title 20 px (--fs-h1), crumbs stay 13 px. No new type step; the eight-step scale holds.
  • Row 2 condenses (search folds to its icon) when its contents overflow, replacing the old row-1 crumb-row-tight.
  • Handbook: table-views.md and making-a-workspace-your-own.md describe the two rows and the New button.

Tests

  • test/record-header-one-row-browser.test.mjs rewritten: row 1 is one line with no clipped crumb from 320 to 1920 px on the record page and the table, the toolbar lives in row 2, no header control overlaps another, no sideways page scroll; plus the dock, row membership, the once-only record name, the font sizes, the centred line and the View count.
  • New test/header-new-record-browser.test.mjs: the New button is on table and board views, last in row 2, and creates a record in that table.
  • Header suites moved to the two-row model: table-header-one-row, dock-header-one-row, header-toolbar-size, record-bar-one-eye, crumb-row-centre, pane-header-line, cover-under-header, ui-contract, touch-token and test/lib/header-bar.mjs; selector moves (.crumb-row .dots-btn to .head-bar .dots-btn) in the rest.
  • Unit lane locally: 603 files, green apart from two supervisor.test.mjs cases that time out under machine load ("the worker never listened") and pass on CI.

Screenshots

Light and dark at 1440 x 900 are in the Feature #384 row after landing.

…ure #384)

Row 1 holds the breadcrumb, Copy permalink and the pane controls weave
already had (Expand and Close in the dock, Close on a record page). Row 2
holds what the page is and what you can do to it: the table icon, title and
description toggle with Search, View, Share, the table menu and a New button
named for the table's record; on a record, the table icon and #id with Show
or hide fields, Share and the record menu.

- A record's breadcrumb ends at the table and the #id, so the name shows
  once, as the title (Issue #1862).
- The View button carries its active-filter count in row 2 (Issue #1863).
- Title, description toggle and toolbar share one centred line, and the
  band above the grid closes to the header's 16 px padding (Issue #1867).
- Table titles drop to 16 px (--fs-doc) and record titles to 20 px
  (--fs-h1); .title-edit weight moves to 600 for both.
- Supersedes Feature #377 rule 1; the one-row tests now assert two rows.

ponytail:
- public/app.js fitHeadBar: row 2 condenses by one overflow measure on
  resize only; a content change such as a new filter badge waits for the
  next resize. Upgrade path: also observe the toolbar's children.

Change-Id: I7059a1804fbf494bc3d2694bdc778c1f71c4abfd
@grunion-ai
grunion-ai enabled auto-merge (squash) November 20, 2026 18:24
Kyle Adriany added 3 commits November 20, 2026 14:17
)

- The record page hides its collapse arrows again: the rule now outranks
  the bar-button sizing rule.
- The record title textarea joins the coarse-pointer touch floor, so the
  20 px title keeps a 44 px target.
- The description toggle's touch box no longer overlaps the title.
- On a phone the filter popover may use the screen's height, since the
  tools sheet now opens one row lower.
- Suites that read the record crumb's name read its #id (Issue #1862).

Change-Id: I1ccddc64c7c43d9536e0d0a1ba64e702aed8572f
Change-Id: Id4750eea582de793b4b2105a569cfa543a4b5e67
#384)

- Row 2 measures the title at its text width, so a table with no
  description condenses before its toolbar runs into the title.
- A condensed row 2 folds New to its + icon and drops the table icon.
- The edge-collision helpers open the phone tools sheet from row 2.
- The phone header pin stops pinning crumb folding, which follows each
  platform's fonts.

No-changelog: changelog.d/two-row-header-384.md on this branch covers Feature #384
Change-Id: Ieb128c494139d9539689e43a6aae24ce84e7b56e
@grunion-ai
grunion-ai merged commit a1936bf into main Nov 20, 2026
17 checks passed
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