Commit graph

281 commits

Author SHA1 Message Date
b2559f5f39 add quest_id support and lobby/background images for raids
- add quest_id to types and forms
- add lobby and background images to detail page
- update adapter for new image sizes
2026-01-06 03:52:40 -08:00
96db589dea add icon image column to raids list 2026-01-06 03:22:11 -08:00
6f4e305cdf add images tab to raid detail page
- add download methods to RaidAdapter
- extend DetailScaffold and DetailsHeader to support raid type
- add tabs (Info, Images, Raw Data) to raid detail page
- show icon and thumbnail images with right-click download menu
2026-01-06 03:04:27 -08:00
ba6df44df1 use enemy_id and summon_id instead of game_id 2026-01-06 02:46:56 -08:00
013aed1dbf add game_id to raid pages 2026-01-06 02:29:05 -08:00
d72a1f8738 fix spacing on /teams/new to match party detail page 2026-01-06 01:20:16 -08:00
234b7809fe fix: remove padding from page on jobs database 2026-01-05 02:46:59 -08:00
b5d30997b8
Party sharing frontend (#455)
## Summary
- Add visibility dropdown (Public/Private/Unlisted) to party edit
sidebar
- Add "Share with Crew" switch for crew members
- Implement /crew/teams page showing parties shared with crew
- Add API layer for party shares and crew shared parties

## Test plan
- [ ] Open party settings, verify visibility dropdown appears
- [ ] For users in a crew, verify "Share with Crew" switch appears
- [ ] Toggle crew share on/off, verify it persists
- [ ] Navigate to /crew/teams, verify shared parties load
- [ ] Test infinite scroll pagination on crew teams page
2026-01-05 02:39:10 -08:00
0fbdd24491
Job accessories and DatabaseGridWithProvider for jobs (#453)
## Summary

Add job accessories feature and migrate jobs list to
DatabaseGridWithProvider pattern:

- Jobs list now uses DatabaseGridWithProvider (consistent with
weapons/characters/summons)
- Segmented control to switch between jobs and accessories views
- Full CRUD pages for job accessories (detail, edit, new)
- Job creation page for editors
- Navigation dropdown for jobs section

## Changes

### DatabaseGridWithProvider extension
- Extended to support `jobs` resource
- Added `searchJobs` method to search adapter
- Job-specific filters (row, proficiency, master_level, etc.)
- Collection filters hidden for jobs (no element/rarity/series)

### Job grid cells
- `JobIconCell` - portrait thumbnail
- `JobTierCell` - row tier badge
- `JobProficienciesCell` - weapon proficiency icons
- `JobFeaturesCell` - master/ultimate/accessory badges

### Job accessories
- Detail page with job info
- Edit/new pages for editors
- Type utilities (Shield/Manatura)

### Navigation
- Dropdown with "New job" and "New job accessory" options

## Dependencies

Requires hensei-api#206 for backend endpoints.

## Test plan

- [ ] Jobs list loads with DatabaseGridWithProvider
- [ ] Segmented control switches between jobs/accessories
- [ ] Job accessory detail/edit/new pages work
- [ ] Job creation page works for editors
- [ ] Navigation dropdown appears on job pages
2026-01-04 14:44:12 -08:00
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
36e3b39a20
remove suggestion UI from batch import (#451)
## Summary
Removes the suggestion badge/accept/dismiss UI from batch import pages.
Form fields are still pre-populated with parsed wiki data, but users no
longer see sparkle icons or have to accept/dismiss individual
suggestions.

Changes:
- Rename type aliases: `*Suggestions` → `ParsedData*`
- Delete `SuggestionBadge.svelte` and `SuggestionDetailItem.svelte`
- Remove suggestion props from all section components
- Simplify import pages by removing dismissed state tracking and
handlers

**Requires:** jedmund/hensei-api#204

## Test plan
- [ ] Test batch import for characters, weapons, and summons
- [ ] Verify form fields still pre-populate from wiki data
- [ ] Verify edit pages still work (they share section components)
2026-01-04 14:41:27 -08:00
d079070ae8
import page improvements (#450)
## Summary
- add suggestion support to metadata sections for name fields
- remove duplicate basic info sections from import pages
- auto-generate wikiJa and kamigame URLs from name (jp) field

## Test plan
- [ ] test batch import flow still works
- [ ] verify wikiJa/kamigame auto-populate when typing japanese name
- [ ] check metadata sections show suggestion badges
2026-01-04 14:28:30 -08:00
7e6f5b5282 add new weapon series form page 2026-01-01 20:40:08 -08:00
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
3f2f6abefa preserve list filters when navigating back from detail pages 2025-12-23 13:55:04 -08:00
2898740cb2 add DatabasePageHeader to entity detail/edit pages 2025-12-23 13:41:50 -08:00
a6f7d92b99 fix database edit not refreshing data after save 2025-12-23 12:59:31 -08:00
59f3bedd9a fix: only count human members when determining scout button availability 2025-12-22 01:30:37 -08:00
0429bb62bd migrate on:click to onclick for svelte 5 2025-12-21 23:51:57 -08:00
4fc7af85a6 add optimistic updates and description tile to teams/new 2025-12-21 23:10:10 -08:00
a01c6e8d31 add extra_prerequisite and forge chain to weapon database pages 2025-12-21 22:22:57 -08:00
2806d73f72 implement dark mode with instant theme switching 2025-12-20 21:13:26 -08:00
1a511461e5 use text color css vars in database routes 2025-12-20 20:57:34 -08:00
3f6ad5510a improve roster UI with sticky names and better spacing 2025-12-20 20:16:21 -08:00
f5eaa5bb75 roster ui tweaks: column gap, hover X button, clear input on select 2025-12-20 20:02:44 -08:00
abed7fee22 use small contained uncap indicator in crew roster 2025-12-20 19:48:30 -08:00
4c2b466e5a apply same keyed each fix to other collection pages
prevent potential crash at 250+ items
2025-12-20 17:13:44 -08:00
8a07691c0b fix weapons collection crash at page 6
use index key instead of weapon.id to avoid svelte 5 keyed each bug at 250+ items
2025-12-20 17:11:39 -08:00
f47770dbfb consolidate raid-groups into raids page 2025-12-20 15:23:16 -08:00
133cd9ec5b port profile and explore pages to useInfiniteLoader 2025-12-20 15:20:15 -08:00
1933391d38 port collection pages to useInfiniteLoader 2025-12-20 15:20:08 -08:00
574454936c fix infinite scroll crash in collection views
keep sentinel always in DOM with css hiding instead of {#if}
2025-12-20 13:50:27 -08:00
02939927ce update crew pages with tabs navigation 2025-12-20 04:16:21 -08:00
37bb40293d add crew teams page stub 2025-12-20 04:16:08 -08:00
fe3ff17367 add crew roster page for checking member collections 2025-12-20 04:15:56 -08:00
e1fe9810ce add unlimited raids with 7 character slots 2025-12-20 01:58:11 -08:00
29142ab901 use svar grid for raid groups, improve grid header styling 2025-12-20 01:39:57 -08:00
fd0044211b add raids/groups database pages with view toggle 2025-12-20 01:08:36 -08:00
93dc96c1b0 add weapons/series view toggle 2025-12-20 01:06:51 -08:00
5b74e90ef8 remove vertical padding from characters db page 2025-12-20 01:04:48 -08:00
66c8094346 add elemental view toggle and remove end message 2025-12-19 15:50:53 -08:00
b0d359161d widen collection grid cells to 144px, reduce horizontal gap 2025-12-19 12:27:14 -08:00
1bac7fc846 selection mode ui tweaks: element-ghost buttons, clear button, fixed nav height 2025-12-19 12:26:38 -08:00
9b15cad7ce add equippable characters section to artifact detail pane 2025-12-19 01:36:24 -08:00
5ba9553ef7 collection layout and filter bar styling tweaks 2025-12-19 01:15:20 -08:00
c4d251e44f artifact card and filter bar styling 2025-12-19 01:13:45 -08:00
c402d7a7e3 fix proficiency filter to send array 2025-12-19 01:07:52 -08:00
66b8544b33 fix collection dropdown menu visibility and trigger style 2025-12-19 00:53:19 -08:00
b4f58aa5af add skill, element, proficiency filters to artifact collection 2025-12-19 00:40:15 -08:00
856e5017ea wire up selection mode and bulk delete in collection pages 2025-12-19 00:40:10 -08:00