Track technical debt score across the board🏦
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, react, tailwindcss
- Domain
- frontend, full-stack
Research direction
Start in client/src/pages/Dashboard.jsx and trace how tasks are loaded and how the navbar is rendered. Use the supplied tag, status, and priority rules to calculate the debt score and display its level and count. Done when unfinished debt-tagged tasks contribute the expected score and the navbar reflects the result.
Written by the indexing model from the issue text.
Description
Track technical debt score across the board🏦
File: client/src/pages/Dashboard.jsx
No visibility of tech debt accumulating 💀
Tasks tagged "tech-debt" get ignored fr!!
Fix: calculate debt score:
const calculateDebtScore = () => {
const debtTasks = tasks.filter(t =>
t.tags?.some(tag =>
['tech-debt', 'refactor',
'hack', 'fixme', 'legacy']
.includes(tag.toLowerCase())
) && t.status !== 'done'
)
const score = debtTasks.reduce((acc, t) => {
const weight = t.priority === 'high' ? 3
: t.priority === 'medium' ? 2 : 1
return acc + weight
}, 0)
const level = score === 0 ? 'clean'
: score < 5 ? 'manageable'
: score < 10 ? 'concerning'
: 'critical'
return { score, level, count: debtTasks.length }
}
const debt = calculateDebtScore()
// show in navbar:
{debt.count > 0 && (
- Dominant language
- JavaScript
- Stars
- 39
- Forks
- 105
- Avg merge
- 21h 41m
- Merged PRs (30d)
- 49
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anoopcodehack/DevBoard
-
Auto-generate sprint retrospective from board data📝Possibly taken @jaanya0502-glitch claimed this 2 days ago. Openenhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
anoopcodehack/DevBoard#668 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
anoopcodehack/DevBoard#648 · 1 comment ·
Maintainers usually reply within 1 day
-
Show "No snippets yet" empty state in task modal 💻Possibly taken @tu-lasizzzz claimed this 7 days ago. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 96/100
anoopcodehack/DevBoard#639 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 96/100
anoopcodehack/DevBoard#637 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anoopcodehack/DevBoard#630 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in anoopcodehack/DevBoard
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
glossyio/traffic-monitor#264 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
micromatch/picomatch#243 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
getComputedStyle().display is "" for span, a, b, label and other inline elements instead of "inline"Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
capricorn86/happy-dom#2556 ·
Maintainers usually reply within 1 day