Skip to content

feat(mobile): give Tasks and Automations their own sections on Home - #37218

Merged
brennanb2025 merged 4 commits into
mainfrom
brennanb2025/mobile-home-sections
Nov 2, 2026
Merged

brennanb2025 merged 4 commits into
mainfrom
brennanb2025/mobile-home-sections

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

On the phone's Home, the bottom bar squeezed three equal buttons (Tasks, Automations, New workspace) into one row. On a normal iPhone width, "Automations" and "New workspace" got cut off, and Automations had less presence than Tasks used to have. Now Tasks and Automations each get their own section on Home, under Desktops, drawn like the old Tasks card. The bar keeps only New workspace, at full width.

What Changed

  • Home sections: Home has a "Tasks" section and an "Automations" section under Desktops. Each is one row in Home's grouped-list style: an icon, a title, a short description and a chevron. The description can wrap to two lines, so translated text and large text sizes aren't cut off.
    • Tasks says "Browse your issues and reviews". That wording fits GitHub, GitLab, Linear and Jira alike.
    • Automations says "Schedule agent work and view runs".
  • Opening them: tapping a row opens Tasks or Automations on the connected desktop. With several desktops connected, it first asks which one ("Open Tasks On" / "Open Automations On"), as the bar buttons did. With none connected, both rows are dimmed and can't be tapped.
  • Bottom bar: only New workspace remains, at full width. The "Connect a desktop to start new work." note is unchanged.
  • Desktop preview: the phone Home preview in Settings › Mobile is redrawn to match, with the sections under Desktops and New workspace alone in the bar. It shows fewer example rows, and drops a few more in the small preview frame, so both new sections stay visible at every preview size.
  • Cleanup: removes MobileHomeAutomationsCard, which nothing used after the Home redesign.

Why

Brennan asked for Automations to sit on Home as its own section, like Tasks. Three equal bar buttons leave about 62pt per label at 390pt width, which isn't enough for "Automations" or "New workspace" at 17pt. Moving Tasks and Automations into sections gives every label room. It also keeps New workspace, Home's main action, at full width, and adding another Home entry later won't squeeze the bar again.

Review path

Full path: 6 production files changed:

  • MobileHomeBottomBar.tsx
  • MobileHomeScreen.tsx
  • MobileHomeHostList.tsx (comment only)
  • the new MobileHomeTasksAndAutomations.tsx
  • the deleted MobileHomeAutomationsCard.tsx
  • the desktop preview's HomeSlide.tsx, with mobile-page.css

That is above the light path's 5-file limit.

Linked Issue

None. Requested by Brennan.

Testing

  • MobileHomeTasksAndAutomations.test.tsx (moved from the bottom-bar test) covers three cases:
    • With one desktop, the row opens it directly.
    • With several desktops, each row shows its own picker, independently.
    • With no connection, both rows are disabled.
  • Mobile CI (typecheck and tests)
  • Home on the iOS Simulator with a paired desktop:
    • sections in order
    • Tasks and Automations open directly
    • New workspace opens its sheet
    • rows dimmed and inert when disconnected
    • light theme
  • Desktop preview fixtures (large and narrow frames)

Home's bottom bar squeezed Tasks, Automations and New workspace into
three equal buttons whose labels cut off on phones. Tasks and
Automations now each get a section under Desktops, matching the old
Tasks card, and the bar keeps New workspace at full width. The
desktop's phone preview is redrawn to match.
…tions

The Tasks row said "Issues and pull requests", GitHub's wording, to GitLab,
Linear and Jira users too; it now reads "Browse your issues and reviews".
Section subtitles wrap to two lines so translations and large text aren't
cut. Each section now owns its desktop picker.

The desktop phone preview cut off the new sections in its narrow frame and
in shorter windows. It now shows two Jump back in rows, and drops the extra
rows when the frame is narrow so Tasks and Automations stay in view.
@brennanb2025
brennanb2025 marked this pull request as ready for review November 1, 2026 23:30
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5ee6cadb-3989-4c81-abd2-c0b7235c211e
Commits

Reviewing files that changed from the base of the PR and between d337a1e and c096e5f.

Files selected for processing: 10
  • mobile/src/home/MobileHomeAutomationsCard.tsx
  • mobile/src/home/MobileHomeBottomBar.tsx
  • mobile/src/home/MobileHomeHostList.tsx
  • mobile/src/home/MobileHomeScreen.tsx
  • mobile/src/home/MobileHomeTasksAndAutomations.test.tsx
  • mobile/src/home/MobileHomeTasksAndAutomations.tsx
  • mobile/src/i18n/locales/en.json
  • src/renderer/src/assets/mobile-page.css
  • src/renderer/src/components/mobile/slides/HomeSlide.tsx
  • src/renderer/src/i18n/locales/en.json
  • 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

@brennanb2025

brennanb2025 commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Review loop: done

The problem. The phone's Home bar squeezed Tasks, Automations and New workspace into three equal buttons. At normal iPhone width, "Automations" and "New workspace" got cut off. Brennan asked for Tasks and Automations to be sections on Home, like the old Tasks card, with the bar keeping only New workspace.

What users get. Under Desktops, Home now has a "Tasks" section and an "Automations" section. Each is one row with an icon, a title, a short description and a chevron. Tapping opens Tasks or Automations on the connected desktop, or asks which desktop when several are connected. With none connected, both rows are dimmed. The bar has only New workspace, at full width. The phone preview in desktop Settings › Mobile matches.

Fixed during review (round 1: three fresh reviewers; round 2: a repair check that agreed with every fix):

  • The Tasks description said "Issues and pull requests", which is GitHub's own wording and wrong for GitLab, Linear and Jira users. It now says "Browse your issues and reviews", matching how desktop already labels reviews.
  • The desktop preview's small frame hid both new sections entirely, and the large frame cut off Automations in shorter windows. The preview now shows fewer example rows, plus fewer still in the small frame, so both sections are visible.
  • Descriptions can wrap to two lines, so translated and large-text descriptions aren't cut to one line.
  • The Tasks title key moved from home.bottomBar to home.sections.
  • Each section now owns its own desktop picker, instead of the parent wiring two pickers.

Deferred (P3, no user impact):

  • The preview mock's "done" and "idle" status styles are now unused.
  • In the small preview frame the descriptions show on one line with an ellipsis. On the phone they wrap. In wide windows under about 690px tall, the preview still cuts off Automations, while a real phone scrolls.

Verified:

  • CI is green on the head, including Mobile verify. The renamed MobileHomeTasksAndAutomations.test.tsx ran there and passed: one desktop opens directly, several desktops show independent pickers, and both rows are disabled with no connection.
  • On an iPhone 17 Pro simulator paired with a test copy of the desktop, built from this head:
    • The sections appear in order.
    • Tasks and Automations each open directly.
    • New workspace opens its sheet.
    • With the desktop stopped, both rows are dimmed and inert, and New workspace is disabled under the "Connect a desktop" note.
    • Light theme looks right.
  • Desktop preview fixture screenshots at both frame sizes.

Not verified:

  • The several-desktop picker in a running app, because only one desktop was paired. The test above covers it, and the code is the same picker hook the bar buttons used.

Since review: merged main once (889aeb4), then c096e5f, which restores main's pnpm-lock.yaml after the merge commit picked up unrelated local lockfile churn. The PR diff has no lockfile change.

For Brennan's review

Phone, connected Phone, no desktop connected Phone, light
(screenshot removed: contained real product data) (screenshot removed: contained real product data) (screenshot removed: contained real product data)
Settings › Mobile preview, large Settings › Mobile preview, narrow
(screenshot removed: contained real product data) (screenshot removed: contained real product data)

(The floating gear in the phone shots is the dev build's tools button, not app UI.)

Where judgment matters:

  1. The Tasks description copy: MobileHomeTasksAndAutomations.tsx:23
  2. The preview hides its extra example rows in small frames: mobile-page.css:1323
  3. A section heading sits above a row with the same title, as on the old Tasks card: MobileHomeTasksAndAutomations.tsx:43

@brennanb2025
brennanb2025 merged commit 11336da into main Nov 2, 2026
75 checks passed
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