diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 360e9185..ecd1659e 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -4,7 +4,7 @@ Thanks for contributing to Claude Agent Teams UI! ## Before You Start -For big features and major changes, please discuss them in our [Discord](https://discord.gg/RgBHMBsn) first so we can figure out the best approach together and avoid conflicts. +For big features and major changes, please discuss them in our [Discord](https://discord.gg/qtqSZSyuEc) first so we can figure out the best approach together and avoid conflicts. Small fixes, bug reports, and minor improvements are always welcome - just open a PR. diff --git a/src/renderer/features/agent-graph/adapters/TeamGraphAdapter.ts b/src/renderer/features/agent-graph/adapters/TeamGraphAdapter.ts index 8dfb721c..dcfc19da 100644 --- a/src/renderer/features/agent-graph/adapters/TeamGraphAdapter.ts +++ b/src/renderer/features/agent-graph/adapters/TeamGraphAdapter.ts @@ -886,7 +886,13 @@ export class TeamGraphAdapter { kind: 'inbox' | 'comment', max = 52 ): string | undefined { - const normalized = text?.replace(/\s+/g, ' ').trim(); + let normalized = text?.replace(/\s+/g, ' ').trim(); + // Clean up raw task ID hashes like "#363e78de done|sent to review" → "done | sent to review" + if (normalized) { + normalized = normalized.replace(/#[a-f0-9]{6,}\s*/gi, '').trim(); + // Clean pipe separators + normalized = normalized.replace(/\|/g, ' - '); + } const prefix = kind === 'comment' ? '\u{1F4AC}' : '\u{2709}'; if (!normalized) return prefix; const clipped =