Skip to content

fix(mobile): work-item edit modal is a usable full-screen sheet on phones - #85

Merged
mvalancy merged 1 commit into
developfrom
fix/mobile-edit-modal
Jun 17, 2026
Merged

fix(mobile): work-item edit modal is a usable full-screen sheet on phones#85
mvalancy merged 1 commit into
developfrom
fix/mobile-edit-modal

Conversation

@mvalancy

Copy link
Copy Markdown
Member

Tapping a list card opens WorkItemDetailsModal. On phones it was a cramped centered card with a fixed two-column body, and the bottom nav + project selector painted on top of it (it rendered inside the z-20 main-wrapper while the nav/top-bar are z-30). It didn't fit and looked broken.

  • Portal to document.body so the modal escapes the page stacking context and covers everything (the pattern the other dialogs use).
  • Phones: full-screen sheet (full width/height, no rounding) with a sticky header so Save/Close stay reachable. Desktop unchanged (centered max-w-3xl card).
  • The two-column body (content | actions) stacks on phones (flex-col md:flex-row); the Actions column is w-full md:w-36.

Verified phone (full-screen, single column, header at top, nav no longer bleeds through) + desktop (unchanged 2-col card). Smoke 5/5; mobile 10/10; typecheck clean.

… on phones

Tapping a card in list view opened WorkItemDetailsModal, which on a phone was a
cramped centered card with a fixed two-column body — and (because it rendered
inside the z-20 main-wrapper while the bottom nav/top bar are z-30) the nav and
project selector painted ON TOP of it. It didn't fit and looked broken.

- Portal the modal to document.body so it escapes the page stacking context and
  actually covers everything (matches the other dialogs here).
- Phones: full-screen sheet (w/h-full, no rounding) with a sticky header so
  Save/Close stay reachable while scrolling. Desktop unchanged: centered
  max-w-3xl card.
- The two-column body (content | actions) now stacks on phones
  (flex-col md:flex-row); the right Actions column is w-full md:w-36.

Desktop centered-card layout verified unchanged. Smoke 5/5; mobile specs 10/10;
typecheck clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy
mvalancy merged commit cea1109 into develop Jun 17, 2026
16 checks passed
@mvalancy
mvalancy deleted the fix/mobile-edit-modal branch June 17, 2026 00:49
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.

1 participant