Skip to content

feat: invoice refresh, theme picker, and agent backup workflow#10

Merged
0x054 merged 1 commit into
mainfrom
feat/invoice-refresh-theme-picker-agent-backup
Jun 18, 2026
Merged

feat: invoice refresh, theme picker, and agent backup workflow#10
0x054 merged 1 commit into
mainfrom
feat/invoice-refresh-theme-picker-agent-backup

Conversation

@0x054

@0x054 0x054 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add invoice refresh: recompute lines from locked entries with before/after diff in TUI (u) and CLI (ttd invoice refresh [--apply]); paid invoices allow description-only apply
  • Include entry notes as bulleted line descriptions; switch markdown Work section to block layout so previews render correctly
  • Add searchable theme picker modal (t / command palette) with live preview and any Textual theme saveable to config
  • Require agents to run just backup before data-touching work (new rule + recipe)

Test plan

  • just check and uv run pytest tests/test_invoicing/ tests/test_tui/test_app.py -k invoice
  • Refresh a draft invoice after a rate change; confirm totals update on apply
  • Refresh a paid invoice with description-only diff; confirm totals/set-aside unchanged
  • Open theme picker (t), preview themes, save a non-default theme to config
  • Markdown preview (m) shows bulleted notes on separate lines
  • just backup writes timestamped .db to ~/Backups/ttd/

Made with Cursor

Add full invoice recalc with TUI/CLI diff preview, bulleted entry notes in
line descriptions, a searchable theme picker, and a required just backup step
before agents touch production ledger data.

Co-authored-by: Cursor <cursoragent@cursor.com>
@0x054 0x054 marked this pull request as ready for review June 18, 2026 16:38
@0x054 0x054 merged commit e4c5087 into main Jun 18, 2026
6 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