• v0.12.0 ee5d78c955

    zaph0d released this 2026-04-12 08:05:22 +02:00 | 56 commits to main since this release

    📅 Originally published on GitHub: Sun, 12 Apr 2026 06:05:37 GMT
    🏷️ Git tag created: Sun, 12 Apr 2026 06:05:22 GMT

    What's new

    Editable weekly summary cells

    The weekly overview table is now fully editable. Click any hour cell in a category row to edit the value inline — no more hunting through individual time entries to fix a mistake.

    • Click to edit — any cell in a category row opens a numeric input pre-filled with the current hours
    • Live totals — per-day and per-week totals update as you type, before saving
    • Keyboard friendly — Enter to save, Escape to cancel
    • Safe writes — the backend adjusts only the last time entry for the selected day/category, preserving earlier entries; entering 0 cleanly deletes all entries for that cell
    • Navigation resets — moving to a different week clears any in-progress edits

    New API endpoint

    PATCH /api/summary/adjust-cell — sets the total minutes for a (date, categoryId) cell by creating, adjusting, or deleting the underlying time_entries rows. Category ownership is validated before any modification.

    Docs updated

    • docs/memory/decisions.md — D-016 (inline cell editing)
    • docs/memory/INDEX.md — new endpoint, updated WeeklySummary.tsx description
    • SECURITY.md — new threat model row for cross-user write protection
    • README.md — updated Weekly overview feature description

    Screenshots

    The weekly tab UI has changed visibly — docs/screenshots/weekly.png should be regenerated (see docs/memory/INDEX.md for steps).

    Downloads