Skip to content

refactor: overhaul item handling and centralize slot mapping, derive categories from CSV, remove duplication#29

Open
2Pz wants to merge 14 commits into
mainfrom
refactor/item-handling
Open

refactor: overhaul item handling and centralize slot mapping, derive categories from CSV, remove duplication#29
2Pz wants to merge 14 commits into
mainfrom
refactor/item-handling

Conversation

@2Pz
Copy link
Copy Markdown
Owner

@2Pz 2Pz commented May 16, 2026

No description provided.

2Pz added 14 commits May 16, 2026 20:46
…wn styling

- Derive weapon affinity from item.baseId/baseName instead of local state
- Fix weapon search returning too few results by increasing internal limit before variant grouping
- Add category filter dropdown for inventory search
- Unify dropdown styling across affinity, Ash of War, and category filter
…nel, auto-scroll to equipped item in search

- Add /items/enrich-weapon endpoint to return weapon with full variants/baseId/baseName from any variant ID
- Enrich weapons on slot click so affinity dropdown works for already-equipped items
- Add category field to Item type, backend endpoints, and all frontend mappers
- Show category in the right-side item detail panel
- Fix Creation tab to always reset to local player view (match Main tab behavior)
- On slot click, filter search results to the item's category with high limit (500)
- Auto-scroll search results grid to the equipped item
- Search result highlighting uses baseId fallback for variant weapons
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