Repository navigation
Plan page header: the document's title is the header (A3) - #3905
Merged
Merged
Conversation
On a phone the bar holds the project, Share (when on) and the page's menu; the approval and the version sit above the document's own title, and the bar takes the plan's name once that title scrolls away. The file-name row and the chips row are gone: Edit, Global comment, Files, Contents, Copy file, Download and Close are in the menu. Tools, comments and Send are one bar at the bottom. A computer keeps Edit and the version on the pinned reading line, with Copy file, Download and Full screen in a menu at its end and Global comment as a mark in the bottom bar. Seams: the file pane's host prop (no head row, tools and comments into the host's bar), the Viewer's openGlobalComment/copyDocument handle (its DOM unchanged), RailSheet open/onOpenChange/trigger, ContentsPanel opener.
…ons a 44 px hit area
…mputer, one-row phone bar, no name flash, Copied! in the menu, Send line kept on a computer
…e top bar's crumbs (P2)
…ox-plan-header-a3 # Conflicts: # apps/inbox/index.css # tests/inbox-size-ceilings.json
…e newest is read; Versions closed until opened (A2)
…rsions closed until the clock opens it, the pencil starts an edit
…e clock; at 820 px the Contents rail shows, so the spec checks the rail (the shard 4 failure)
… phone bar The approval sentence leaves the bar: the plan's decision is one mark at the right (approved, changes asked, no decision), with a card on hover, keyboard focus or a press that holds the decision's line, its version and when, and the moved notice with its Dismiss. Approve stays a button beside it. On a phone the line above the title is gone: Approve, the mark and the clock sit at the end of the one top bar, now as tall as the list's own phone header; an older version or a comparison says so in that bar, with Back to version and Restore in the menu, so no second row stacks under it. Review fixes: a saved global comment opens again on the bottom bar's Global comment (the Viewer's reopenComment takes the host's anchor); the pencil waits while an edit opens; the menu's rows read the page's handlers when pressed; the clock keeps aria-expanded only; the back arrow is named Back to Spaces; dead code removed.
…ow window's bar is read after the files rail gives way
…e and Cancel at the bar's control height While editing on a phone, the bar is the sidebar button, Done, Cancel and the menu: the crumbs beside them were cut to a few letters at 320 px, so they are not drawn then (the page's region keeps the plan's name). Done and Cancel are 32 px to see with a 44 px hit area instead of a 44 px block filling the 52 px bar. The bar at rest is unchanged.
backnotprop
marked this pull request as ready for review
November 27, 2026 00:58
yermakoffivan
pushed a commit
to yermakoffivan/plannotator
that referenced
this pull request
Nov 27, 2026
…d Pele 1.13 core 0.25.35 carries what merged after 0.25.34 went to npm: exact-phrase search in inbox-search (words in double quotes, backnotprop#4117, backnotprop#4124) and the agent-gone event in external-annotation's ExternalAnnotationEvent (backnotprop#3698). No exports subpath changes. ui handles that agent-gone event, so its pin follows and core goes first. ui 0.67.0 is a minor: DiagramSourceAcceptContext lets a host refuse a fence by its source before any engine runs (backnotprop#4146), DIAGRAM_REFUSED_RESULT is exported, Pele 1.13.0 with the inline fit changes (backnotprop#4113), the agent-gone send failures (backnotprop#3698) and the plan header seams (backnotprop#3905). README and HANDOFF name the new pair and the order (core first), and the hook and Pele notes now name ui 0.67.0 instead of "the first ui after 0.66.0". bun.lock is bun install's own output: the two package version lines.
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.
The plan page's header, approval "inbox-plan-page-header-a3" (A3, "the document's title is the header").
Phone (393 px)
Desktop
Seams (no rebuild of shared UI)
AttachmentPanehostprop (parts/paneHost.tsx). With it, the pane draws no head row and sends its tools and comments button into the host's bar. Full screen keeps its own bar. Without the prop, nothing changes. The file shrank by one line, and its ceiling went down with it.Viewerhandle:openGlobalComment(anchor)andcopyDocument(). The Viewer's own chips stay in the DOM, hidden by the page's CSS, so stored comment positions do not move.RailSheet:open/onOpenChange/trigger, so the menu's Files row can open the sheet.ContentsPanel:opener, so the menu's Contents row can open the sheet.PlanEditingreturnsedit,decisionandbusy(onestart).No new words, settings, shortcuts or confirmations. "Page actions" is the frame's existing name for the page's group.
Tests
packages/inbox/plans/planHeader.test.tsx(new, DOM): the bar at rest and after the title scrolls away; the name from the start; the bottom bar; each menu row and what it does; approval states and an older version; the desktop reading line and menu; the menu's rows.plansPage.test.tsx: two tests now expect the new header.tests/e2e/inbox-plan-header.spec.ts(new): proof pictures in.local/proof/plan-header/, for phone and desktop, light and dark, plus the scrolled state, the menu, 320 px and a long name.After review
.pn-inbox), so its icons are strokes and its group lines have their colour.leave()remembers the reading place in a map that lives only as long as the pane, and the pane goes away on close. Its drafts are already kept by the pane's unmount path.Left panel: P2 (the owner's pick)
The bar: icons, no version text (approval "inbox-plan-header-icons-a2-p2-g1", A2)
PlanBar.tsx). On the newest version: the approval's words on the left (Approve when it is offered; Done and Cancel while editing); a pencil (Edit), a history clock (Versions) and the menu at the end. No version text; the clock's name and tooltip are "Versions · v4, newest", and it reportsaria-expandedwhile Versions is open. (Round two: the approval's words became one mark at the end.) An older version: one line, "v2 of 4, an older version", Back to version 4, Restore v2, the clock; no pencil. A diff keeps the frame's reading line.penandclock, standing in for Pierre's set (@pierre/icons), which is not a dependency of this repository. Swapping them is thePLAN_BAR_MARKSmap.The failing browser shard
inbox-plan-header.spec.tsexpected the pane's own Contents button at an 820 px window. At 820 px the document keeps 572 px, so the Contents rail shows beside it (on main too: measured 572 px with the rail at 820 px on main) and there is no button. The spec now checks the rail there; the button for a card too narrow for the rail stays guarded byplanHeader.test.tsx.Round two (the owner's feedback on the pictures, and the independent review)
The decision is one mark at the bar's end (owner: "This should just appear on the right as an icon type thing")
PlanDecision.tsx), the pencil, the history clock, the menu.Popover, Base UI'sopenOnHoverwith the ref cards' delays). The card: the decision's line, the version and when (v4 Monday, as the Versions rows write them), and "Your approval moved to v4." with its Dismiss while that notice stands.approvedslot), another page (that page's own decision, which is what its Approve acts on), and on a phone.pen,clockandcheckCirclefor Pierre'sIconPencil,IconClockArrowandIconCheckCircle;clockis a plain clock face, not a clock with a back arrow.A phone: one slim bar, nothing stacked under it
.ib-lhead, measured in the built app: 52 px). It was 57 px.Review fixes
globalAnchor, and the Viewer'sreopenComment(annotation, onMissing, globalAnchor)uses it (absent: the Viewer's button, as before). Test fails without it.aria-expandedonly.PLAN_FILES_WORDS.back, the plan rail's own words), which is where it goes. It was "Back to ". I kept the arrow, because approval P2 asked for it, and changed only its name.{compare && menu}and its CSS,PaneHostHandle.contents,aboveTitle,PlanKicker,startNoEdit(onestart), and the misplaced doc comment.markdown(Copy reads it through a ref). It still depends onblocks, as on main, so a new text still makes it again.docs/agent-guides/inbox-plans.mdnow describes optional frame props correctly: a change insidecomponents/frame/is allowed when it leaves other users unchanged.RailSheettop band of a sheet with no head. The sheet's Close (28 px, top right) is drawn in that band, so removing the band would put Close over the Pages row's Filter.Contents on a narrow computer, and the 820 px claim
I measured this in the built page. A computer's document never gets narrower than
PLAN_DOC_MIN(480 px), because the files rail and then the versions give way first. The document is 572 px at 820 px and 486 px at 1030 px with Versions docked, which is the narrowest a computer's card gets. The Contents rail shows at both widths, so no computer width shows the pane's own Contents button.On main (ea1b0ea) at 820 px the document is also 572 px and the rail shows. Main opens Versions by default, but at 820 px they cannot dock, so they do not narrow the document there. The round-one statement is true.
The spec now asserts the rail at 820 px and at 1030 px with Versions docked. The button itself stays guarded by the happy-dom test with a stand-in layout. The earlier spec comment said "480"; 480 px is the document's minimum, and 572 px is the width at 820 px.
Checked in the built page (sandboxed Inbox, made-up plan)
Round three (the independent read of round two)
planDecision.test.tsx, which fails without each part, and was checked by keyboard in the built page.