Skip to content

feat(dashboard): make dialogs responsive and refine mobile controls - #1279

Merged
x0sina merged 3 commits into
devfrom
codex/responsive-dashboard-dialogs
Nov 28, 2026
Merged

x0sina merged 3 commits into
devfrom
codex/responsive-dashboard-dialogs

Conversation

@x0sina

@x0sina x0sina commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Dashboard dialogs open as bottom drawers below 1024 px and as centered dialogs at desktop widths. On narrow screens, the Users toolbar keeps Search readable and spreads the action buttons across the row beneath it.

Technical changes

  • Switch between Radix Dialog and Vaul Drawer in the shared root. Keep dialogs open across breakpoint changes, preserve focus and dismissal behavior for nested overlays, and focus Cancel first in confirmation drawers.
  • Use compact 16 px titles and full-width mobile footer actions. In Modify user, the form fields scroll independently while Modify and Cancel stay in view.
  • Migrate the donation prompt and fullscreen editors to the shared components. Detach Monaco diff models before disposal and deduplicate Radix Dialog in Vite so nested overlays share focus and dismissal layers.
  • Wrap the Users toolbar according to the available width, keep split controls together, and use logical spacing for right-to-left layouts.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup

Checklist

  • Tested locally.
  • Reviewed the changes for secrets and unrelated files.

Testing

  • bun run typecheck and bun run build passed.
  • bun test passed all 223 dashboard tests.
  • Chromium smoke checks covered mobile and desktop layouts, live breakpoint changes, touch scrolling, swipe dismissal, nested confirmations, fullscreen diff transitions, and the Users toolbar in LTR and RTL.

Screenshots

Screenshots use sample user and group data.

Modify user on mobile Modify user on desktop
Modify user in a mobile bottom drawer with stacked Modify and Cancel buttons Modify user in a centered desktop dialog with the groups panel and inline footer actions

Users toolbar on a narrow screen

Users search above evenly spaced filter, sort, view, and refresh controls

Notes for reviewers

Try resizing past 1024 px with a form open, then open a confirmation from the form. On mobile, scroll the Modify user fields and check that both footer actions stay in view.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d9f2eb8a-686f-42a4-958e-55d7eaa23217

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@x0sina
x0sina merged commit b92a078 into dev Nov 28, 2026
5 checks passed
@ImMohammad20000
ImMohammad20000 deleted the codex/responsive-dashboard-dialogs branch November 28, 2026 10:14
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