Repository navigation
feat(mobile): give Tasks and Automations their own sections on Home - #37218
Conversation
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.
|
Warning Review limit reachedYou'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. View limit details
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. |
Review loop: doneThe 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):
Deferred (P3, no user impact):
Verified:
Not verified:
Since review: merged main once (889aeb4), then c096e5f, which restores main's For Brennan's review
(The floating gear in the phone shots is the dev build's tools button, not app UI.) Where judgment matters:
|
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
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.tsxMobileHomeScreen.tsxMobileHomeHostList.tsx(comment only)MobileHomeTasksAndAutomations.tsxMobileHomeAutomationsCard.tsxHomeSlide.tsx, withmobile-page.cssThat 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: