Skip to content

feat: add TUI receipt viewer (receiptisan view)#73

Open
yokenzan wants to merge 7 commits intomasterfrom
feat/tui-receipt-viewer
Open

feat: add TUI receipt viewer (receiptisan view)#73
yokenzan wants to merge 7 commits intomasterfrom
feat/tui-receipt-viewer

Conversation

@yokenzan
Copy link
Owner

@yokenzan yokenzan commented Feb 9, 2026

Summary

  • Add receiptisan view RECEIPTC.UKE subcommand for interactive terminal-based receipt browsing
  • 2-pane layout: receipt list (left) + detail view with header, tekiyou/kaikei tabs (right)
  • Vim-like keybindings (j/k, g/G, Ctrl-d/u, Tab, J/K, Ctrl-f/b)
  • Color-coded tekiyou items by resource type (SI/IY/TO/CO)
  • Built on RatatuiRuby

Test plan

  • bundle exec rspec spec/lib/receiptisan/tui/ — 36 examples, 0 failures
  • bundle exec rubocop — no offenses
  • Manual: bundle exec receiptisan view <UKE file> で TUI 起動・操作・終了を確認

🤖 Generated with Claude Code

yokenzan and others added 4 commits February 9, 2026 16:34
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implement terminal UI for browsing receipts using RatatuiRuby.

- State: selection index, tab switching, scroll offset management
- KeyHandler: vim-like keybindings (j/k, g/G, Ctrl-d/u, Tab, J/K)
- Presenter: domain Receipt to TUI display data conversion
- UI: 2-pane layout, receipt list, header, tekiyou/kaikei tabs
- Color-coded tekiyou items (SI/IY/TO/CO)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Register 'receiptisan view RECEIPTC.UKE' subcommand that parses a UKE
file and launches the TUI viewer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yokenzan yokenzan self-assigned this Feb 9, 2026
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