Skip to content

Show priority color dot on column header 馃帹#446

Description

@anoopcodehack

Show priority color dot on column header 馃帹

File: client/src/components/Board/Column.jsx

Column header has a dot showing column color
but no info about task priority breakdown 馃拃 fr!!

Fix: show mini priority dots in header:
const highCount = tasks.filter(t => t.priority === 'high').length
const medCount = tasks.filter(t => t.priority === 'medium').length

{tasks.length > 0 && (

{highCount > 0 && ( {highCount}馃敶 )} {medCount > 0 && ( {medCount}馃煛 )}
)}

~10 lines! No backend needed 馃幆
Instant priority overview!! 馃敟

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions