Commit graph

40 commits

Author SHA1 Message Date
07d276e469 pass entity type to buildWikiJaUrl calls 2025-12-16 11:44:00 -08:00
cde15428da add element styling to link buttons on db detail pages 2025-12-15 19:12:28 -08:00
2ace9590ab fix external link URLs in db detail pages 2025-12-15 18:49:18 -08:00
0aaf93e573 add link buttons to db edit pages 2025-12-15 18:49:13 -08:00
a295175b36 weapon pages: reorder sections, always show all fields 2025-12-15 13:08:22 -08:00
6da599403c fix links format on weapon/summon detail pages
use wiki.en/ja + gamewith/kamigame at top level
2025-12-15 12:49:20 -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
3a9e1f8845 prefill gacha fields from wiki data in import forms 2025-12-15 09:52:13 -08:00
8a44d588c8 add page titles to database pages 2025-12-14 21:56:01 -08:00
b50c1854d6 fetch wiki data client-side to bypass cloudflare 2025-12-14 21:50:45 -08:00
ed6a9fd2f4 send wiki_raw when creating entities from import 2025-12-14 21:50:40 -08:00
cfb62447a0 move Recruits and Promotions to Gacha section 2025-12-14 21:50:35 -08:00
d6160d0bae auto-download images after entity creation 2025-12-14 20:00:23 -08:00
9fb66e731e auto-download images after batch import 2025-12-14 20:00:23 -08:00
64725bd4e8 add link buttons to import form fields
- add URL builders for wiki/gamewith/kamigame
- add hasLinkButton prop to DetailItem components
- show disabled link button when value is empty
- store page names instead of full URLs
- fix DetailItem to render children when editable
- remove focus background styling
2025-12-14 19:35:33 -08:00
5c870b148e use client-side wiki fetch for batch preview imports 2025-12-14 13:17:34 -08:00
b2f4cf5246 fix placeholder images to use CDN url 2025-12-14 12:59:29 -08:00
42f7722e50 batch import: use individual inputs instead of comma-separated
- start with 3 inputs, add/remove as needed
- avoids issues with item names containing commas
2025-12-14 12:41:05 -08:00
4f1b8872c0 fix database edit page type errors 2025-12-13 21:24:47 -08:00
6f16b41d35 misc: util tweaks, database page fixes, mock updates 2025-12-13 14:35:29 -08:00
e3cc2df45c fix missing promotions field in weapon edit data 2025-12-03 12:36:02 -08:00
166ef8ff6f update conflict dialog and database pages for series objects 2025-12-03 11:59:31 -08:00
1933f3d8e9 add new fields to batch import pages 2025-12-02 05:26:10 -08:00
afb81e0f55 add nicknames, links sections to entity detail pages; show recruits in weapon metadata 2025-12-02 02:15:03 -08:00
69395672af move dates section before skills/auras on detail pages 2025-12-02 01:28:23 -08:00
6683a9e53a import pages: add wiki_raw to payload, misc fixes 2025-12-02 01:25:28 -08:00
1b8232ed5a show dates on entity detail pages 2025-12-02 01:24:53 -08:00
6f1f0c60a2 add date fields to entity edit pages 2025-12-02 01:24:48 -08:00
9ace2eb1e2 fix type errors in import pages 2025-12-02 00:08:55 -08:00
64e50e1b50 add batch import button to database index pages 2025-12-02 00:08:47 -08:00
2dd643e92e add batch import pages for characters/weapons/summons 2025-12-02 00:00:41 -08:00
7a639effaa database: add entity edit page scaffolds 2025-12-01 09:57:53 -08:00
be75fcbcbd database detail pages: add Info/Images/Raw tabs 2025-12-01 09:54:35 -08:00
ef534164f0 database/[id]: add page wrapper styles 2025-12-01 04:11:11 -08:00
3df5564772 database/new: remove newSeries, use contained TagInput 2025-12-01 04:11:07 -08:00
6409de0c29 feat(weapons): add edit mode to weapon detail page
- Add edit mode state management (editMode, editData, isSaving)
- Use DetailScaffold wrapper for consistent edit UI
- Import and integrate section components:
  - WeaponMetadataSection, WeaponUncapSection
  - WeaponTaxonomySection, WeaponStatsSection
- Add Nicknames, Dates, Links, Character (recruits) sections in edit mode
- Connect saveChanges to entityAdapter.updateWeapon()
- Invalidate TanStack Query cache after successful save

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 03:29:47 -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
b78ee7ca20 move routes to (app) route group 2025-11-30 22:28:17 -08:00