Skip to content

fix(ios): add space between groups on the Sessions page - #207221

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/ios-sessions-group-spacing
Nov 28, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/ios-sessions-group-spacing

Conversation

@vyctorbrzezowski

Copy link
Copy Markdown
Member

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

Sessions page in light appearance. Before, on the left, the Working and Pinned headings sit close to the last chat above them. After, on the right, there is more space above each heading.

The same comparison in dark appearance.

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

@clawsweeper

clawsweeper Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. clawsweeper:intake:bug Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 28, 2026
@clawsweeper

clawsweeper Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: passed.

What this changes

This 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.

  • Before: The Working header receives 8 points of top padding.
  • After: The Working header receives 20 points; the first heading retains 8 points.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused visual refinement with directly inspected simulator evidence, a distinct UI regression, and no identified correctness defects.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected light and dark before/after screenshots exercise CommandSessionsScreen in the real iOS app with demo chats on an iPhone 17 Pro simulator running iOS 27.2 and show the intended separation; the body also reports a failing-before, passing-after UI regression, while disclosing that iPad, landscape, and VoiceOver were not tested.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Successive Sessions groups are difficult to distinguish because their headings sit close to the preceding chat.
Reason: This is a small readability refinement with direction supplied by the maintainer author who introduced the grouped layout.

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: 6f3f65bb848e28c9fbf7b3dc361ab2deef5cf881

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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
Loading

Technical review

Best 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

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 995d9bd adds apps/ios/Sources/Design/CommandCenterTab.swift:212 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 995d9bdc18f0; files: apps/ios/Sources/Design/CommandCenterTab.swift)
  • Vincent Koc: Raw commit 3c883b1 adds apps/ios/Sources/Design/SessionPresentation.swift:7 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 3c883b1654bb; files: apps/ios/Sources/Design/SessionPresentation.swift)

PR surface

Source +4, Tests +15. Total +19 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 8 4 +4
Tests 1 15 0 +15
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 23 4 +19

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 27, 2026, 11:25 PM ET / November 28, 2026, 04:25 UTC.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 28, 2026 07:17
@vyctorbrzezowski
vyctorbrzezowski merged commit 4b21606 into main Nov 28, 2026
85 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/ios-sessions-group-spacing branch November 28, 2026 07:17
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* 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)
  ...
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* 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)
  ...
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* 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)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: ios App: ios P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant