Skip to content

docs(specs): viewport spec notes the two-row phone rail of trinity#1032 - #3834

Merged
gHashTag merged 1 commit into
gHashTag:masterfrom
dmitrii-f-t27:docs/viewport-spec-phone-rail
Sep 16, 2026
Merged

gHashTag merged 1 commit into
gHashTag:masterfrom
dmitrii-f-t27:docs/viewport-spec-phone-rail

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Contributor

What

specs/ui/viewport.t27 measured the Queen rail at 390x844 on 2026-09-09 as "a horizontal strip, 12 tiles of 44x74, about 6 visible" and pinned RAIL_* to that reading ("described, not changed here"). The owner's phone showed the strip's cost on 2026-09-16 (six and a half tiles in view, the rest past an edge that gives no sign it can be dragged), and gHashTag/trinity#1032 lays the rail out as a grid of two rows on portrait phones (max-width: 640px, queen-phone.css): ceil(views / 2) columns, every tile at least 44 px and in view, nothing scrolling; the head's tool row wraps instead of scrolling.

This PR makes the spec say so where it described the strip: a dated note in the SOURCE section next to the measurement it supersedes, and a sentence in the rail-capacity section stating what its numbers are — the c881e7f reading, with thirteen views on the rail since TRI joined it (HUD_KEYS[12] = r), the compact strip now the layout from 641 to 900 px wide only. Comments only: no constant, test or assert changes, so RAIL_TILES stays 12 and RAIL_MIN_VISIBLE stays 6 (met with every tile on a portrait phone). The site's viewport.generated.ts / .css follow when the copy is re-vendored (companion PR in gHashTag/trinity: the values stay, the embedded spec hash changes).

Checks (local, this branch)

  • t27c check specs/ui/viewport.t27: Typecheck OK; check_specs_parse, check_specs_generate (1011 specs, 931 generate, 80 known-broken): OK; published_figures.py --check: exit 0; t27c ci --repo-root .: 114 issues, the same as master.
  • now-sync gate: docs/now/2026-09-16-the-viewport-spec-follows-the-two-row-phone-rail.md.
  • Seal currency / coverage report 40 gen-drift seals under specs/base/* and elsewhere on this host (gen_hash_c differs from the sealed value; the spec files hash the same); ui/viewport.t27 has no seal and is not among them.
  • Measured on the branch of trinity#1032 in headless Chrome at 360x740, 375x812 and 390x844: .queen27-hud-command.is-compact scrollWidth == clientWidth, 13 of 13 tiles inside the rail. Not measured: a physical phone.

Refs #3557 (the issue the viewport spec was written under).

Do not merge without the owner's approval.

🤖 Generated with Claude Code

specs/ui/viewport.t27 measured the Queen rail at 390x844 on 2026-09-09
as a horizontal strip with about six of twelve tiles visible and pinned
RAIL_* to that reading. Since gHashTag/trinity#1032 (2026-09-16) a
portrait phone lays the rail out as a grid of two rows, every tile in
view, and the head's tool row wraps instead of scrolling; the strip is
the layout from 641 to 900 px wide only, and the rail carries thirteen
views since TRI. The SOURCE section and the rail-capacity section say
so next to what they described. No constant, test or assert changes.

Refs gHashTag#3557

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@gHashTag
gHashTag merged commit 52f2fea into gHashTag:master Sep 16, 2026
29 checks passed
gHashTag pushed a commit to gHashTag/trinity that referenced this pull request Sep 16, 2026
…rail (#1033)

The copy of specs/ui/viewport.t27 follows gHashTag/t27#3834: a dated
note that a portrait phone lays the Queen rail out as a grid of two rows
since #1032, with every tile in view, and that the RAIL_* numbers are the
c881e7f reading of the 641-900px strip. Comments only, so
viewport.generated.ts and viewport.generated.css change in their embedded
spec hash and in nothing else (node scripts/viewport-from-spec.mjs;
check:viewport up to date; test:viewport-spec 8/8).

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
github-actions Bot added a commit to gHashTag/trinity that referenced this pull request Sep 16, 2026
docs(website): vendor the viewport spec that notes the two-row phone rail (#1033)

The copy of specs/ui/viewport.t27 follows gHashTag/t27#3834: a dated
note that a portrait phone lays the Queen rail out as a grid of two rows
since #1032, with every tile in view, and that the RAIL_* numbers are the
c881e7f reading of the 641-900px strip. Comments only, so
viewport.generated.ts and viewport.generated.css change in their embedded
spec hash and in nothing else (node scripts/viewport-from-spec.mjs;
check:viewport up to date; test:viewport-spec 8/8).

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

2 participants