Skip to content

move chat's list rows as they come, go or change places - #285

Merged
hkonsti merged 2 commits into
mainfrom
hkonsti/untitled-v1
Nov 11, 2026
Merged

hkonsti merged 2 commits into
mainfrom
hkonsti/untitled-v1

Conversation

@hkonsti

@hkonsti hkonsti commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Chat's list now animates rows with a new useListMotion hook (FLIP-style transforms and opacity) instead of the CSS grid-row animation: a task opened, closed, pinned or unpinned, or an agent made, deleted or moved up, slides into place rather than jumping. Because only transform and opacity animate, the motion runs off the main thread and isn't held up while the newly opened page renders. A task opened from the conversation is now named in the header and shown under its agent immediately, before its chat loads.

This also fixes a flaky chat-page test (also flaky on main). Any use() call inside act marks the render as having used a promise, so when that render didn't finish in time, the synchronous act around fireEvent.click dropped the work. React kept a placeholder callback and never drew the page the link led to. Clicks that navigate are now wrapped in an awaited act.


Open workspace in Conductor

@hkonsti
hkonsti merged commit 61692ac into main Nov 11, 2026
4 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