Skip to content

feat(portal): Home leads with tools, and recent pages sit beside them - #1540

Merged
allisonmahmood merged 3 commits into
mainfrom
feat/home-tools-shelf
Nov 24, 2026
Merged

allisonmahmood merged 3 commits into
mainfrom
feat/home-tools-shelf

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

What changed

Home gave tools and pages the same weight: Yours and From colleagues interleaved both A–Z, so a run of pages published in one afternoon could bury the tools people come back to. Home now lists every live tool A–Z under Tools, with the recent pages in a narrow Pages list beside them (under them on a phone). New, Yours and From colleagues leave Home. Nothing is hidden by age: every page stays on All patches, in search and in the switcher.

Closes #1538

Look at

Home for the admin in dense. Tools A–Z with owner, failures and Share on her own rows; Pages shows each owner's newest page of the last 14 days, then All 4 pages (two of Brightline's four pages are older than 14 days).

1440px, after

After: / at 1440px

1440px, before

Before: / at 1440px

1024px, after. Pages stays beside Tools. From 1024px to 1279px, while Pages sits beside Tools, the Failures column gives way, a failing tool's count moves under its title, and Share shrinks to its icon.

After: / at 1024px

1024px, before

Before: / at 1024px

390px. Pages follows Tools; Share is in the row's menu.

Before After
Before: / at 390px After: / at 390px

A company with only pages (Dana at Harbor & Pine Coffee, who has no agent yet, so the Final step sheet is up): Pages takes the main column whatever the pages' age, then All N pages.

Before After
Before: pages-only company at 390px After: pages-only company at 390px

Core gains three small parts, each with a /~ui gallery entry and its state table:

  • mainWithRail: a main column with a narrow rail beside it, following it below 1024px. It's a new main-rail style chunk; pages add no CSS.
  • a row's descriptionLink ("+5 more"), which sits above the row's stretched link so it stays pressable at every width.
  • a table column's hideBelowWide, with hide-below-wide / show-below-wide beside hide-sm / show-sm.

Where this goes beyond the issue's text, and why

  • All N pages must match what All patches' Pages lists, and that list includes pages an admin manages but can't open. Home now makes the same read with managed: true and filters it to the patches the viewer can open for everything it shows. It's still one query; only the count uses the wider set.
  • Share turns into an icon below 1280px, as in the picked 1024px look, and moves into the menu on a phone (Yours did this before feat(teams): teams decide who opens patches and who builds with connections #1417).
  • The Failures column gives way from 1024px to 1279px, only while Pages sits beside Tools, and on a phone as before. Where Tools has the full width it stays, and a failing tool's count shows under its title wherever the column is hidden.

How it was verified

The issue's Done means, each covered by HomePages.test.ts:

  • In a company with tools and pages, Tools lists every tool A–Z with owner, calls on the rows the viewer manages and Share on their own rows; Pages sits beside it in the rail; New, Yours and From colleagues are gone. The dense shots above show the same.
  • A colleague's tool the viewer never opened carries the dot, and opening it clears it.
  • An owner with six pages published today takes one row ending "+5 more", whose link lists all seven of their pages, including one from 15 days ago.
  • A page from 15 days ago isn't under Pages but is on All patches' Pages. Republishing it brings it back.
  • "All 8 pages" links to a listing of 8 rows.
  • A company with no live tool shows its first twelve pages, newest first, however old.
  • Tools comes before Pages in the DOM, so a phone shows Pages after Tools.

pnpm check passed: 349 test files, 3931 tests. pnpm verify: the first run failed only the two browser jobs, on the /~ui keyboard spec, because the gallery demo added a second "Actions for Kudos" button. I renamed the demo row; that spec passes on Chromium (12 of 12). The full rerun at this head passed format, lint, typecheck, synth, postgres-concurrency, cli-smoke, install, tier2-smoke, browser and browser-firefox. test and test (bun) timed out in 25 files across execution, integrations, the CLI and the server while the machine was under load (the same suite passed in pnpm check an hour earlier). All 25 pass when run alone. None of them is in portal or core.

I didn't check by hand in Firefox or Safari. The layout is the existing grid and the media queries .split and the tables already use.

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

It changes only what Home reads and draws. There is no wire contract, CLI, migration or skill change, and no stored data. It ships alone and is not one-way.

  • What does a revert leave behind? Nothing; Home goes back to New, Yours and From colleagues.
  • Does the release before it still work with that? Yes.

Made by Claude Opus 5.5 via T3 Code

@github-actions github-actions Bot added area:ci CI, shared testing infrastructure, development scripts and tooling area:core Touches the core area area:docs Touches the docs area area:ui Portal and first-party browser pages, shared rendering and styles size:l 501-1,000 changed lines labels Nov 24, 2026
allisonmahmood and others added 3 commits November 24, 2026 02:44
Home's New, Yours and From colleagues gave tools and pages the same
weight. Home now lists every live tool A–Z under Tools, with the recent
pages beside it: each owner's newest of the last 14 days, "+N more" for
the rest, and All N pages counted as All patches' Pages lists them. A
company with no live tool lists its pages in the main column instead.

Core gains mainWithRail, a row's description link and a table column
that gives way below 1280px beside a rail, each in the gallery.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Between 640px and 1279px Home's Tools hid its Failures (24 h) column even
where Pages had dropped under it or there was no rail, so a manager lost
None and No calls yet with the full width to show them. Core's table option
is now hideWhenNarrow: a phone, or 1024px to 1279px inside mainWithRail's
main column. Share shrinks to its icon only there too.

A browser spec replaces the markup regex: at phone width Pages follows
Tools, and a row's +N more takes the tap above the row's stretched link.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ested on what it counts

The All N pages test now adds a team-restricted page the admin manages but
can't open: it counts toward N and lists under All patches' Pages, and Home
shows it nowhere. Comments and docs that still named Yours or New to you
say Tools, Pages and This patch; servedStyles' digest moves with its
comment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the area:server Touches the server area label Nov 24, 2026
@allisonmahmood

Copy link
Copy Markdown
Owner Author

Review of e0a1387, by GPT 6.2 Sol: no blockers. Fixed in 8f8f6aa:

  • The Failures column was hidden from 640px to 1279px even where Tools had the full width. It now gives way only on a phone, and from 1024px to 1279px while Pages sits beside Tools.
  • The "All N pages" test passed whichever way N was counted. It now includes a page the viewer manages but can't open, which counts toward N, lists under All patches' Pages and stays off Home.
  • A regex on wrapper markup stood in for a layout check. One browser spec replaces it: on a phone Pages follows Tools, and "+N more" is pressable above the row's own link.
  • Stale words in two code comments, the product doc and the patches glossary.

Not changed:

  • Reading Home with Patches.list in place of Patches.read: Home read this way before this PR, so it is its own change.
  • The commit author's address: it is this repository's usual identity.

@allisonmahmood

Copy link
Copy Markdown
Owner Author

Acceptance: PASS with notes

Checked 8f8f6aa6b442f89ba5effaba9c16ede4a1672557 (base 04a06113d7d64dc8c2e6e7365d51a6f515409490) on dense and local test fixtures, by GPT-6.2 Sol in Codex via T3 Code.

Done means

  • Tools and recent Pages — passed. The dense admin saw all nine tools A–Z, with owner names, failure counts on managed tools and Share on tools the admin owned. Pages held two recent pages. New, Yours and From colleagues were absent.
  • Unopened dot — passed. A colleague’s tool showed the dot on Home. Opening the tool removed it on return.
  • Owner grouping — passed. Six pages with versions published within a day by one owner appeared as one row with +5 more. The link opened that owner’s six pages at 1440, 1024 and 390 px. The socket suite also verified that the owner filter lists older pages.
  • 15-day-old page — passed. Office playlist was absent from Home’s Pages and present in All patches’ Pages. The socket suite verified that republishing an old page brings it back to Home.
  • All N pages — passed. All 4 pages opened four rows. After five CLI publishes, All 9 pages opened nine rows. The socket suite also checked the count for a page the admin could manage but could not open.
  • Pages-only company — passed. A seeded pages-only company showed its pages in the main column after Later with JavaScript disabled. The socket tests verified newest-first order, the twelve-row limit and inclusion of a page over 60 days old.
  • Phone order — passed. Pages followed Tools at 390 px. Layout checks across eight widths also confirmed the rail and failure-count breakpoints. The phone’s tool menu opened the Share dialog.

Golden journeys

  • Sign in — passed. A company page returned 401 signed out, opened at the same address after sign-in and returned 401 after sign-out.
  • Publish a page — passed. The local CLI published an HTML file and another member opened it from Home. Retiring it removed it from Home and its address. Restoring it returned it to both.
  • Share and unshare — passed. CLI sharing changed the kickoff brief’s signed-out status from 401 to 200 and back to 401.
  • Find and open a tool — passed. Home search found Kudos and opened it in its frame.
  • Use a tool live — passed. Kudos sent by one viewer appeared in another viewer’s open frame without a reload.
  • Use a tier 2 tool — passed. A New Business deal move and reversal reached the second viewer’s open board. Spend Requests refused self-approval.

Other evidence

  • Home and Core suites passed 54 tests. Focused Home, All patches, sharing, switcher and UI suites passed 85 in Chromium and Firefox, with the existing Chromium-only tab-focus test skipped in Firefox.
  • Dense retained the Needs attention, Your usual and Shared with you sections. The empty company retained its empty state. The shared UI gallery rendered the description link.

Rollback answers: Both match the diff. A revert restores the earlier Home layout and reads. The previous release can still use the existing stored data, schema, infrastructure and wire contract.

Notes

  • WebKit’s CI job was still running at posting. The local WebKit suite requires macOS.

@allisonmahmood
allisonmahmood merged commit 9deb3fd into main Nov 24, 2026
30 checks passed
@allisonmahmood
allisonmahmood deleted the feat/home-tools-shelf branch November 24, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI, shared testing infrastructure, development scripts and tooling area:core Touches the core area area:docs Touches the docs area area:server Touches the server area area:ui Portal and first-party browser pages, shared rendering and styles size:l 501-1,000 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Home has a Tools shelf and a Pages list

1 participant