Skip to content

refactor: Remove Participants tab from Rooms (#155) - #158

Merged
ajianaz merged 2 commits into
developfrom
chore/155-remove-participants-tab
Jul 9, 2026
Merged

ajianaz merged 2 commits into
developfrom
chore/155-remove-participants-tab

Conversation

@ajianaz

@ajianaz ajianaz commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the Participants tab from the Rooms view (-98 lines).

The tab was unreliable: uteke-serve /room/stats returns a participant count but not the participant_namespaces list, so getParticipants() fell back to deriving agents from the 50 most-recent room memories and undercounted (sidebar "N agents" vs tab "1"). Rather than depend on an upstream uteke-serve change, the tab is dropped for a simpler UX.

Removed

  • Participant interface
  • loadParticipants() / getParticipants() + their $effect
  • roomStatsData / participantsLoading state
  • Participants tab button + content block
  • Participant CSS (.participant-*)

Kept

  • The sidebar room-card still shows the authoritative server participant_count ("N agents") — that count is correct.
  • participant_count field stays on the UtekeRoom interface.

Validation

  • svelte-check: 0 errors (warnings 36 → 34, unused participant CSS removed)
  • vitest: 60 passed (7 files)
  • npm run build: ✓

Closes #155.

The Participants tab was unreliable: uteke-serve /room/stats returns a
participant COUNT but not the participant_namespaces list, so the tab
fell back to deriving agents from the 50 most-recent room memories and
undercounted (sidebar showed N, tab showed 1). Rather than depend on an
upstream uteke-serve change, drop the tab entirely — simpler UX.

Removed: Participant interface, loadParticipants/getParticipants, the
participants $effect, roomStatsData/participantsLoading state, the tab
button + content, and the participant CSS. The sidebar room-card still
shows the authoritative server participant_count ("N agents").

Closes #155
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-cli · BYOK · MIT

With the Participants tab gone, the room-card "N agents" count had no
drill-down behind it. Remove it (and the now-unused participant_count
field on UtekeRoom) for consistency.
@ajianaz
ajianaz merged commit a9acfa4 into develop Jul 9, 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.

bug: Room participants panel undercounts agents (sidebar shows N, panel shows 1)

1 participant