Skip to content

recent only show from selected workspace - #99

Merged
danielehrhardt merged 1 commit into
mainfrom
godmode/21-recent-only-show-from-selected-workspace
Oct 7, 2026
Merged

danielehrhardt merged 1 commit into
mainfrom
godmode/21-recent-only-show-from-selected-workspace

Conversation

@danielehrhardt

Copy link
Copy Markdown
Contributor

Recent, the desktop Home page and the iOS app now only show chats and running agents from the workspace you pick. "All workspaces" still shows everything. The server tests and typechecks pass, and I checked the desktop app in a browser against a test instance; I didn't run the iOS app.

What changed

Server

  • The chat list can now be filtered by all, global or a workspace id. Before, it only accepted a workspace id.
  • A workspace includes its own agents' chats plus chats with global agents (like Godmode) that were started in that workspace. "Global" only shows global agents' chats that don't belong to any workspace.

Desktop

  • Sidebar Recent:
    • Only the selected workspace's chats are listed. The tab counts, "needs you" marker and "Archived chats" link follow it too.
    • The workspace chip next to each chat is hidden when one workspace is selected, since they'd all be the same.
    • "Mark all read" only marks the chats you can see.
    • An empty workspace now shows "No chats in yet" instead of the section disappearing.
  • Home: "Pick up where you left off" and "Working now" only show the selected workspace.
  • Archived chats page: follows the selected workspace too.
  • The search palette (⌘K) still searches every chat.

iOS app

  • The Chats tab and Home's recent chats were already filtered by workspace.
  • Now "Working now" on Home and the live bar above the tab bar only show runs from the picked workspace: chats in it, and its own agents.

Testing

  • Server: added a test for the global and all filters; bun test test/conversations.test.ts passes (13 tests), and typecheck is clean.
  • Desktop and iOS: typechecks are clean. The iOS lint didn't run because eslint isn't installed in that app.
  • Browser check on a throwaway test instance with two workspaces and seven chats:
    • The server returned the right chats for every filter.
    • With Klimaworld selected, Sidebar Recent and Home showed only its 2 chats.
  • Screenshots:
    • /Users/danielehrhardt/.godmode/agents/godmode/workspace/task-21/recent-scoped-klimaworld.png
    • /Users/danielehrhardt/.godmode/agents/godmode/workspace/task-21/home-scoped-klimaworld.png

Notes

  • Limit: the filtered list loads the newest 100 chats per workspace. A running chat older than that can still be missed in "Working now" unless its agent belongs to the workspace.
  • Commit: a2803c3, authored as ••••••••; main has no newer commits, so there are no merge conflicts.

Task #21 · done by Godmode with Godmode Bot

@danielehrhardt
danielehrhardt merged commit 67acfa1 into main Oct 7, 2026
8 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