feat: Inventory module - #3
Open
2DoorDevelopment wants to merge 5 commits into
Open
Conversation
- InventoryItem schema with category, quantity, location, price (UEC) - useInventory hook (add/edit/delete) - ItemCard list with quantity badge and UEC price - ItemFormSheet: name, category, quantity, location, price, notes - Category chip filter + search + total UEC value summary - Empty state, FAB, same pattern as Hangar - Inventory tab activated in nav https://claude.ai/code/session_017MV5NFe6rbL571JoNoDyJz
- MiningRun schema: date, location, method, ship, minerals (name+SCU), status (raw/refining/ready/collected), refinery location, ready date - useMining hook with add/edit/setStatus/delete - MiningRunCard: shows location, date, method, mineral tags, refinery - MiningRunFormSheet: dynamic mineral rows, refinery fields shown when status is refining/ready/collected, autocomplete for minerals + refinery - MiningPage: status chip filter, total SCU + pending SCU stats, FAB - Mining tab activated in nav https://claude.ai/code/session_017MV5NFe6rbL571JoNoDyJz
- CargoEntry schema: commodity, ship, SCU, buy location/price, sell location/price, status (bought/sold) - cargoProfit() helper for per-run and total profit calc - CargoEntryCard: route arrow, buy→sell price, profit in green/red - CargoEntryFormSheet: live profit preview as you type sell price, sell fields only appear when status=sold, commodity/location autocomplete - CargoPage: total profit counter, in-hold SCU, status filter chips - Cargo tab activated in nav https://claude.ai/code/session_017MV5NFe6rbL571JoNoDyJz
Adds full CRUD for missions with type, faction, payout, status, location, and expiry. Active missions show expiry warnings when within 24 hours. Stats bar shows active count and total UEC earned from completed missions. https://claude.ai/code/session_017MV5NFe6rbL571JoNoDyJz
Full CRUD for crafting projects with per-material owned/needed tracking. Cards show a progress bar and highlight missing materials in red. Status filter chips: All / In Progress / Planned / Done. https://claude.ai/code/session_017MV5NFe6rbL571JoNoDyJz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a fully functional Inventory module:
Generated by Claude Code