Skip to content

refactor: improve report task tracking#11

Merged
Flyrell merged 1 commit intomainfrom
refactor/default-task
Mar 15, 2026
Merged

refactor: improve report task tracking#11
Flyrell merged 1 commit intomainfrom
refactor/default-task

Conversation

@Flyrell
Copy link
Owner

@Flyrell Flyrell commented Mar 15, 2026

Summary

  • Command restructuring: Move log, edit, remove under log group command; move schedule commands under project/defaults groups; remove duplicate resolveProjectFromRepo in favor of ResolveProjectContext
  • Time tracking improvements: Centralize day budget computation, replace proportional scaling with targeted segment carving for log deduction, add from/to time range support in edit/log/report overlays, use "(no task)" label for task-less log entries
  • New features: Allow all three --from/--to/--duration flags in edit when consistent, add from/to time range display to report detail panel
  • Documentation: Update all docs, README, and web pages to reflect restructured commands

Test plan

  • Run task test to verify all unit tests pass
  • Run task lint to verify no lint issues
  • Manually test hourgit log add, hourgit log edit, hourgit log remove subcommands
  • Verify hourgit project schedule get/set/reset/report commands work
  • Verify hourgit defaults schedule get/set/reset/report commands work
  • Check report table displays "(no task)" for untagged log entries

🤖 Generated with Claude Code

Log entries without an explicit task were previously displayed using
their message text as the task/row name, which was misleading — it
conflated the entry message with the grouping key. Now they consistently
show "(no task)" so the report clearly distinguishes intentional task
labels from untagged entries.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Flyrell Flyrell changed the title refactor: restructure CLI commands and improve time tracking refactor: improve report task tracking Mar 15, 2026
@Flyrell Flyrell merged commit 7cb3dce into main Mar 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant