Skip to content

feat(settings): large adaptive modal + mobile sheet layout - #310

Merged
ajianaz merged 2 commits into
developfrom
fix/settings-modal-responsive
Sep 5, 2026
Merged

feat(settings): large adaptive modal + mobile sheet layout#310
ajianaz merged 2 commits into
developfrom
fix/settings-modal-responsive

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

What

Settings dialog redesign per owner feedback ("dialog popup perlu lebih besar tapi tetap menyesuaikan width layout"):

  • Modal size: 720x480 fixed → min(1080px, 92vw) × min(720px, 90vh/90dvh). The Maintenance tab (lifecycle embed) now renders fully without clipping.
  • Narrow screens (<760px): full-bleed sheet (100vw × 100dvh, no radius) + settings nav becomes horizontal scroll chips; version footer hidden.
  • CSS ordering fix: the media block was placed before the base .modal-body rule and lost the cascade — moved to the end of the style block (this is why the first mobile pass failed).

Aligns with the uteke-mobile UX audit discipline (viewport-adaptive surfaces, no cramped dialogs).

Why

Settings lifecycle content was unreadable in the old 720x480 dialog, and mobile had no usable settings surface. This gives both a proper layout.

Testing

  • Live screenshots: desktop 1440 (General + Maintenance full render), mobile 375 (full-bleed + horizontal chips) — vision-verified, 0 page errors
  • tsc clean, build green
  • ⚠️ 2 activity.test.ts failures are pre-existing date-flaky (fail every Sunday), reproduced on clean develop without these changes

Refs: #290 follow-up · Epic: #289

…290 follow-up)

- Modal 720x480 -> min(1080px, 92vw) x min(720px, 90vh): Maintenance\n  lifecycle embed now renders fully without clipping\n- Narrow (<760px): full-bleed sheet + nav becomes horizontal scroll chips\n- CSS ordering fix: media block moved to end of style so it wins over the\n  base .modal-body rule\n\nVerified live: desktop 1440 maintenance full render, mobile 375 full-bleed\n+ horizontal chips, 0 page errors. Note: 2 activity.test failures are\npre-existing date-flaky (Sundays), reproduced on clean develop.
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 8332e4e into develop Sep 5, 2026
16 checks passed
@ajianaz
ajianaz deleted the fix/settings-modal-responsive branch September 5, 2026 23:52
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