Show assignee avatars on column header 馃懃
File: client/src/components/Board/Column.jsx
Column header shows task count but
never who's working in that column 馃拃 fr!!
Fix: collect unique assignees per column:
const assignees = [...new Map(
tasks
.filter(t => t.assignee?.name)
.map(t => [t.assignee._id, t.assignee])
).values()].slice(0, 3)
{assignees.length > 0 && (
{assignees.map(a => (
{a.name[0].toUpperCase()}
))}
)}
~12 lines! No backend needed 馃幆
Show assignee avatars on column header 馃懃
File: client/src/components/Board/Column.jsx
Column header shows task count but
never who's working in that column 馃拃 fr!!
Fix: collect unique assignees per column:
const assignees = [...new Map(
tasks
.filter(t => t.assignee?.name)
.map(t => [t.assignee._id, t.assignee])
).values()].slice(0, 3)
{assignees.length > 0 && (
~12 lines! No backend needed 馃幆