feat: add mobile compatibility#260
Merged
backnotprop merged 4 commits intoMar 11, 2026
Merged
Conversation
- Add responsive hamburger menu with all header actions (MobileMenu) - Annotation panel renders as full-screen overlay on mobile with backdrop and close button - Panel starts closed on mobile (<768px) - Touch support for resize handles, pinpoint annotations, and toolstrip buttons - Mobile text selection creates annotations via highlighter.fromRange() bridge - Card action buttons always visible on touch devices (hover:none media query) - Settings modal uses horizontal tab bar on mobile - CommentPopover width capped to viewport on small screens - Replace mousedown with pointerdown for touch-compatible click-outside handling - Add useIsMobile reactive hook for breakpoint detection - Desktop layout (>=768px) unchanged Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
|
Ah this was on the todo list, great stuff |
Owner
Code reviewFound 1 issue:
plannotator/packages/editor/App.tsx Lines 1134 to 1136 in a2c9776 plannotator/packages/ui/components/AnnotationPanel.tsx Lines 177 to 179 in a2c9776 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Owner
|
I'll review these before you need to address anything. |
Owner
- AnnotationPanel: fix bottom gap on mobile overlay (inset-y-12 → top-12 bottom-0) - Viewer: push in-plan action buttons below badges on mobile (mt-6), add clear-right before frontmatter, show short labels (Comment/Copy) on mobile - App: reduce mobile horizontal padding to 8px (px-2) - test-hook.sh: build review before hook to fix missing dist error Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a configurable plan width preference (compact 832px, default 1040px, wide 1280px) with an abstract layout preview in Settings. Dynamic max-width flows through to Viewer, PlanDiffViewer, and the toolstrip. Default is compact to preserve existing behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
backnotprop
added a commit
to dgrissen2/plannotator_ext
that referenced
this pull request
Mar 12, 2026
The handleOpenLinkedDoc callback references imageBaseDir as a fallback for first-hop relative path resolution, but the state variable and its wiring from the /api/plan response were missing on this branch (they exist on main via backnotprop#260). Add them here so the branch works standalone and merges cleanly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
There is a UI bug: while selecting text, the default context menu (cut/copy/paste) pops up and overlaps the icon row. I will handle this later. |
backnotprop
added a commit
that referenced
this pull request
Mar 16, 2026
Move TaterSpriteRunning inside the z-0 content wrapper stacking context so it layers correctly: above sidebars (z-auto) but below the plan document (z-10). The mobile compat PR (#260) added relative z-0 to the content wrapper, which trapped the plan at z-0 while the sprite at z-40 floated above everything. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
backnotprop
added a commit
that referenced
this pull request
Mar 16, 2026
* fix: tater sprite running behind plan document instead of in front Move TaterSpriteRunning inside the z-0 content wrapper stacking context so it layers correctly: above sidebars (z-auto) but below the plan document (z-10). The mobile compat PR (#260) added relative z-0 to the content wrapper, which trapped the plan at z-0 while the sprite at z-40 floated above everything. * fix: move z-10 from main to inner content so sprite runs above grid
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
Files Changed
useIsMobilehook,MobileMenucomponentTest plan
🤖 Generated with Claude Code