Skip to content

fix(chat): add missing admin routes for Conduit UI chat panel#1497

Merged
kkopanidis merged 1 commit into
mainfrom
fix/chat-admin-ui-routes
Jun 20, 2026
Merged

fix(chat): add missing admin routes for Conduit UI chat panel#1497
kkopanidis merged 1 commit into
mainfrom
fix/chat-admin-ui-routes

Conversation

@kkopanidis

Copy link
Copy Markdown
Contributor

Summary

  • Conduit UI hits the admin API for chat room detail, invitations, and participant mutations, but the chat module only exposed list/create/delete on admin.
  • Adds the missing admin routes the panel already calls: GET /rooms/:id, PUT /rooms/:roomId/add, PUT /room/:roomId/remove, GET/DELETE /invitations/:roomId.
  • Room create now drops blank user ids and persists creator + participants log entries.

Test plan

  • GET /chat/rooms/:id returns a room with populate
  • POST /chat/rooms succeeds when participants includes an empty string (creator merged in)
  • Open room detail / create room / add-remove member in Conduit UI against local admin API

The admin panel calls room detail, invitation, and participant mutation
endpoints that only existed on the client router. Register the matching
admin routes and sanitize user ids on create.
@kkopanidis
kkopanidis force-pushed the fix/chat-admin-ui-routes branch from cc0d942 to a505ded Compare June 20, 2026 14:19
@kkopanidis
kkopanidis merged commit 71b7b30 into main Jun 20, 2026
6 checks passed
@kkopanidis
kkopanidis deleted the fix/chat-admin-ui-routes branch June 20, 2026 14:19
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