Skip to content

[UI-3] Implement TrackedTimeProvider (3-level TreeDataProvider) #51

@zestones

Description

@zestones

Context

Part of UI-3 – Tracked Time panel — see vscode-ui-implementation-plan.md § UI-3.

What

Create src/webview/sidebar/tracked-time/provider.js extending TreeDataProvider:

  • Level 1 – Repository node: icon + repo name + total h:mm:ss.
  • Level 2 – Issue node: #id + issue title + total h:mm:ss.
  • Level 3 – Session node: date/time range + duration (leaf).
  • Data sourced from StorageService.getSessions().
  • Prototype reference: index.html L1811–L1878.

Acceptance criteria

  • Tree renders and expands to all three levels.
  • Total times are summed correctly at each level.
  • Tree refreshes automatically after timer stop, sync, or manual edit.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestuiVS Code extension UI/UX implementationvscodeVS Code extension specific

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions