Public: anyone can read this; the crew can change it.

The top bar names the areas: Apps, Games, Infrastructure, Explore #17646

opened this

Merged 12h 52m ago, live in production

Part of #17627. The top bar names the forge's areas on every page: Apps, Games, Infrastructure, Explore. One list (GOPAGES) feeds the bar, the : prompt, ?, Cmd/Ctrl K and the terminal's g panel.

Notes

opened this

Part of #17627. The top bar names the forge's areas on every page: Apps, Games, Infrastructure, Explore.

  • One list (GO_PAGES) feeds the bar, the : prompt, ?, Cmd/Ctrl K and the terminal's g panel. Each person sees only what they may use: Infrastructure is for admins, Games for admins and anyone with a grant on a game box.
  • Keys: g a Apps, g p Games, g i Infrastructure; inside a repository g P and g I. ? lists the key that works there.
  • On a phone the areas are a strip that scrolls away, never beside a repository's own tabs. From 720 to 1199 px the search field is its icon, and / opens the palette.
  • Games with no box: an admin reads what a game box is, and "Start a game box" asks Talk for a plan. Nothing is built until approved.
  • Apps leaves the account menu and the Feed and Design tabs.

The cost: one grants read per 30 s a process, dropped by a grant or a revoke here. A grant made by another process shows within 30 s.

Tests (the builder's): tsc, gate and design-lint clean; 1114 of the web rule and related tests pass, 0 fail, 2 skip. Widths 390, 720, 1024, 1200 and 1600 with long names: no sideways scroll. Changed: the /docs index size ceiling (15.7 to 15.9 KB, the bar's bytes). Not run: the full suite. With no agent in the test forge, no plan came back from Talk.

Next: plain search words for each area, and a link to their games on the first page for someone who has nothing else. Cross links after that.

Looks: /apps Looks: /explore Looks: /games Looks: /infra Try: sign in as an admin and press g p, then g i, then g a; open a repository at 390 px wide and see its own tabs alone.

[
  {"go": "/games", "look": ".topbar", "expect": "The bar names Apps, Games, Infrastructure and Explore; Games is the bold one. An account with no grant on a game box sees only Apps and Explore."},
  {"go": "/infra", "look": ".topbar", "expect": "At 1024 px the search is an icon and nothing is cut off; pressing / opens the palette.", "ask": "Is the icon enough at this width, or do you want the field?"},
  {"go": "/explore", "look": ".topbar", "expect": "At 390 px the areas are a strip above the bar. Scroll: the strip leaves and the bar stays."},
  {"go": "/preview-admin/sample", "look": ".repo-head", "expect": "At 390 px the repository's tabs are the only strip. g P opens Games and g I opens Infrastructure; g p and g i are still its pulls and issues."},
  {"go": "/games", "look": "main", "expect": "With no game box, an admin reads what a game box is and has Start a game box, which asks Talk for a plan and builds nothing until approved.", "ask": "Is a plan in Talk the right first step, or do you want a form?"}
]

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages 3e3130ef46b9 --> Look pages for 3e3130e, from the gate:

  • look pages (named): this pull changes src/web/chrome.ts, src/web/client.ts, src/web/go_pages.ts; a commit names /apps
commented

<!-- look-pages d74edac7a6b8 --> Look pages for d74edac, from the gate:

  • look pages (named): this pull changes src/web/chrome.ts, src/web/client.ts, src/web/go_pages.ts; a commit names /apps
commented

<!-- look-pages 8cd1b19013ae --> Look pages for 8cd1b19, from the gate:

  • look pages (named): this pull changes src/web/chrome.ts, src/web/client.ts, src/web/go_pages.ts; a commit names /
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs