Commit graph

12 commits

Author SHA1 Message Date
1b00889e81
weapon series detail/edit pages (#449)
## Summary
- add detail and edit pages for weapon series at
`/database/series/weapons/[slug]`
- fix series table navigation to use slug instead of uuid
- add `?view=series` URL param for bookmarkable series view
- remove redundant `/database/series` page
- rename augment type `none` → `no_augment` for consistency

## Test plan
- [ ] navigate to /database/weapons, toggle to series view
- [ ] verify URL updates to ?view=series
- [ ] click a series row, should go to detail page
- [ ] back button returns to series view
- [ ] edit page saves correctly
2025-12-31 23:55:03 -08:00
839365a5a1
Add weapon stat modifier UI for AX skills and befoulments (#448)
## Summary
- Add weapon stat modifier types and API layer
- Rewrite AX skill components to fetch modifiers from API instead of
local data
- Add befoulment select component for weapon editing
- Update weapon edit views to use new modifier system
- Remove old hardcoded ax skill definitions

This is the frontend counterpart to the API weapon stat modifiers
feature. AX skills and befoulments are now fetched from the API instead
of being hardcoded in the frontend.

## Test plan
- [ ] Edit a weapon with AX skills, verify dropdown shows correct
options
- [ ] Add/remove AX skills on a weapon, verify saves correctly
- [ ] Add befoulment to a weapon, verify UI and save work
- [ ] Verify existing weapons with AX skills display correctly
2025-12-31 22:21:22 -08:00
318db82ce7 fix storybook mock types 2025-12-13 21:24:39 -08:00
c54c959522 rework ModalFooter to use action props
- onCancel callback with fixed "Nevermind" label
- optional primaryAction object (label, onclick, destructive, disabled)
- optional left snippet for custom content
2025-12-13 20:02:25 -08:00
b3ec56648c fix mock file imports to use correct type modules 2025-12-13 14:55:56 -08:00
789494e773 migrate dialog consumers to ModalHeader/Body/Footer pattern 2025-12-13 14:55:46 -08:00
6f16b41d35 misc: util tweaks, database page fixes, mock updates 2025-12-13 14:35:29 -08:00
919eee8cde replace Goalking with AGrot font 2025-12-02 08:39:32 -08:00
bbec620d00 add storybook setup and initial stories 2025-11-30 06:02:41 -08:00
be2f723962 Remove everything in stories folder for now 2025-09-17 22:08:19 -07:00
7c7ed8b579 chore: update dependencies and misc files 2025-09-17 10:48:15 -07:00
c360543d82 Init Svelte migration repo 2025-09-08 13:43:09 -07:00