Strengthen the backdrop of the shared Quick Chat and Quick Terminal dialog on
tablet and desktop widths. The work is one frontend vertical slice: apply the
surface-local darkening and blur, extend the existing desktop rendered test,
and rerun the existing mobile entry coverage to prove phone behavior remains
unchanged.
Scope
In scope
Make the shared Quick Chat dialog backdrop more visible with darker
semitransparency and light blur on tablet and desktop widths.
Keep the existing panel shadow, dimensions, position, content, state,
dismissal, and focus behavior unchanged.
Preserve the existing full-screen phone composition and touch close path.
Out of scope
Changing the shared Dialog or DialogOverlay defaults.
Changing the separate new-Quick-Chat picker dialog.
Changing Quick Chat or Quick Terminal state, persistence, content, or tab
behavior.
Adding a new mobile composition or a user-facing setting.
Technical approach
Update quick-chat-modal.tsx
to retain bg-black/20 on phones and use the stronger local overlay class
sm:bg-black/40 sm:backdrop-blur-sm from the sm breakpoint upward, while
retaining the existing shadow-2xl and responsive classes. Extend the existing
elevation test in
quick-chat.spec.ts to
assert the rendered backdrop filter in addition to its non-transparent
background and the panel shadow. Keep
mobile-quick-chat-entry.spec.ts
as the mobile regression suite.
Tests
Acceptance criterion
Evidence
AC-UI-QUICK-CHAT-ELEVATION-001.1, .2, .5
Desktop Quick Chat elevation scenario in apps/web/e2e/tests/chat/quick-chat.spec.ts
AC-UI-QUICK-CHAT-ELEVATION-001.3, .6
Same desktop scenario after Escape closes the dialog
AC-UI-QUICK-CHAT-ELEVATION-001.4, .7
Existing mobile entry and close scenarios in apps/web/e2e/tests/chat/mobile-quick-chat-entry.spec.ts
E2E tests
Desktop: run the existing elevation scenario in quick-chat.spec.ts with
the chromium project. It verifies the user-visible backdrop and close
lifecycle through the real portal.
Mobile: run mobile-quick-chat-entry.spec.ts with the mobile-chrome
project. It verifies the existing phone-native full-screen flow, explicit
close control, and no horizontal overflow.