Commit graph

39 commits

Author SHA1 Message Date
d6b868a9fd add auth store and update auth flow 2025-09-23 22:09:14 -07:00
838e09d17b add sidebar components for descriptions and details 2025-09-23 22:08:51 -07:00
9ed6a00f5f feat: auto-close sidebar on navigation
- Added beforeNavigate hook to close sidebar when navigating between pages
- Prevents search sidebar from staying open when browsing different sections
- Ensures clean UI state transitions between pages
2025-09-20 21:36:49 -07:00
fc711a7a5d feat: adapt SearchSidebar to use new sidebar system with component-based content 2025-09-20 12:54:18 -07:00
f5361c5ace fix: use close.svg icon directly in SidebarHeader for visibility 2025-09-20 12:49:37 -07:00
2cf29275b6 Fix database pages to use camelCase field names
- Update database grid navigation to use granblueId
- Update column definitions to use granblueId
- Fix all detail pages to use camelCase field names from transformed API responses
- Fix field names for HP/ATK stats, abilities, and metadata
2025-09-20 02:57:27 -07:00
100a04eda6 Fix adapter field names and runed import
- Update Party interface to use transformed field names (weapons/characters/summons)
- Fix runed import to use useDebounce instead of debounced
- Clean up debug logging
2025-09-20 02:26:54 -07:00
842321efd2 feat: Complete Phase 4 & 5 - Finish adapter migration
Phase 4 - Page Server Components:
- Migrated database page servers to use EntityAdapter directly
- Removed fetch parameter from all page server loads

Phase 5 - Utility Files:
- Deleted lib/api.ts (functionality inlined)
- Deleted lib/server/detail/load.ts (no longer needed)
- Updated DatabaseProvider to use PUBLIC_SIERO_API_URL directly
- Updated OAuth to use native fetch type

Migration Complete:
- All 32 files migrated from api/core to adapter pattern
- Zero remaining dependencies on lib/api/core
- Clean separation of concerns with dedicated adapters
2025-09-20 01:16:58 -07:00
8332ecc158 refactor: Complete Phase 3 - Migrate API route handlers from core to utilities
- Created dedicated utility functions for API route proxies (buildApiUrl, extractHeaders, handleApiError)
- Migrated all 20 API route handlers to use new utilities instead of api/core
- Routes continue to act as proxies to Rails API (correct architecture)
- Removed dependency on buildUrl from api/core in all route handlers
- Updated migration plan to reflect completed Phase 3
2025-09-20 01:11:08 -07:00
683c28e172 feat: Create UserAdapter and complete Phase 1 & 2 of migration
- Created new UserAdapter for user profile and favorites operations
- Updated routes/teams/explore and routes/[username] to use adapters directly
- Deleted resource facade files (parties.ts, grid.ts, users.ts)
- All services and initial routes now use adapters without backward compatibility
- Updated migration plan to track completed work
2025-09-20 00:42:13 -07:00
4f8beab3ea fix: Update PartyAdapter to match corrected API endpoints
- Remove non-existent batch update methods for grid items
- Add gridUpdate for atomic batch operations
- Add preview management methods
- Split job management into separate endpoints
- Update tests to match new API structure
2025-09-20 00:04:36 -07:00
5c8e23a38e Added editable mode to character detail 2025-09-17 22:15:24 -07:00
0e92b9baf5 small changes and fixes to character datagrid 2025-09-17 22:15:01 -07:00
b71c2c2109 Add role to summons and weapons detail pages 2025-09-17 22:14:42 -07:00
c09154b138 Remove test-ui route 2025-09-17 22:04:49 -07:00
94a3227632 dummy text for collection route 2025-09-17 21:50:23 -07:00
a0d9645385 Add placeholder route for guides 2025-09-17 21:49:57 -07:00
3eb00135f8 refactor database detail pages with new UI components 2025-09-17 13:42:48 -07:00
aa5d1d2c22 simplify database list pages 2025-09-17 13:42:22 -07:00
281a595eb3 update database layout with sidebar navigation 2025-09-17 13:42:02 -07:00
7c7ed8b579 chore: update dependencies and misc files 2025-09-17 10:48:15 -07:00
666109ef7d feat: enhance database pages with uncap columns 2025-09-17 10:45:44 -07:00
ff711331d4 feat: add uncap indicators to units and database 2025-09-17 10:43:32 -07:00
4910b263e1 Add detail pages for characters, weapons, summons 2025-09-17 07:13:36 -07:00
03be26395f Update database tables with icon columns and imports 2025-09-17 06:43:34 -07:00
034e8e48cd add database pages with svar grid 2025-09-17 05:32:38 -07:00
cc46a695d5 use visual segmented control in party views 2025-09-16 20:09:36 -07:00
ad2e04623f add parties list endpoint for explore page 2025-09-16 20:08:28 -07:00
16e18525da Fix drag-drop swapping
Add parent +server.ts files to fix routing conflicts
Pass actual target item IDs instead of placeholder strings
2025-09-16 17:19:26 -07:00
627989bea1 add ui component test page 2025-09-16 01:35:47 -07:00
da4c3d09f9 add grid api endpoints and services 2025-09-15 21:24:37 -07:00
1b6da60aa3 Add API client and resource modules 2025-09-15 04:04:09 -07:00
65411ad2ae Migrate teams route from [shortcode] to [id] 2025-09-15 04:03:52 -07:00
7cb055a79f Add tooltip support with bits-ui 2025-09-15 04:03:19 -07:00
ff64bc1562 Add rudimentary routes 2025-09-11 10:44:59 -07:00
8166ee31dd Re-export OAUTH_BASE from env var 2025-09-09 03:20:27 -07:00
f221c12f40 Starter routes (including login and logout) 2025-09-09 03:19:12 -07:00
76513f1fd5 Modified app-level files for auth 2025-09-09 03:18:37 -07:00
c360543d82 Init Svelte migration repo 2025-09-08 13:43:09 -07:00