Skip to content

test(ui): drop the off-list pin toggle from the roster e2e - #204070

Merged
obviyus merged 3 commits into
mainfrom
fix/pinned-parent-child-toggle
Nov 23, 2026
Merged

obviyus merged 3 commits into
mainfrom
fix/pinned-parent-child-toggle

Conversation

@obviyus

@obviyus obviyus commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

sidebar-complete-roster.e2e.test.ts passes again on main. The test no longer requires a child toggle on an off-list pinned parent, a control that #203953 removed because it expanded to nothing.

Part of #204008.

Problem

#203953 hid the child toggle on flat sidebar rows (rows without childLoadParentKeys). A pinned conversation that is outside the visible list is resolved as such a flat row: it has childSessionKeys, but its children are always [], so its toggle expanded to an empty branch. The roster e2e still waited for that toggle on pinnedKeys[1] (seeded with one child) and failed 3/3 on scheduled main with Sidebar target was not mounted after scrolling.

Measured on that pin before the fix: childSessionKeys 1, children 0, childLoadParentKeys undefined.

Solution

Delete the collapsed-pin scenario from the e2e: the seeded child of pinnedKeys[1], the collapse step, and the cached-reload assertions on that toggle. No product code changes. The in-list parent toggle, child load, pagination and cached geometry proof stay.

A first version of this PR restored the toggle on off-list pins. Local review showed that the restored toggle expands to an empty branch (the dead control #203953 removed), so this version removes the test of that control.

Evidence

  • sidebar-complete-roster.e2e.test.ts: main fails 3/3; this branch passes 3/3.

- #203953 hid the toggle on every row without childLoadParentKeys; scope it to the flat Home reference.

Co-authored-by: obviyus <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 23, 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.

- #203953 removed that toggle because flat pins have no child branch; restore the row render.

Co-authored-by: obviyus <[email protected]>
@obviyus obviyus changed the title fix(ui): keep child toggles on pinned parents outside the list test(ui): drop the off-list pin toggle from the roster e2e Nov 23, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 23, 2026
@obviyus
obviyus merged commit 38f4f8f into main Nov 23, 2026
78 checks passed
@obviyus
obviyus deleted the fix/pinned-parent-child-toggle branch November 23, 2026 13:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 24, 2026
…204070)

`sidebar-complete-roster.e2e.test.ts` passes again on `main`. The test no longer requires a child toggle on an off-list pinned parent, a control that openclaw#203953 removed because it expanded to nothing.

Part of openclaw#204008.

## Problem

openclaw#203953 hid the child toggle on flat sidebar rows (rows without `childLoadParentKeys`). A pinned conversation that is outside the visible list is resolved as such a flat row: it has `childSessionKeys`, but its `children` are always `[]`, so its toggle expanded to an empty branch. The roster e2e still waited for that toggle on `pinnedKeys[1]` (seeded with one child) and failed 3/3 on scheduled `main` with `Sidebar target was not mounted after scrolling`.

Measured on that pin before the fix: `childSessionKeys` 1, `children` 0, `childLoadParentKeys` undefined.

## Solution

Delete the collapsed-pin scenario from the e2e: the seeded child of `pinnedKeys[1]`, the collapse step, and the cached-reload assertions on that toggle. No product code changes. The in-list parent toggle, child load, pagination and cached geometry proof stay.

A first version of this PR restored the toggle on off-list pins. Local review showed that the restored toggle expands to an empty branch (the dead control openclaw#203953 removed), so this version removes the test of that control.

## Evidence

- `sidebar-complete-roster.e2e.test.ts`: `main` fails 3/3; this branch passes 3/3.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant