Skip to content

Implement mobile-friendly editor layout#18

Draft
asp2131 wants to merge 2 commits into
mainfrom
cursor/editor-mobile-layout-7817
Draft

Implement mobile-friendly editor layout#18
asp2131 wants to merge 2 commits into
mainfrom
cursor/editor-mobile-layout-7817

Conversation

@asp2131

@asp2131 asp2131 commented Mar 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • switch the book editor to a compact mobile workflow with Pages / Canvas / Audio views below the desktop breakpoint
  • move text overlay properties into a mobile drawer while keeping the desktop sidebar workflow intact
  • replace mobile drag-and-drop with page reorder buttons and sound assignment actions, and restore Vitest setup with focused overlay editor coverage

Testing

  • npx eslint "src/hooks/useMediaQuery.ts" "src/components/text-overlay/PropertyPanel.tsx" "src/components/text-overlay/Toolbar.tsx" "src/components/text-overlay/DraggableTextOverlayEditor.tsx" "src/components/text-overlay/DraggableTextOverlayEditor.test.tsx" "src/app/admin/(editor)/books/[id]/edit/page.tsx" "src/app/admin/books/[id]/pages/[pageNumber]/overlay-editor/page.tsx"
  • npx eslint "vitest.config.ts" "vitest.setup.ts"
  • npm run test -- src/components/text-overlay/DraggableTextOverlayEditor.test.tsx src/components/IntegratedIllustration.test.tsx
Open in Web Open in Cursor 

cursoragent and others added 2 commits March 17, 2026 21:29
Co-authored-by: Akintunde Pounds <asp2131@users.noreply.github.com>
Co-authored-by: Akintunde Pounds <asp2131@users.noreply.github.com>
@vercel

vercel Bot commented Mar 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
storia Ready Ready Preview, Comment Mar 17, 2026 9:30pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants