Repository navigation
fix(ios): add space between groups on the Sessions page - #207221
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: passed. What this changesThis PR increases spacing before subsequent Sessions groups while preserving the first heading, row spacing, and sidebar layout. Example: Working follows Needs you on the iPhone Sessions page.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored draft makes a useful, narrowly scoped spacing adjustment, and review found no blocking code defects. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe iOS Sessions screen renders the shared session roster through SessionListGrouping into built-in and custom sections; this change adjusts only their header layout. flowchart TD
A[Shared session roster] --> B[SessionListGrouping]
B --> C[CommandSessionsScreen]
C --> D[Built in group headers]
C --> E[Custom group headers]
D --> F[Sessions page]
E --> F
Technical reviewBest possible solution: Keep the spacing adjustment in the existing Sessions renderer and let the author resolve the draft status before landing. Do we have a high-confidence way to reproduce the issue? Current main applies the same 8-point padding to first and subsequent headers, and the supplied before screenshots show the crowded boundary; this review did not execute the app. Is this the best way to solve the issue? The smallest complete adjustment is to select padding at the existing section call site and apply it to both header variants, as this PR does. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fe1e82080de0. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +4, Tests +15. Total +19 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 27, 2026, 11:25 PM ET / November 28, 2026, 04:25 UTC. |
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits) fix(ui): remove redundant type argument from Board browser test (#207352) test(channels): distinguish status and batch fixtures (#207232) fix(ui): type the Board drop test mock as void (#207348) fix(ui): break the Skill Workshop import cycle (#207345) test(channels): expose label guard regressions (#207195) fix: explain when a previous automation run keeps the agent from starting (#207180) refactor(test): consolidate loader proof and repair rollback coverage (#207152) fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101) test(plugins): verify staged SDK named exports (#207170) fix(ui): truncate empty Compose hints on narrow screens (#207301) fix: keep unsent Cmd+K Compose drafts when reopened (#207307) fix: explain chat update errors when a session changes (#206419) fix(ios): keep consecutive commands on one line in chat (#207242) fix(ios): keep connection messages from flashing when chat reopens (#207233) fix(ios): give Sessions groups more breathing room (#207221) fix(ui): show chat completions as activity rows (#201891) fix(ui): make empty composer hints look distinct from drafts (#207295) fix: explain why chat won’t attach an empty file (#206402) fix(agents): show Doctor's restore-first warning before deleting a held store (#207290) test(channels): fix join failure proof and trim probe fixture (#207264) ...
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits) fix(ui): remove redundant type argument from Board browser test (#207352) test(channels): distinguish status and batch fixtures (#207232) fix(ui): type the Board drop test mock as void (#207348) fix(ui): break the Skill Workshop import cycle (#207345) test(channels): expose label guard regressions (#207195) fix: explain when a previous automation run keeps the agent from starting (#207180) refactor(test): consolidate loader proof and repair rollback coverage (#207152) fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101) test(plugins): verify staged SDK named exports (#207170) fix(ui): truncate empty Compose hints on narrow screens (#207301) fix: keep unsent Cmd+K Compose drafts when reopened (#207307) fix: explain chat update errors when a session changes (#206419) fix(ios): keep consecutive commands on one line in chat (#207242) fix(ios): keep connection messages from flashing when chat reopens (#207233) fix(ios): give Sessions groups more breathing room (#207221) fix(ui): show chat completions as activity rows (#201891) fix(ui): make empty composer hints look distinct from drafts (#207295) fix: explain why chat won’t attach an empty file (#206402) fix(agents): show Doctor's restore-first warning before deleting a held store (#207290) test(channels): fix join failure proof and trim probe fixture (#207264) ...
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits) fix(ui): remove redundant type argument from Board browser test (#207352) test(channels): distinguish status and batch fixtures (#207232) fix(ui): type the Board drop test mock as void (#207348) fix(ui): break the Skill Workshop import cycle (#207345) test(channels): expose label guard regressions (#207195) fix: explain when a previous automation run keeps the agent from starting (#207180) refactor(test): consolidate loader proof and repair rollback coverage (#207152) fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101) test(plugins): verify staged SDK named exports (#207170) fix(ui): truncate empty Compose hints on narrow screens (#207301) fix: keep unsent Cmd+K Compose drafts when reopened (#207307) fix: explain chat update errors when a session changes (#206419) fix(ios): keep consecutive commands on one line in chat (#207242) fix(ios): keep connection messages from flashing when chat reopens (#207233) fix(ios): give Sessions groups more breathing room (#207221) fix(ui): show chat completions as activity rows (#201891) fix(ui): make empty composer hints look distinct from drafts (#207295) fix: explain why chat won’t attach an empty file (#206402) fix(agents): show Doctor's restore-first warning before deleting a held store (#207290) test(channels): fix join failure proof and trim probe fixture (#207264) ...
What Problem This Solves
On the iPhone Sessions page, the next group heading sits nearly as close to the last chat as two chats sit to each other. That makes it harder to tell where Needs you ends and Working begins.
User Impact
There is more space before each new group. The first heading stays in place, chats within a group keep their spacing, and the sidebar stays as compact as before. Nothing needs to be configured.
Why This Change Was Made
The page now uses 20 points between groups instead of 8. On the tested iPhone, that leaves the same distance from the last row to the next heading’s text as a native grouped list. Both built-in and custom groups use the same value. The sidebar already separates its groups by 16 points, so it does not need the page’s adjustment.
Evidence
On an iPhone 17 Pro simulator running iOS 27.2, the gap from the last Needs you row’s bottom edge to the first visible pixel of Working increased from 19.3 to 31.3 points. A native SwiftUI grouped list measured 31.3 points. The gap between text in neighboring two-line chat rows stayed at 17.7 points. The first heading, a one-chat custom group, and the empty Snoozed filter were also checked, along with standard and accessibility text sizes.
The focused UI regression compares the distances between controls rather than a screenshot or a fixed pixel count. It failed before the change and passed afterward. The two other focused tests passed as well: one checks the group header controls, and the other checks that rows do not overlap at the largest text size. The app built, and SwiftFormat and strict SwiftLint reported no issues. Verification used demo chats, not a live connection or a physical device. iPad, landscape, and VoiceOver were not tested.
🦞 Made with OpenClaw