[Feature] Session Timer - Live Elapsed Time Display #51

Closed
opened 2026-02-10 15:58:09 +00:00 by chihlasm · 1 comment
chihlasm commented 2026-02-10 15:58:09 +00:00 (Migrated from github.com)

Summary

Display a live elapsed timer in the session header during active troubleshooting sessions. Optionally support a "target time" per tree (e.g., "Password resets should take <5 min").

Why

  • Engineers are often unaware of time spent — visible timer creates gentle urgency
  • Foundation for time analytics and ROI metrics
  • Helps with PSA time entries (engineers bill by the hour)
  • Trivial to build, immediate value

Implementation Notes

  • Frontend-only: Date.now() - session.started_at display in session header
  • Format as MM:SS or HH:MM:SS for longer sessions
  • Optional: configurable target time per tree (stored in tree metadata)
  • Include total duration in export output: Session Duration: 23 minutes

Acceptance Criteria

  • Live timer visible in TreeNavigationPage session header
  • Timer starts when session begins, stops on completion
  • Duration included in all export formats (markdown, text, HTML, PSA)
  • Timer does not cause excessive re-renders (use requestAnimationFrame or 1s interval)

Sources

  • docs/plans/2026-02-04-feature-ideas-brainstorm.md — Idea 1: Session Time Tracking
  • .claude/docs/ai/resolutionflow/10x/session-1.md — Small Gems Test PR environment deployment (#1)

Priority

Do Now — quick win, foundation for analytics

## Summary Display a live elapsed timer in the session header during active troubleshooting sessions. Optionally support a "target time" per tree (e.g., "Password resets should take <5 min"). ## Why - Engineers are often unaware of time spent — visible timer creates gentle urgency - Foundation for time analytics and ROI metrics - Helps with PSA time entries (engineers bill by the hour) - Trivial to build, immediate value ## Implementation Notes - Frontend-only: `Date.now() - session.started_at` display in session header - Format as `MM:SS` or `HH:MM:SS` for longer sessions - Optional: configurable target time per tree (stored in tree metadata) - Include total duration in export output: `Session Duration: 23 minutes` ## Acceptance Criteria - [ ] Live timer visible in TreeNavigationPage session header - [ ] Timer starts when session begins, stops on completion - [ ] Duration included in all export formats (markdown, text, HTML, PSA) - [ ] Timer does not cause excessive re-renders (use `requestAnimationFrame` or 1s interval) ## Sources - `docs/plans/2026-02-04-feature-ideas-brainstorm.md` — Idea 1: Session Time Tracking - `.claude/docs/ai/resolutionflow/10x/session-1.md` — Small Gems #1 ## Priority **Do Now** — quick win, foundation for analytics
chihlasm commented 2026-02-11 00:43:33 +00:00 (Migrated from github.com)

Implemented in PR #72 (feat/session-quick-wins).

Implemented in PR #72 (feat/session-quick-wins).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: chihlasm/resolutionflow#51