Merged
Conversation
Owner
|
Could this be considered a "focus mode" -- Ive been wanting to annotate without the right side drawer opening... Will evaluate your PR shortly. |
Contributor
Author
Owner
|
Thanks, I see what you mean. Im going to add on to this and make an additional focus more. I can give you better ergonomics around the table too. Copy table, maybe a pop-out view in a future doc. |
Owner
…controls - Drop annotate-only gate in canUseAnnotateWideMode; available in plan review, annotate, and linked-doc flows (archive/diff still excluded) - Add Focus mode alongside Wide: both collapse sidebars and suppress annotation panel auto-open; only Wide removes the reader width cap - Move controls out of AnnotationToolstrip/StickyHeaderLane; render as absolute-positioned "Wide | Focus" text buttons floating above the plan card's top-right edge (no vertical space cost) - Add Radix-based Tooltip primitive (packages/ui/components/Tooltip.tsx) and TooltipProvider; replaces the ad-hoc CSS tooltip with portaled, accessible, animated content - Polish: tracking-wide for 11px labels, focus-visible ring, active press state, aria-pressed, weight-stable toggle (color-only), 60px right offset under tater mode For provenance purposes, this commit was AI assisted.
The annotateMode gate was removed — update the test matrix to assert wide mode is enabled in annotate AND plan review, and disabled for archive/diff across both mode values. For provenance purposes, this commit was AI assisted.
The parameter was ignored after the annotate-only gate was removed. Prune it from the signature, the App.tsx call site and deps, and the test matrix to match the actual behavior (disabled only for archive and diff). For provenance purposes, this commit was AI assisted.
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.


Summary
Adds an annotate-only wide mode so wide tables can be reviewed and annotated without the left TOC or right annotations panel consuming horizontal space.
Why
Plannotator's annotate view is hard to use on wide markdown tables because the reader stays capped while both side panels remain available. This change adds a focused reading mode for annotate sessions that expands the document area and keeps annotation flows working without reopening the right panel.
What changed
@plannotator/sharedVite alias in the hook/review apps so local builds stay green from this checkoutVerification
bun test packages/editor/wideMode.test.tsbun x tsc --noEmit -p packages/shared/tsconfig.json && bun x tsc --noEmit -p packages/ai/tsconfig.json && bun x tsc --noEmit -p packages/server/tsconfig.jsonbun run --cwd apps/review buildbun run build:hookapps/hookLocal test notes
After swapping Claude's installed Plannotator plugin to this branch locally, annotate mode now exposes the wide-mode toggle next to the lightning bolt. Toggling it should hide both side panels, widen the reader, keep the right panel hidden while creating annotations, and restore the previous layout when toggled off.