Enhancements/UI - UI Polish: Worker Collapsibles, Ask-User Reply Thread, Session Discoverability#6751
Open
levxn wants to merge 20 commits intoaden-hive:mainfrom
Open
Enhancements/UI - UI Polish: Worker Collapsibles, Ask-User Reply Thread, Session Discoverability#6751levxn wants to merge 20 commits intoaden-hive:mainfrom
levxn wants to merge 20 commits intoaden-hive:mainfrom
Conversation
…y for question widget pop coming from worker or queen
Collaborator
Author
|
@TimothyZhang7 @RichardTang-Aden let me know how this UI looks :)) |
Collaborator
Author
Screen.Recording.2026-03-24.at.1.15.50.AM.movincludes only the worker collapsible UI part. |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Worker Collapsible Fixes
The collapsible header showed a stuck "Working" label on completed groups that had only one message or shared identical timestamps — even though the spinner was absent. All non-active groups now correctly show "Worked" or "Worked for Xm Ys".
The CPU icon has been removed from the header. The live gradient animation on the label text is preserved while the worker is running, and the node name inside the collapsible now also animates while active. The gradient is scoped to the currently running node only — earlier completed nodes in the same group revert to static color.
Inside an expanded collapsible, consecutive messages from the same node no longer each repeat the full node name and Worker badge. Only the first message shows the header; subsequent messages from the same node show a thin vertical thread line. When the node changes, the new node's header appears fresh.
Tool Pill Visibility on Session Resume
Tool pills (activity chips like
web_scrape x12,set_output) were invisible in resumed and cold-restored sessions — only live sessions rendered them. This is now fixed so tool activity displays consistently across all session states.Ask-User Reply Thread
The ask_user flow from worker and queen nodes now renders correctly in the chat.
Worker questions were previously absorbed silently into the worker group collapsible instead of appearing in the message history. Queen questions were never stored in the message history at all — only held in ephemeral UI state — so the user's reply showed as a plain bubble with no context.
Both cases now produce a Discord/Snapchat-style reply thread: the question text appears as a small dimmed quote with a colored left-border accent above the right-aligned reply bubble. The pairing logic uses a tracked variable through the render loop rather than positional adjacency, so other messages appearing between the question and reply do not break it.
Home Page Session Discoverability
The resume option was only reachable by users who already knew to type
/resume— effectively invisible. A persistent "Resume session" button is now in the action row on the home page alongside "Try a sample agent" and "My Agents".Keyboard navigation in the session picker modal now wraps cyclically: down on the last item moves to the first, up on the first moves to the last.
Test Plan
Visuals
Screen.Recording.2026-03-24.at.1.15.50.AM.mov
issue #5904 , this is clean working branch intact with latest, hence following up on my previous closed PR #6095