Merge branch 'dev' into main
This commit is contained in:
commit
ef7e6e10ab
2 changed files with 8 additions and 2 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
|
@ -4,7 +4,7 @@ Thanks for contributing to Claude Agent Teams UI!
|
||||||
|
|
||||||
## Before You Start
|
## 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.
|
Small fixes, bug reports, and minor improvements are always welcome - just open a PR.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -886,7 +886,13 @@ export class TeamGraphAdapter {
|
||||||
kind: 'inbox' | 'comment',
|
kind: 'inbox' | 'comment',
|
||||||
max = 52
|
max = 52
|
||||||
): string | undefined {
|
): 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}';
|
const prefix = kind === 'comment' ? '\u{1F4AC}' : '\u{2709}';
|
||||||
if (!normalized) return prefix;
|
if (!normalized) return prefix;
|
||||||
const clipped =
|
const clipped =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue