# Phase 4: Heatmap Interaction — Plan **Goal:** Users can click through to daily details and filter the heatmap by project or activity **Requirements:** HEAT-07, INTR-01, TEST-04 **Research:** phase-4/04-RESEARCH.md ## Success Criteria 1. Clicking a day cell navigates to Kimai's timesheet view filtered to that specific date 2. A dropdown allows filtering the heatmap to show data for a single project or activity 3. Filtering updates the heatmap in place without a full page reload 4. JavaScript tests verify click navigation and tooltip interaction behavior ## Key Decisions from Research - **Click navigation** — `window.location.href` to `/timesheet` with date param. Timesheet URL passed via `data-timesheet-url` template attribute. - **Project dropdown** — Fetch `/api/projects` client-side, render `` element with: - Default option: "All projects" - One `