Skip to content

v1.8.0 — Live time tracking

Choose a tag to compare

@marcoarnulfo marcoarnulfo released this 23 Jul 21:24
· 190 commits to main since this release

🇬🇧 English

v1.8 turns the timer into a live tracker and adds full time-entry management from the terminal.

⏱ Live ticking timer

  • A running timer now shows as a global indicator on the Home screen (⏱ running on <task> — HH:MM:SS (X.XXh)), ticking every second, no matter which task started it.
  • Press c on Home to jump straight to the timer and stop it; the timer screen ticks live too.
  • The indicator survives transient network blips (a failed refresh no longer clears it), and works with no API calls in demo mode.

🗂 Time-entry browser (edit · delete · history)

  • Press v from the report to open a per-entry browser (current range, filter-applied), newest first.
  • Edit (e) an entry's duration, date/time, note and billable flag — the ClickUp description is preserved, and the start keeps its seconds when you don't change the minute.
  • Delete (x) with a [y/N] confirmation.
  • History (h) — read-only change history.
  • Edit and delete are restricted to your own entries; history is available on any entry.

🧪 Demo parity

  • CLICKUP_DEMO=1 covers all of the above with no API calls — a ticking demo timer and a browser with editable/deletable demo entries. The demo GIF was regenerated.

🧱 Under the hood

  • New client verbs UpdateTimeEntry (PUT) / DeleteTimeEntry (DELETE) / TimeEntryHistory (GET); the pure internal/report / internal/duration packages stay pure.

📌 Deferred

  • Editing an entry's tags is a follow-up (#125), out of scope for v1.8.

Install / upgrade: go install github.com/marcoarnulfo/clickup-cli/cmd/clup@latest

Closes #91, #94, #98, #100. Milestone v1.8 (epic #33).
Full changelog: v1.7.0...v1.8.0

🇮🇹 Italiano

La v1.8 trasforma il timer in un tracker live e aggiunge la gestione completa delle time entry dal terminale.

⏱ Timer live

  • Un timer in corso appare come indicatore globale su Home (⏱ running on <task> — HH:MM:SS (X.XXh)), ticchetta ogni secondo, indipendentemente da quale task l'ha avviato.
  • Premi c su Home per saltare al timer e fermarlo; anche la schermata timer ticchetta live.
  • L'indicatore sopravvive ai blip di rete (un refresh fallito non lo cancella più) e funziona senza chiamate API in demo.

🗂 Browser delle time entry (modifica · cancella · cronologia)

  • Premi v dal report per aprire il browser per-entry (range corrente, filtri applicati), dalla più recente.
  • Modifica (e) durata, data/ora, nota e flag billable — la descrizione ClickUp viene preservata, e l'inizio mantiene i secondi se non cambi il minuto.
  • Cancella (x) con conferma [y/N].
  • Cronologia (h) — storico modifiche in sola lettura.
  • Modifica e cancella sono limitate alle proprie entry; la cronologia è disponibile su qualsiasi entry.

🧪 Parità demo

  • CLICKUP_DEMO=1 copre tutto quanto sopra senza chiamate API — timer demo che ticchetta e browser con entry demo modificabili/cancellabili. GIF demo rigenerato.

🧱 Sotto il cofano

  • Nuovi verbi client UpdateTimeEntry (PUT) / DeleteTimeEntry (DELETE) / TimeEntryHistory (GET); i package puri internal/report / internal/duration restano puri.

📌 Rimandato

  • La modifica dei tag di una entry è un follow-up (#125), fuori scope per la v1.8.

Installazione / aggiornamento: go install github.com/marcoarnulfo/clickup-cli/cmd/clup@latest

Chiude #91, #94, #98, #100. Milestone v1.8 (epic #33).
Changelog completo: v1.7.0...v1.8.0