Commit graph

10 commits

Author SHA1 Message Date
90e5ded942
add maxExorcismLevel to weapons (#452)
## Summary
- add `maxExorcismLevel` to Weapon type
- add field to WeaponStatsSection in database pages (with min=1
validation)
- include in new/edit/import page payloads
- make BefoulmentSelect exorcism options dynamic (0 to maxExorcismLevel)
- pass maxExorcismLevel to BefoulmentSelect from edit panes

## Test plan
- [ ] verify maxExorcismLevel field appears in weapon stats section
- [ ] verify min=1 validation works
- [ ] verify exorcism dropdown shows correct options based on weapon's
maxExorcismLevel
2026-01-04 14:43:53 -08:00
a01c6e8d31 add extra_prerequisite and forge chain to weapon database pages 2025-12-21 22:22:57 -08:00
6ba89dc216 use granblueId in database URLs instead of UUID
- rename route folders from [id] to [granblueId]
- update all server load functions to use params.granblueId
- update detail/edit/new pages to navigate with granblueId
- update cross-entity links (recruits, recruitedBy)
- update TanStack Query keys to use granblueId

backend's IdResolvable already supports fetching by granblueId
2025-12-15 11:26:52 -08:00
80bcbd59db fix CharacterTypeahead usage in weapon forms 2025-12-15 11:03:12 -08:00
8a44d588c8 add page titles to database pages 2025-12-14 21:56:01 -08:00
d6160d0bae auto-download images after entity creation 2025-12-14 20:00:23 -08:00
6f16b41d35 misc: util tweaks, database page fixes, mock updates 2025-12-13 14:35:29 -08:00
3df5564772 database/new: remove newSeries, use contained TagInput 2025-12-01 04:11:07 -08:00
7a86790670 weapons: add recruits character search field
Add CharacterTypeahead component for async character search using Svelecte.
The component debounces input and queries the search API for matching
characters. Added recruits field to weapon creation page.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 03:17:17 -08:00
fdc50906dc weapons: add creation page and update section components
Create /database/weapons/new route with full weapon creation form:
- Granblue ID validation
- Basic info (name, rarity)
- Uncap settings with cascade logic (Transcendence → ULB → FLB)
- Taxonomy (element, proficiency, series, new_series)
- Stats (HP/ATK with FLB/ULB variants)
- Caps (max_level, max_skill_level, max_awakening_level)
- Nicknames via TagInput
- Dates and external links

Update section components:
- WeaponUncapSection: Add cascade logic, extra/limit/ax fields
- WeaponTaxonomySection: Add series dropdowns with options
- WeaponStatsSection: Add ULB stats, caps section

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 03:08:52 -08:00