Commit graph

848 commits

Author SHA1 Message Date
23527c727e add weapon series to new dropdown with separator 2026-01-01 20:40:08 -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
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
5d7e8334f9
orphaned item indicators (#447)
shows when collection items got nuked

- red badge + dimmed look on orphaned weapons/summons/characters
- amber banner at party level if anything's orphaned
- types updated for `orphaned` field
2025-12-23 22:42:20 -08:00
d0592935be replace home button hover expand with tooltip 2025-12-23 15:03:15 -08:00
a234004303 tweak home button size and padding 2025-12-23 14:58:09 -08:00
3cfb1e77ee use home icon for database back-to-site button 2025-12-23 14:41:22 -08:00
27e9b959ab match grid header/footer padding, use Button component for pagination 2025-12-23 14:24:03 -08:00
3f2f6abefa preserve list filters when navigating back from detail pages 2025-12-23 13:55:04 -08:00
469cf66ad4 clean up duplicate border-radius/box-shadow in detail components 2025-12-23 13:41:54 -08:00
2898740cb2 add DatabasePageHeader to entity detail/edit pages 2025-12-23 13:41:50 -08:00
5c2203af42 remove unused border-color css var, format 2025-12-23 12:59:48 -08:00
268ece6e96 add View in Database menu item for admins 2025-12-23 12:59:39 -08:00
a6f7d92b99 fix database edit not refreshing data after save 2025-12-23 12:59:31 -08:00
4d94137bbd fix character series filter field name mismatch 2025-12-23 12:57:17 -08:00
ac583c3382 summon grid: remove labels, align grid rows with main/friend summons 2025-12-22 23:32:50 -08:00
9a34e19d48 remove summon badges, rename subaura label to "Subaura Summons" 2025-12-22 23:32:36 -08:00
4129a43103 summon rep: show subauras + friend summon, 3x2 grid layout 2025-12-22 23:21:57 -08:00
b710f81d94 fix character rep sizing in segmented control, add forced gap between squares 2025-12-22 23:01:45 -08:00
59f79262d5 rework character rep layout: 3 portraits + 2 stacked squares 2025-12-22 20:16:00 -08:00
db39b07414 remove forge order field, now auto-computed by api 2025-12-22 19:53:42 -08:00
da189e1fa4 fix weapon typeahead width in detail items 2025-12-22 19:53:22 -08:00
97e122c45d color filter badge by element when single element selected 2025-12-22 16:26:12 -08:00
0fef8a69e4 fix select typeahead highlighting
add label prop to items for open-state typeahead, use explicit global selector for data-highlighted
2025-12-22 16:26:04 -08:00
b1c88ac483 move Clear button to right side of filters row 2025-12-22 14:00:32 -08:00
30c2539766 move database filters to collapsible row with toggle button
- add Filters button next to search input
- show filter count badge when filters are active
- auto-expand filters when URL has filter params
2025-12-22 13:58:25 -08:00
ce495a9145 feat: persist database filters in URL query params
- Add filterParams.ts with human-readable URL mappings
- Parse filters from URL on page load
- Update URL when filters/search/page change
- Support element, rarity, proficiency, season, series, search
- Handle weapon series slug <-> UUID mapping
2025-12-22 13:52:22 -08:00
94c7a3b799 fix: prevent chart helpers from mutating event order
spread arrays before sorting to preserve API order (DESC)
2025-12-22 01:40:33 -08:00
59f3bedd9a fix: only count human members when determining scout button availability 2025-12-22 01:30:37 -08:00
f1c74b7497 fix select dropdown color and mixed-type value handling 2025-12-22 00:36:27 -08:00
0429bb62bd migrate on:click to onclick for svelte 5 2025-12-21 23:51:57 -08:00
103d0c652d fix sass darken() deprecation 2025-12-21 23:49:55 -08:00
e48b0c54b6 fix undefined scss variables in weapon forge section 2025-12-21 23:48:08 -08:00
4fc7af85a6 add optimistic updates and description tile to teams/new 2025-12-21 23:10:10 -08:00
2c2580fba3 use job mutations and fix skill removal payload 2025-12-21 23:07:18 -08:00
396a02cfe7 fix extra weapons grid to find weapons by position 2025-12-21 23:05:56 -08:00
f4dbf57765 fix unlimited raids to show 8 character slots 2025-12-21 23:05:37 -08:00
a01c6e8d31 add extra_prerequisite and forge chain to weapon database pages 2025-12-21 22:22:57 -08:00
33b578ec21 tweak video embed border radius 2025-12-21 17:38:19 -08:00
37ca687a7d show description preview with 3-line clamp in party edit 2025-12-21 17:38:13 -08:00
5e01e56dec add video embed to description pane 2025-12-21 17:02:28 -08:00
c93f65153c show first two paragraphs in description tile with fade gradient 2025-12-21 17:02:18 -08:00
e0ec59c147 fix description content loading timing 2025-12-21 16:32:53 -08:00
cfcf59f2d9 add entity mention extension with search autocomplete 2025-12-21 16:32:49 -08:00
a37a950be2 add youtube and mention tiptap extensions 2025-12-21 16:32:44 -08:00
d25265fd6a fix style dropdown label reactivity on selection change 2025-12-21 15:47:45 -08:00
180c26a244 add onSelectionUpdate callback to edra editor 2025-12-21 15:47:34 -08:00
0339a3f832 use project DropdownMenu component for style selector
- show full style names in trigger (Paragraph, Heading 1, etc)
- portal dropdown to avoid clipping
2025-12-21 15:33:07 -08:00
8329ec9de3 add rich text description editor
- use edra/tiptap for description editing in sidebar
- fix infinite loop by using onMount instead of $effect
2025-12-21 15:13:12 -08:00