Skip to content

A link's question waits after the prompt line, and the panel's size is kept in the browser - #290

Merged
robertblust merged 3 commits into
mainfrom
chat-link-question-and-size
Oct 14, 2026
Merged

robertblust merged 3 commits into
mainfrom
chat-link-question-and-size

Conversation

@robertblust

@robertblust robertblust commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

A question a link carries is a question about to be asked, and the place a question is asked is the prompt, but the card stood under the intro's notice, above what the panel offers to try. It now stands right after the intro's prompt line, › Type a question, a number, or /help, so it is the last thing in the log, as it already was in a tab that holds a conversation. The menus are read from the model file after the card is drawn and stand above it, so the log goes to its end once they are in; without that they pushed the question out of sight.

The panel's size was kept in the tab's storage, so a link opened in a new tab found the panel at the stylesheet's size. chat-size is kept in localStorage now, as lang and theme are, under the same key and with no migration; the conversation stays the tab's. The theme boot block reads it from the same place for the first paint's frame and goes to v6.

On a desk the card's Send takes the focus so that Enter sends the question, and on the sites it did not hold it: a page sets its language after the panel has opened, the intro is redrawn in that language, and the focused button went with the card it stood in. The redraw now gives the focus back to the same button of the new card, and where nothing in the card held it, as on a touch screen, nothing takes it.

chat.js and the theme boot block are synced files, so this is a minor and every site's committed copy goes stale on it; a site takes it with npm run design alone. Each model holds chat-size as a stored item and each privacy page is drawn from it, so the three model entries move to local-storage in sibling pull requests, robertblust/mental-model#285, companygraph/mental-model#137 and guestgraph/mental-model#79, and a site should take this release and the content re-pin carrying that entry in one pull request. No page check would report the difference, because none resizes the panel. Release notes to write at tagging: a link's question waits right after the prompt line and keeps the focus when the page sets its language; the panel's size is kept in the browser, across tabs and visits.

Verified: npm test passes on the branch, which sits on current main, on each of its three commits; conventions-check and conventions-format pass; on a local preview of companygraph.io's homepage carrying this chat.js, in Chromium at desk and phone width, the card stood after the prompt line and in view, a panel sized in one tab opened at that size in a second tab on another page, and the focus stayed on Send with and without ?lang=de, where on companygraph.io as released it is on the body.

🤖 Generated with Claude Code

robertblust and others added 3 commits October 14, 2026 05:43
A question a link carries is a question about to be asked, and the place a question is asked is the prompt; the card stood under the notice instead, above what the panel offers to try. It now stands right after the intro's prompt line, where a typed question would stand, so the hello, the notice and the menus read in the order they always do and the question is the last thing in the log, as it already is in a tab that holds a conversation. The menus are read from the model file after the card is drawn and stand above it, so the log goes to its end once they are in; without that they pushed the question out of sight. The map's sentence follows. chat.js is a synced file, so every site's committed copy is stale: a minor.

Verified: npm test (1074 pass), conventions-check and conventions-format pass; the card was seen in Chromium after the prompt line and in view, at desk and phone width, on a local preview of companygraph.io's homepage carrying this chat.js.

Process: Delivery
Phase: Implement
Track: Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A link opened in a new tab found the panel at the stylesheet's size: the size a visitor gave it was kept in the tab's storage, and a new tab starts with none. It is kept in localStorage now, as lang and theme are, under the same key, chat-size, and with no migration, so a size given before this is given once more. The conversation stays the tab's. The theme-boot block reads the size for the first paint's frame from the same place and goes to v6. Each of the three models holds chat-size as a stored item with the mechanism session-storage and each privacy page is drawn from it, so that entry is owed its change in every model before a site takes this; no page check would report the difference, because none resizes the panel. chat.js and the block are synced, so every site's committed copy is stale: a minor.

Verified: npm test (1075 pass), conventions-check and conventions-format pass; on a local preview of companygraph.io a panel sized in one tab opened at that size in a second tab on another page, with chat-size in localStorage and none in sessionStorage.

Process: Delivery
Phase: Implement
Track: Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a desk the card's Send takes the focus so that Enter sends the question, and on the sites it did not hold it: a page sets its language after the panel has opened, the intro is redrawn in that language, and the focused button went with the card it stood in. The redraw now gives the focus back to the same button of the new card. Where nothing in the card held it, as on a touch screen, nothing takes it, so no keyboard rises. chat.js is a synced file, so every site's committed copy is stale: a minor.

Verified: npm test (1076 pass), conventions-check and conventions-format pass; on a local preview of companygraph.io's homepage carrying this chat.js the focus stayed on Send with and without ?lang=de, where on companygraph.io as released it is on the body.

Process: Delivery
Phase: Implement
Track: Code
Co-Authored-By: Claude Opus 5.5 <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.

1 participant