Commit graph

411 commits

Author SHA1 Message Date
d107d56f82 fix collection nav link to point to user's collection
The Collection nav link now points to /{username}/collection/characters
instead of /collection. Also updates isNavSelected to properly detect
when on any collection page.
2025-12-02 11:29:09 -08:00
2aa961b5e6 refactor EditCharacterSidebar to use shared CharacterEditPane
Reduces ~240 lines to ~85 lines by using the shared CharacterEditPane
component for edit controls. Both party grid and collection character
editing now use the same underlying UI component.
2025-12-02 11:26:23 -08:00
dea784780a add collection page route and character pane components
- Add collection route structure at [username]/collection/characters
- Create CharacterEditPane as shared component for character customizations
- Create CollectionCharacterPane with Info and My Collection tabs
- Add character grid with filters and infinite scroll
- Fix CollectionFilters a11y warnings
2025-12-02 09:43:31 -08:00
a9de4a60c0 add AddToCollectionModal and SelectableCharacterCard
Large modal for batch-selecting characters to add to collection.
Features server-side search, filtering, multi-select with visual
feedback, and "X selected" link to filter to selection only.
2025-12-02 09:32:28 -08:00
8f28ad8d8f add Dialog large size variant and CollectionFilters
Dialog now supports size='large' for 90vw/85vh modals.
CollectionFilters provides reusable filter controls for
element, rarity, season, series, race, proficiency, gender.
2025-12-02 09:30:31 -08:00
60ac5d4ab2 add collection API layer
Types, adapter, queries, and mutations for managing user collections
(characters, weapons, summons, job accessories). Supports both private
collection management and public collection viewing with privacy.
2025-12-02 09:28:22 -08:00
51db7f7604 remove redundant settings page 2025-12-02 08:52:08 -08:00
8912696a08 add element selector to user settings modal 2025-12-02 08:52:02 -08:00
be92eba4aa fix user settings API to match rails backend params 2025-12-02 08:51:57 -08:00
919eee8cde replace Goalking with AGrot font 2025-12-02 08:39:32 -08:00
13f78e4bf8 switch to dynamic font loading from env
loads fonts from AWS S3 when PUBLIC_SIERO_IMG_URL is set,
otherwise falls back to local /fonts directory
2025-12-02 08:39:28 -08:00
7471901fee fix userAdapter instantiation in auth endpoints 2025-12-02 08:11:16 -08:00
579691aeef fix secure cookie flag behind reverse proxy 2025-12-02 07:54:36 -08:00
513c7660f5 add svelte-sonner for toast notifications 2025-12-02 06:54:12 -08:00
1933f3d8e9 add new fields to batch import pages 2025-12-02 05:26:10 -08:00
23ae7f70ba add promotions to summon database views 2025-12-02 05:25:56 -08:00
8c45c21939 add promotions to weapon database views 2025-12-02 05:25:49 -08:00
cf694bb1ce add season, series, gacha_available, recruited_by to character database views 2025-12-02 05:25:43 -08:00
96f040a91b add CheckboxGroup component for multiselect fields 2025-12-02 05:25:35 -08:00
f26d3e3883 add season, series, promotions filters to search adapter 2025-12-02 05:25:29 -08:00
67b87c7d1b add season, series, promotions to entity types 2025-12-02 05:25:23 -08:00
b6db09bcc4 add formal promotion to enums 2025-12-02 05:25: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
4fdc859941 add scroll-triggered gradient to nav background 2025-12-02 01:45:16 -08:00
c8c076e707 add calendar icon for DatePicker 2025-12-02 01:37:38 -08:00
69395672af move dates section before skills/auras on detail pages 2025-12-02 01:28:23 -08:00
28aa547c89 fix: summon granblueId binding in edit mode 2025-12-02 01:28:16 -08:00
6683a9e53a import pages: add wiki_raw to payload, misc fixes 2025-12-02 01:25:28 -08:00
5edcf6473a cleanup: remove unused CharacterImagesSection, tweak metadata 2025-12-02 01:25:23 -08:00
38762c8946 add image download buttons to detail scaffold 2025-12-02 01:25:18 -08:00
2771e202cb add CopyableText component for raw data tab 2025-12-02 01:25:14 -08:00
dea02ef359 fix ougiRatio display - access nested object properties 2025-12-02 01:24:57 -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
da26645df0 add DatePicker component with type='date' support 2025-12-02 01:24:36 -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
1ea0eee86c add suggestion props to all database section components 2025-12-01 23:52:06 -08:00
bba78d5781 feat: add suggestion UI components for batch import
- SuggestionBadge: sparkle icon with tooltip for accept/dismiss actions
- SuggestionDetailItem: detail item wrapper with suggestion badge support
- TabbedEntitySelector: entity image grid for batch selection

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 23:43:56 -08:00
b28ba551de add batch preview adapter methods 2025-12-01 23:40:55 -08:00
c8c4693e08 Switch font from Goalking to AGrot
- Import fonts.css in app.html
- Update --font-family CSS variable to use AGrot
- Adjust $bold weight from 600 to 700 to match AGrot's available weights

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 13:52:55 -08:00
7a639effaa database: add entity edit page scaffolds 2025-12-01 09:57:53 -08:00
1cbcd91f94 entity adapter: add raw data fetch methods 2025-12-01 09:54:39 -08:00
be75fcbcbd database detail pages: add Info/Images/Raw tabs 2025-12-01 09:54:35 -08:00
395a5c166f SegmentedControl: add size prop (default/small) 2025-12-01 09:54:06 -08:00
7a57680ec1 use ElementLabel/ProficiencyLabel, show all fields in detail pages 2025-12-01 08:35:34 -08:00
371cb7d102 fix: use camelCase granblueId in view mode 2025-12-01 08:35:30 -08:00
20705cc3b2 SegmentedControl: only fire onValueChange on actual changes
Prevents onValueChange from firing during initialization, which
caused pushState errors before router was ready.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 05:02:56 -08:00
83b18645c8 fix: guard pushState until router is initialized 2025-12-01 04:59:16 -08:00