Skip to content

feat: display priority badges on task cards.#491

Open
Sweety3106 wants to merge 1 commit into
Charushi06:mainfrom
Sweety3106:feat/priority-badges
Open

feat: display priority badges on task cards.#491
Sweety3106 wants to merge 1 commit into
Charushi06:mainfrom
Sweety3106:feat/priority-badges

Conversation

@Sweety3106
Copy link
Copy Markdown

Summary

Displays the task priority level (High, Medium, Low) as a color-coded badge pill on every task card in the dashboard.

Changes Made

  • Added priority detection logic in renderTasks() in js/app.js
  • Maps high → 🔴 red pill, medium → 🟡 amber pill, low → 🔵 blue pill
  • Uses existing .pill-red, .pill-amber, .pill-blue CSS classes (no CSS changes needed)

Testing

  • Verified tasks render with the correct priority badge based on their stored priority value

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included
  • Documentation updated (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant