Skip to content

fix: show full-screen email view on mobile instead of split panel#1983

Open
shubsolos19 wants to merge 2 commits intoelie222:mainfrom
shubsolos19:fix/mobile-split-view-342
Open

fix: show full-screen email view on mobile instead of split panel#1983
shubsolos19 wants to merge 2 commits intoelie222:mainfrom
shubsolos19:fix/mobile-split-view-342

Conversation

@shubsolos19
Copy link
Copy Markdown

On mobile, Mail and Reply Zero were rendering a vertical split panel
instead of a full-screen view, making both panels too small to use.

Changes:

  • EmailList.tsx: on mobile, show full-screen email detail with a ← Back
    button instead of a vertical ResizablePanelGroup split
  • ReplyTrackerEmails.tsx: same fix applied to Reply Zero

Fixes #342

…ie222#342)

On mobile, Mail and Reply Zero were rendering a vertical split panel
instead of a full-screen view, making both panels too small to use.

Changes:
- EmailList.tsx: on mobile, show full-screen email detail with a ← Back
  button instead of a vertical ResizablePanelGroup split
- ReplyTrackerEmails.tsx: same fix applied to Reply Zero

Fixes elie222#342
On mobile, Reply Zero was rendering a vertical split panel instead
of a full-screen view, making both panels too small to use.

Replaced vertical ResizablePanelGroup with full-screen detail view
and a ← Back button on mobile.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 21, 2026

@shubsolos19 is attempting to deploy a commit to the Inbox Zero OSS Program Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 21, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="apps/web/components/email-list/EmailList.tsx">

<violation number="1" location="apps/web/components/email-list/EmailList.tsx:483">
P2: Mobile full-screen detail still shows the global bulk-action toolbar, undermining the intended full-screen layout.</violation>

<violation number="2" location="apps/web/components/email-list/EmailList.tsx:483">
P2: Mobile detail view unmounts the email list, causing scroll-position loss when returning to the list.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

if (!right) return left;

// ── Mobile: full-screen detail with a Back button ──────────────────
if (isMobile) {
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Mobile full-screen detail still shows the global bulk-action toolbar, undermining the intended full-screen layout.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/web/components/email-list/EmailList.tsx, line 483:

<comment>Mobile full-screen detail still shows the global bulk-action toolbar, undermining the intended full-screen layout.</comment>

<file context>
@@ -490,16 +469,39 @@ export function EmailList({
   if (!right) return left;
 
+  // ── Mobile: full-screen detail with a Back button ──────────────────
+  if (isMobile) {
+    return (
+      <div className="flex h-full flex-col overflow-hidden">
</file context>
Fix with Cubic

if (!right) return left;

// ── Mobile: full-screen detail with a Back button ──────────────────
if (isMobile) {
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Mobile detail view unmounts the email list, causing scroll-position loss when returning to the list.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/web/components/email-list/EmailList.tsx, line 483:

<comment>Mobile detail view unmounts the email list, causing scroll-position loss when returning to the list.</comment>

<file context>
@@ -490,16 +469,39 @@ export function EmailList({
   if (!right) return left;
 
+  // ── Mobile: full-screen detail with a Back button ──────────────────
+  if (isMobile) {
+    return (
+      <div className="flex h-full flex-col overflow-hidden">
</file context>
Fix with Cubic

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.

Reply Zero + Mail: mobile support

2 participants