Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

A group chat's settings drop the heading the title bar already carries

Simon Flacke9ca0d00e8e3
diff --git a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx
index ebda2fdc2..ecd0db860 100644
--- a/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx
+++ b/console/apps/switch-console-desktop/src/renderer/features/switch-rooms/room-configuration-panel.tsx
@@ -63,10 +63,6 @@ const ChatConfiguration = observer(function ChatConfiguration({
return (
<div className="h-full overflow-y-auto">
<div className="mx-auto flex w-full max-w-[880px] flex-col gap-8 px-10 py-8">
- <div className="flex min-w-0 flex-col gap-1">
- <h1 className="truncate text-2xl font-semibold text-foreground">{chat.name}</h1>
- <p className="text-sm text-foreground-muted">Group chat in Switch Console</p>
- </div>
{workspaceId !== null && detail.data && (
<GeneralSection key={chat.roomId} workspaceId={workspaceId} room={detail.data} />
)}
diff --git a/console/apps/switch-console-desktop/src/renderer/tests/chat-configuration.test.ts b/console/apps/switch-console-desktop/src/renderer/tests/chat-configuration.test.ts
index a6f9bcc3d..980d58c18 100644
--- a/console/apps/switch-console-desktop/src/renderer/tests/chat-configuration.test.ts
+++ b/console/apps/switch-console-desktop/src/renderer/tests/chat-configuration.test.ts
@@ -126,7 +126,7 @@ describe('adding to a group chat', () => {
describe('a group chat’s configuration', () => {
it('leaves who is in the chat to the participant column, and keeps Leave room', () => {
const html = render(false, 'configuration');
- expect(html).toContain('Planning');
+ expect(html).not.toContain('Group chat in Switch Console');
expect(html).not.toContain('id="chat-add-participant"');
// Leaving needs no manager rights.
expect(html).toContain('Leave room…');