[bug][spaces] Space slug auto-generation produces uppercase initials for multi-word names #125
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium
In the Create Space modal, the slug auto-derived from the name is wrong for any multi-word name: it emits the uppercase first letter of each word (initials) instead of a kebab slug.
Where:
apps/client/src/lib/utils.tsx:25—computeSpaceSlugmaps each word toword.charAt(0).toUpperCase()and joins (looks like the avatar-initials helper is reused).Repro (live, Create Space → type into Name, read Slug):
Product TeamPTproduct-teamHello WorldHWhello-worldSingleWordsinglewordsingleword✓Single-word names slug correctly; any name with a space collapses to uppercase initials. The placeholder hints
e.g product, so the suggestion clearly should be a lowercase kebab slug. (A user can still type a slug manually, and the server accepts the bad value.)Filed from an automated full-product QA pass on
develop@v0.93.0-64-gb60190ff, fresh DB. Each item below was reproduced live in a clean browser session unless noted.Screenshot