Skip to content

Mobile agents and stories: stacked tables, 16px token form - #41

Open
fromknowware wants to merge 2 commits into
mainfrom
mobile/stories-agents
Open

fromknowware wants to merge 2 commits into
mainfrom
mobile/stories-agents

Conversation

@fromknowware

Copy link
Copy Markdown
Owner

Part of the mobile audit (#33), area: agents and stories. Rows A1, A2, S1 in drafts/mobile/AUDIT.md.

What was wrong

  • /agents: the capabilities table and the record table are 520px wide inside a 286–341px box (overflow-x:auto). The second column was cut mid-word with no cue to scroll ("Knowware: Systems o…", status badge "NOT OP…"), and at 320 the Status and Where columns were not visible at all.
  • Token form fields 15px (iOS zoom on focus), revoke button and checkbox rows under 44px.
  • Story pages: 11px diagram captions and badges.

Changes

  • ≤640px: each table row becomes a stacked block (capability name, then Needs a human? / Status / Where with their labels via data-label); record rows show the key above the value. role="table|row|rowheader|columnheader|cell" keeps the table semantics that display:block would drop. Desktop unchanged.
  • Token form fields 16px/48px at ≤900px, revoke 44px, checkbox 22px/44px row, table links 44px.
  • Story diagram captions and badges 12px.

Story canvases (reviewed, not measured on a device)

src/scripts/story-motion.ts already runs only while a figure is on screen (IntersectionObserver), pauses on visibilitychange, honours prefers-reduced-motion, and caps DPR at 2. I did not change it. I could not measure its cost on a real phone CPU here (see the checklist in the audit).

Before / after (320, 375, 430)

agents

Test plan

  • scripts/mobile-check.mjs on /agents, /stories, two story pages at 320/375/430: no overflow, no scrollers hiding content, no console errors
  • Remaining on these pages: .kw-btn 41px (controls PR), nav and footer targets (Mobile: nav menu, dismissible dock bar, safe-area insets #32)
  • Real device: story diagrams on an older phone

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
knowware-book 83791ac Oct 20 2026, 12:54 AM

iamkhayyam and others added 2 commits October 19, 2026 18:41
…ions

/agents: both tables were 520px wide inside 286-341px, so the second column was
cut mid-word ('Knowware: Systems o...', 'NOT OP...') with no cue to scroll and the
fourth capability column was not visible at 320. Below 641px each row is a
stacked block with its column labels; role attributes keep the table semantics.
The token form fields are 16px/48px (no iOS zoom), revoke and checkbox rows 44px.
Stories: diagram captions and badges 12px.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@fromknowware
fromknowware force-pushed the mobile/stories-agents branch from 7c084c5 to 83791ac Compare October 20, 2026 00:52
@fromknowware

Copy link
Copy Markdown
Owner Author

Rebased onto current main (domain move, story share block). Added 44px targets for the new share block's Pause animation and Save the GIF / link-preview card links (18px tall before); the capability table caption keeps the new knowware.systems text.

This branch has not been deployed

No deployments
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