fix: remove legacy TCO fields from vehicle forms (refs #37) #38

Merged
egullickson merged 1 commits from issue-37-remove-tco-fields into main 2026-01-16 02:11:08 +00:00
Owner
  • Remove CostInterval type and TCOResponse interface from frontend types
  • Remove insurance/registration cost fields from VehicleForm schema and UI
  • Keep purchasePrice and purchaseDate fields on vehicle form
  • Remove TCODisplay component from VehicleDetailPage
  • Delete TCODisplay.tsx component file
  • Remove getTCO method from vehicles API client

Legacy TCO fields moved to ownership-costs feature in #29.
Backend endpoint preserved for future reporting feature.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Summary

  • What does this PR change?

Linked issues

  • Fixes #
  • Relates to #

Type

  • Feature
  • Bug fix
  • Chore / refactor
  • Docs

Test plan

  • Unit tests
  • Integration tests
  • Manual verification

Commands / steps:
1.
2.

Screenshots / UI notes (if applicable)

Checklist

  • Acceptance criteria met (from linked issue)
  • No secrets committed
  • Logging is appropriate (no PII)
  • Docs updated (if needed)
- Remove CostInterval type and TCOResponse interface from frontend types - Remove insurance/registration cost fields from VehicleForm schema and UI - Keep purchasePrice and purchaseDate fields on vehicle form - Remove TCODisplay component from VehicleDetailPage - Delete TCODisplay.tsx component file - Remove getTCO method from vehicles API client Legacy TCO fields moved to ownership-costs feature in #29. Backend endpoint preserved for future reporting feature. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> ## Summary - What does this PR change? ## Linked issues - Fixes # - Relates to # ## Type - [ ] Feature - [ ] Bug fix - [ ] Chore / refactor - [ ] Docs ## Test plan - [ ] Unit tests - [ ] Integration tests - [ ] Manual verification **Commands / steps:** 1. 2. ## Screenshots / UI notes (if applicable) ## Checklist - [ ] Acceptance criteria met (from linked issue) - [ ] No secrets committed - [ ] Logging is appropriate (no PII) - [ ] Docs updated (if needed)
egullickson added 1 commit 2026-01-15 18:39:10 +00:00
fix: remove legacy TCO fields from vehicle forms (refs #37)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 2m42s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 29s
Deploy to Staging / Verify Staging (pull_request) Successful in 8s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped
96440104c8
- Remove CostInterval type and TCOResponse interface from frontend types
- Remove insurance/registration cost fields from VehicleForm schema and UI
- Keep purchasePrice and purchaseDate fields on vehicle form
- Remove TCODisplay component from VehicleDetailPage
- Delete TCODisplay.tsx component file
- Remove getTCO method from vehicles API client

Legacy TCO fields moved to ownership-costs feature in #29.
Backend endpoint preserved for future reporting feature.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
egullickson merged commit 913e084127 into main 2026-01-16 02:11:08 +00:00
egullickson deleted branch issue-37-remove-tco-fields 2026-01-16 02:11:09 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#38