mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-11-24 16:08:30 +00:00
The first cut read as a web page of bordered boxes. This rebuilds it the way a phone app moves and reads, in the desktop tty7's own look: - Screens push and pop with View Transitions; large titles fold into the bar. - Grouped inset lists on a tinted canvas, following the system Light/Dark with the desktop presets, accent and ANSI palettes. Hack for code and terminal. - Panes are listed by tab, one card per workspace, with the desktop's agent avatars and status badges (Waiting hollow, Working blinking) and its words. - Pairing is its own screen, with steps, a Paste button and inline errors. - A machine that stays silent for 10 s says so and offers to pair again; an offline notice says what to check. - The terminal header shows live/offline in words. A pane too wide to read is shown at a readable size and pans to follow the cursor, with a toggle to fit the whole width. The key bar has drawn icons, puts left/right first, and has a keyboard toggle. PRODUCT.md and DESIGN.md record the product facts and the design system.
35 lines
1.7 KiB
HTML
35 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
|
|
/>
|
|
<meta name="color-scheme" content="light dark" />
|
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f2f3f6" />
|
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0f1013" />
|
|
<title>tty7</title>
|
|
</head>
|
|
<body>
|
|
<!--
|
|
THESIS: the phone is a second window onto the desktop's live panes; it reads
|
|
like an installed app (pushed screens, grouped lists, a keycap bar), never a
|
|
web page of bordered boxes.
|
|
OWN-WORLD: tty7 desktop Light/Dark presets following the system; canvas
|
|
#f2f3f6/#0f1013, cells #fff/#191b20, accent #1f6bf0/#78a8f5; agent avatars on
|
|
their brand fields with the desktop status badge (Working blue blinking,
|
|
Waiting amber hollow, Done green); Hack for terminal and code; system UI face.
|
|
STORY: pick a machine, see what needs you, open a pane, type.
|
|
FIRST VIEWPORT: large "Machines" title folding into the bar, one inset card of
|
|
paired machines, + to pair; empty state is the Duo mark and one button.
|
|
FORM: brief-pinned, no seed roll: the user asked for "modern native minimal" and
|
|
confirmed one neutral language for iOS and Android that carries the desktop
|
|
Light/Dark presets and agent status dots.
|
|
FINISH: unreviewed and undocumented is unfinished; this build ends with the finish review, the verdict, and DESIGN.md
|
|
-->
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|