Skip to content

Fix: restore status/location/checkedOutTo/checkedOutDate in docToGearItem#39

Merged
theredmoose merged 1 commit into
mainfrom
fix/gear-item-firestore-fields
Feb 22, 2026
Merged

Fix: restore status/location/checkedOutTo/checkedOutDate in docToGearItem#39
theredmoose merged 1 commit into
mainfrom
fix/gear-item-firestore-fields

Conversation

@theredmoose

Copy link
Copy Markdown
Owner

Summary

  • docToGearItem() in firebase.ts was writing status, location, checkedOutTo, and checkedOutDate to Firestore correctly but silently dropped all four fields on every read
  • Users would see their gear status, location, and checkout info disappear every time the page reloaded

Test plan

  • All 516 existing tests pass
  • Manual: add gear with a status/location, reload — fields persist

🤖 Generated with Claude Code

…Item

These four GearItem fields were being written to Firestore correctly but
were silently dropped on every read. Users would lose gear status,
location, and checkout information on every page reload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@theredmoose theredmoose merged commit 6b44b31 into main Feb 22, 2026
1 check 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