Conversation
The fix plan's PR 8 (the open file at 920-1220 px and the file viewer) and PR 9 (shared pieces in packages/ui, packages/core, packages/guide-viewer). PR 8, Inbox only: - Rows 45, 46: a file pane under 780 px folds the comments panel into the header's Comments button and opens it over the file (decision 2); the viewer's Global comment no longer floats over the toolstrip there. 1280 and 1440 keep the docked panel; the phone keeps its own sheet. - Rows 47, 61: a PDF or other download has no panel and no Comments button unless other files have comments; its card wraps at any width. - Row 48: the guided review folds its panel the same way below 1,200 px (it was hidden at 900 px and below with no way to it). - Row 50: the full-screen foot wraps at every width. - Rows 51, 52: panoramas crop to 4:1 in the gallery and scroll sideways in the viewer; images smaller than their box draw at their own size. - Row 44: logs, YAML, CSV, JSON and other data files draw in the code view (decision 3); .txt keeps the text view. - Row 60: a comment on a very long line stores a 4 KB excerpt, the length and a hash; old records still match. PR 9, shared: - Rows 36-38 (QuestionBlock): an optional statusLabel seam (the Inbox says "Not sent" for an unsent pick); the Suggested line on choice questions; no bare Other row on a read-only card (decision 11: plan review and annotate get the two fixes too). - Row 59: CodeFileView gains optional overflow; the Inbox wraps lines over 1,000 characters. - Rows 56, 57 (guide-viewer): "Everything else" is not numbered, so the cards count what the header counts; # to ###### read as headings. The guides.show manifest is regenerated (399.7 of 400 KB gz). - Row 27: capQuestionPrompt cuts prompts whole, shared by question-block and inbox-questions; the Inbox also accepts an older client's cut. The worst-case seed gains the files, guide and cards these need; the row 45 test.fixme is a real test at 920, 1024, 1180 and 1280. HANDOFF.md notes each shared change for the next ui/core publish.
…and says Comments Review round for #1906: - Closing the folded comments sheet (file pane and guided review, the phone's sheet too) puts focus back on its Comments button; Escape inside the sheet or on the button closes it, before the guide's own Escape. - The button names the sheet with aria-controls. - The file pane's button reads "Comments, N" like the sheet and the guide's. - Merged main.
1 task
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.
Batch 2 of the Inbox stress-test fixes: the fix plan's PR 8 (the open file at 920 to 1220 px and the file viewer) and PR 9 (shared pieces in
packages/ui,packages/coreandpackages/guide-viewer). Batch 1 was #1899.Before/after for every finding, with the desktop pixel diff, is in
/tmp/break-ui-inbox/batch2/BEFORE-AFTER.html(main f1ab567 beside this branch, same seeded data with a fixed clock, same state and width).PR 8: Inbox only
test.fixmeis now a real test at 920, 1024, 1180 and 1280..txtkeeps the text view. Text comments left earlier on those files show as Unanchored.PR 9: shared code
QuestionBlockgets an optionalstatusLabelseam (ViewerquestionStatusLabel). The Inbox uses it to show "Not sent" on an unsent pick.CodeFileViewgets an optionaloverflow(defaultscroll). The Inbox wraps files that have a line over 1,000 characters.#to######render as headings.capQuestionPromptcuts prompts at whole characters.question-blockandinbox-questionsboth use it, and the Inbox also accepts the cut an older client makes.What the shared changes do outside the Inbox:
packages/ui/HANDOFF.mdhas a note for each shared change. Pi vendorstext-cut.tsbesidequestion-block.ts.Desktop at 1280 and 1440
Pixel diff of the list, a thread with files, a message with a table, a Markdown file beside the thread and full screen, a replaced question, Decisions and Settings: 0 changed pixels. The one exception is Decisions, where the seed stamps decisions with the wall clock, so their times and order differ between the two seed runs.
These screens change at 1440 on purpose: a PDF loses its empty panel, data files open as code, a minified line wraps, panoramas and tiny images, question cards, and the guide count.
Tests
bun run typecheckbun testsmoke:package