docs/wiki/4.22-Quick-History.md
Quick History is a week-centric view of the time you have logged on tasks, limited to the current year. It uses the same underlying data as the [[4.21-Worklog]]—your tasks’ “time spent per day” from both active and archived tasks—but presents it as a compact list of weeks, each with a total time and expandable days that show per-task entries. Unlike the worklog screen, Quick History lets you edit the time spent for a task on a given day directly in the view. It is scoped to the same work context (project or tag) as the worklog and is meant for fast review and correction of recent time without opening the full, multi-year worklog.
For how time is recorded and where “time spent per day” comes from, see [[4.14-How-Time-Is-Logged]]. For the full worklog (all years, read-only, export), see [[4.21-Worklog]].
| Aspect | Quick History | Worklog |
|---|---|---|
| Time range | Current year only | All years (full archive) |
| Structure | Weeks → days → task entries | Years → months → days (or years → weeks → days) → entries |
| Purpose | Compact, recent summary with inline time editing | Detailed, day-by-day log for review and export |
| Editing | Yes — you can change time spent per task per day inline | No — read-only view and export |
| Scope | Same as worklog: active work context (project or tag) | Same: active work context |
| Access | Work-context menu (e.g. project or tag) → Quick History | Work-context menu → Worklog |
Both views are generated from the same source: active and archived tasks for the current context, with their “time spent per day” data. Navigating to either screen triggers a refresh of that data. So Quick History is a focused slice of the same information the worklog uses—current year, by week—plus the ability to correct time inline.
So you get a quick answer to “what did I do this week?” and “what did I log on this day?” with the option to fix time without opening the task or the full worklog.
Quick History includes only the current year. If there is no logged time for the current year in the selected work context, the view shows a message such as “No data for current year.” For older data (previous years), use the Worklog view, which includes all years.
When you edit time for a task on a day in Quick History, the app updates that task’s “time spent per day” for that date. The change is persisted the same way as other time changes (e.g. after tracking or idle reassignment), so the updated value appears in the worklog, reports, and metrics. Inline editing is only for leaf tasks; parent tasks show the sum of subtask time and are not edited here.
Quick History is available from the work-context menu (the menu for the current project or tag), alongside Worklog and Metrics. You can open it for a project or for a tag; the route reflects the context (e.g. project/:id/quick-history or tag/:id/quick-history).