kaneo (minimalist kanban) fork to experiment adding a tangled integration github.com/usekaneo/kaneo
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(web): prefer column.name over slug-derived label in move popover

`getStatusLabel` falls back to `toDisplayCase(status)`, which always
returns a non-empty string for any non-empty input. The previous
`getStatusLabel(column.id) || column.name` therefore made `column.name`
unreachable, so users saw a slug-derived label like "Qa Review" instead
of the configured column name like "QA / Review".

Swap the precedence in both the dropdown items and the
`selectedStatusLabel` lookup to show the actual column name first and
only fall back to the i18n status label when the name is empty.

+2 -2
+2 -2
apps/web/src/components/task/task-move-popover.tsx
··· 71 71 const selectedStatusLabel = useMemo(() => { 72 72 if (!effectiveStatus || destinationColumns.length === 0) return null; 73 73 const column = destinationColumns.find((c) => c.id === effectiveStatus); 74 - return getStatusLabel(effectiveStatus) || column?.name || null; 74 + return column?.name || getStatusLabel(effectiveStatus) || null; 75 75 }, [destinationColumns, effectiveStatus]); 76 76 77 77 useEffect(() => { ··· 203 203 <SelectContent> 204 204 {destinationColumns.map((column) => ( 205 205 <SelectItem key={column.id} value={column.id}> 206 - {getStatusLabel(column.id) || column.name} 206 + {column.name || getStatusLabel(column.id)} 207 207 </SelectItem> 208 208 ))} 209 209 </SelectContent>