Repository navigation
Artifacts in OpenBot's current look: one light table, fewer boxes - #3016
Open
ataibarkai wants to merge 10 commits into
Open
ataibarkai wants to merge 10 commits into
ataibarkai wants to merge 10 commits into
Conversation
A document is set by the typeset rules a reply uses, on white paper (the card level) instead of the panel's slate. Its tables are part of the page: no grey box, no inner box, no height cap, muted heading row, hairline rows, Copy/Download/Full screen on hover. A table in a card runs to the card's edges under a pale heading strip; sort arrows show on hover. Card titles lose the line under them. A sheet's heading row and row numbers lose their fill. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The viewer is one page on the card level: the artifact, its header and its comments, split by two lines, in place of a white card inside the slate panel. A document draws no paper edge of its own. Inside an artifact a gallery frame draws no card (UnboxedFrames): a dashboard's figures, charts and tables are titles over their content, set apart by space, and its tables are drawn as a document's. No comments yet is one quiet line, not the framed empty state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The light table a conversation's reply drew was styles scoped to the reply ([data-reply-prose]), over Streamdown's framed table: everywhere else (a document, a card, a dashboard's words) kept the grey box, the inner box and the filled heading row. The look now lives in the component: MarkdownTable draws no box, MarkdownTableHead no fill, its edges flush and its figures in even widths, and a heading wraps rather than pushing a column out of sight. The code block's rules apply to every Bot's words, not only a reply's. Documents use the reply's components, with every row shown. The gallery's showTable draws the same table: no inner box, no fill, no stripes, a sort arrow on hover or when sorted; the sort hint is said to a screen reader. On paper a document and a dashboard keep the print page's margins; a dashboard prints on white, and a document's table rows stay whole. Thumbnails draw a dashboard's parts unboxed, as the view does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The print page loaded neither shadcn/typeset nor the app's tuning of it, so a document's headings printed as body text once its words were set by typeset. The rules that set a Bot's Markdown (the reply's and document's typeset tuning, Streamdown's code block) move to bot-markdown.css, which the app and the print page both import. On paper a document's table breaks between rows, not before the table, and prints without the heading fill print.css used to give it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A 12-column grid with 40px between columns needs 440px for its gaps alone, so at 390px a dashboard's figures scrolled sideways. The gaps are 16px and 32px until the dashboard is wide (@3xl), then 40px and 48px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 tasks done
The full-screen table drew Streamdown's bordered table; it now has the inline table's look, and its Exit button the size of Copy and Download. table-export-browser compared OpenBot's table pixel for pixel with Streamdown's own; it now compares it with Streamdown's table in OpenBot's look, the styles a reply laid over it before the look moved into the component (OPENBOT_LOOK in the fixture), inline and full screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ataibarkai
marked this pull request as ready for review
December 5, 2026 17:25
ataibarkai
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
mxmzb,
samjulien and
tylerslaton
as code owners
December 5, 2026 17:25
A table's Copy, Download and Full screen, and a code block's Download and Copy, show while the pointer is on the table or block, or focus is in it, and always on a screen with no hover. They fade rather than leave, so nothing moves, and stay in the tab order; an open Copy or Download menu keeps them shown. The table's rule and test are #2756's, word for word, so the two pull requests agree where they meet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before (main) on the left, this branch on the right. The document is a made-up one (the repo is public); the viewer's own document text is blurred.
Artifacts a Bot makes looked heavier and older than the rest of OpenBot. A document's tables sat in a grey box inside a bordered box, with a filled heading row and a fixed height that cut rows off mid-sentence and pushed columns out of sight. Its words were set by Streamdown's own styles rather than the typesetting a reply in the conversation got in #2634. A dashboard was a card for every figure, chart and table, each with a line under its title, all inside a white card on the slate panel.
What changes
[data-reply-prose]instyles.css), laid over Streamdown's framed table. Everywhere else (a document, a card's words, a dashboard's notes) kept the box. The look now lives in the component itself (lib/markdown-table.tsx): no box, no fill on the heading row (MarkdownTableHead), lines between rows, the first and last columns in line with the text, figures in even widths. A heading wraps instead of pushing a column out of sight. A reply in the conversation looks as before (checked pixel for pixel), but for its buttons below.bot-markdown.css, which the app and the print page both import, so a document prints as it reads.UnboxedFrames): a dashboard's figures, charts and tables are titles over their content, set apart by space. Its tables are drawn as a document's. "No comments yet" is one quiet line instead of the framed empty state.showTable, the table a Bot draws in a conversation, gets the same light table: no inner box, no fill, no stripes, a sort arrow on hover or when sorted. The sorting hint is still read to a screen reader.Existing artifacts
Documents, dashboards and sheets are drawn when they are opened, so every one already made takes the new look. Pages are compiled once into their own HTML and keep the look they were built with.
Checked
table-export-browser(16 pass) and 15 more files (artifact-kinds-browser,artifacts-screens*,transcript-table-end,conversation-reply-toolbar-layout,a2ui-*,artifact-collab-browserand the rest; 287 pass, 0 fail).table-export-browserheld OpenBot's table pixel for pixel to Streamdown's own. It now holds it to Streamdown's table in the look a reply gave it before that look moved into the component (OPENBOT_LOOKin its fixture), inline and full screen, so a reply's table is proven unchanged.Overlaps
ArtifactTable's header and moves sorting intoui/table'sTableSortButton.MarkdownTable's buttons on hover; this branch now does the same, with Reading a conversation: fold a long message, show a table's buttons on hover #2756's own rule and test, so merging either after the other is a small conflict with identical lines.Whichever lands second resolves a small conflict in those two files; neither changes what the other does.
Changelog
Web app.
🤖 Generated with Claude Code