Skip to content

Feature: Clicking a day on the Productivity Contribution calendar should show task breakdown for that day #1645

Description

@sambhavi0

Description

Current Behavior

The Productivity Contribution calendar (on the Dashboard) currently supports hover to see a day's summary tooltip (Tasks Done, Routines Completed, Productivity level) and click to focus/filter by intensity. However, clicking a specific day does not show any detailed breakdown of which tasks were assigned that day and how many were completed out of the total.

Expected Behavior

Clicking a day cell on the calendar should open a detailed view (modal, side panel, or expanded tooltip) showing:

  • The date clicked
  • List of tasks that were assigned/due on that day
  • Completion status for each task (done / not done)
  • Summary line: e.g. "3 of 5 tasks completed"
  • Routines scheduled that day (if any)

Why This Matters

The calendar already shows productivity intensity per day, but intensity alone doesn't tell you why a day was low or high productivity. Being able to click into a specific day and see the actual task breakdown turns the calendar from a visual overview into an actionable retrospective tool you can identify which tasks were consistently skipped, which days were overloaded, and adjust your routine accordingly. This directly supports DailyForge's core value prop of weekly routine optimization.

Proposed Implementation

  • On day cell click, fetch tasks filtered by that date from the existing tasks API
  • Display in a modal or side panel (consistent with the existing hover tooltip design see screenshot)
  • Show: task title, completion status, priority, and routine association if applicable
  • No new backend endpoints may be needed if the existing task fetch already supports date filtering worth checking GET /api/tasks query params first

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssues related to server-side, database logic or APIsfeatureImprove existing feature or add newfrontendIssues related to UI/UX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions