Skip to content

fix: replace mobile bottom-sheet usage with modals#144

Merged
AdamJ merged 1 commit into
mainfrom
claude/ios-sheet-modal-migration-UfI7R
May 26, 2026
Merged

fix: replace mobile bottom-sheet usage with modals#144
AdamJ merged 1 commit into
mainfrom
claude/ios-sheet-modal-migration-UfI7R

Conversation

@AdamJ
Copy link
Copy Markdown
Owner

@AdamJ AdamJ commented May 26, 2026

Summary

Removes the mobile bottom-sheet (vaul Drawer) behavior from AdaptiveDialog. All dialogs now render as standard Radix modals on every screen size, including mobile.

Type of Change

  • New feature
  • Update to existing feature
  • Bug fix
  • Documentation update
  • Other (describe below)

Related Issue

Closes #

Changes Made

  • src/components/ui/adaptive-dialog.tsx — removed useIsMobile hook, all Drawer imports, and the mobile branch. Every Adaptive* export now delegates directly to the corresponding Dialog* component. The snapPoints prop is retained in the interface for API compatibility but has no effect.

Checklist

Complete all items that apply to your change. Check N/A for items that don't apply.

Documentation

Run sync-docs skill with Claude Code to automatically update relevant files.

  • Any notable changes added to the README.md
  • CHANGELOG.md updated accordingly
  • N/A — no README changes

General

  • Branch is up to date with main
  • No unrelated files included in this PR
  • Tested locally by invoking the npm run test, npm run lint, and npm run build

Notes for Reviewers

The six dialogs that use AdaptiveDialog (TaskEditDialog, StartDayDialog, ArchiveEditDialog, DeleteConfirmationDialog, StaleDayDialog, PlannedTaskDialog) require no changes — they consume the same exported API and will automatically get modal behavior.

@AdamJ AdamJ changed the title Remove mobile bottom-sheet from AdaptiveDialog, use modal everywhere fix: replace mobile bottom-sheet usage with modals May 26, 2026
AdaptiveDialog now always renders a Radix Dialog (modal) regardless of
screen size, removing the vaul Drawer/bottom-sheet path entirely.
snapPoints prop is kept in the interface for backwards compatibility
but has no effect.

https://claude.ai/code/session_013W4Gzgv5HdUtV71io2xdBi
@AdamJ AdamJ force-pushed the claude/ios-sheet-modal-migration-UfI7R branch from 382d5d8 to 2e9bf58 Compare May 26, 2026 12:59
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 26, 2026

Deploying timetrackerpro with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2e9bf58
Status: ✅  Deploy successful!
Preview URL: https://6cb64f58.timetrackerpro.pages.dev
Branch Preview URL: https://claude-ios-sheet-modal-migra.timetrackerpro.pages.dev

View logs

@AdamJ AdamJ added fix For general fixes or bundled fixes iOS labels May 26, 2026
@github-project-automation github-project-automation Bot moved this to To triage in TimeTrackerPro May 26, 2026
@AdamJ AdamJ moved this from To triage to In review in TimeTrackerPro May 26, 2026
@AdamJ AdamJ merged commit 807e488 into main May 26, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in TimeTrackerPro May 26, 2026
@AdamJ AdamJ deleted the claude/ios-sheet-modal-migration-UfI7R branch May 26, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix For general fixes or bundled fixes iOS

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants