Skip to content

Feat/3727 topic work in chat drawer - #3937

Open
divyansh-deloitte wants to merge 2 commits into
devfrom
feat/3727-topic-work-in-chat-drawer
Open

divyansh-deloitte wants to merge 2 commits into
devfrom
feat/3727-topic-work-in-chat-drawer

Conversation

@divyansh-deloitte

Copy link
Copy Markdown
Contributor

What

Adds a Topic Work tab to a chat's side drawer when the chat is linked to a topic. Part 2 of #3727, stacked on the drawer-memory PR.

Changes

  • Each linked topic is listed under its own heading, with a divider between topics.
  • Under each topic: Yours to Do, Single Steps (collapsed by default), Waiting on Others and Recently Done, grouped the same way as the topic page. Cards show the next step, due date, and who an item waits on and since when.
  • The list reloads when work changes elsewhere, such as a step ticked in the Task tab.
  • The chat's topics are now read once in RoomView and shared through context, so the header chips and the tab agree. A failed re-read keeps the topics already known, and topics are kept per chat.
  • A drawer saved on Topic Work stays closed until the tab joins the rail, then reopens on it. The workbench provider drops a tab the host stops asking for, such as when the topic is removed.

Notes for review

  • useRoomTopics moved out of room-topics.tsx into use-room-topics.ts. The chips behave the same except for the two read changes above. The chips had no tests, so I added them.
  • Single Steps includes the assistant's own steps (includeSuggested), as the Work page does. They can be noisy, so the group starts collapsed.
  • work-items-list.tsx only gains exports and optional fields.

Testing

  • Added tests for the list, panel, hooks, header chips, rail layout and drawer memory.
  • The related suites pass, apart from one failure in work-items-list.test ("reviews new items…") that was already failing on the PR1 base

@divyansh-deloitte
divyansh-deloitte requested a review from a team as a code owner November 25, 2026 11:16
@snyk-io

snyk-io Bot commented Nov 25, 2026

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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