Commit graph

80 commits

Author SHA1 Message Date
49fc0fb069 feat: Implement GridAdapter and EntityAdapter
- Add GridAdapter for managing user grid item instances
- Support CRUD, position management, and uncap operations
- Add EntityAdapter for read-only canonical game data
- Separate user instances from game reference data
- Export all adapters from index
2025-09-20 00:11:51 -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
114427241f feat: Implement PartyAdapter with comprehensive functionality
- Add PartyAdapter for party CRUD and grid management
- Create reactive PartyResource with optimistic updates
- Support user parties listing with filters
- Handle grid conflicts and job updates
- Include comprehensive test coverage
2025-09-19 23:19:24 -07:00
20c6de3834 docs: add search example component demonstrating adapter usage
- Create comprehensive example showing search functionality
- Demonstrate filtering, debouncing, and error handling
- Show proper integration with Svelte 5 reactive patterns
2025-09-19 23:07:24 -07:00
99e58d0b3c feat: add reactive search resource using Svelte 5 runes
- Create SearchResource class with reactive state management
- Implement debounced search using Runed utilities
- Support concurrent searches for different entity types
- Add request cancellation and state management
- Include tests for resource functionality
2025-09-19 23:06:59 -07:00
ece44a54a3 feat: add search adapter for entity searches
- Implement SearchAdapter extending BaseAdapter
- Support searching weapons, characters, and summons
- Add filtering by element, rarity, proficiency, etc.
- Include pagination support
- Add comprehensive test coverage
2025-09-19 23:06:46 -07:00
51c30edc50 feat: implement base adapter with retry logic and caching
- Add BaseAdapter class with request/response transformation
- Implement comprehensive error handling and normalization
- Add retry logic with exponential backoff for network/server errors
- Support request cancellation and deduplication
- Include response caching with configurable TTL
- Add full test coverage for adapter functionality
2025-09-19 23:03:36 -07:00
6f9479f697 Fix double load 2025-09-19 13:59:55 -07:00
a642cdd857 fix: linter fixes 2025-09-17 22:16:10 -07:00
24bf7da892 CSS changes to DatabaseGridWithProvider 2025-09-17 22:15:57 -07:00
5c407f3ef7 Small changes to Navigation 2025-09-17 22:15:37 -07:00
a8dfe28b07 added details components for database section 2025-09-17 22:14:19 -07:00
bca4843885 Refactored Select component 2025-09-17 22:10:38 -07:00
5466a70916 Refactored Input component 2025-09-17 22:08:37 -07:00
3e7ccf8fdb Refactored Button component 2025-09-17 22:06:45 -07:00
be09e67d42 added methods for getting options from type utils 2025-09-17 21:51:26 -07:00
54491b1158 add detail UI components and uncap utility 2025-09-17 13:39:28 -07:00
0b771fc405 enhance navigation with database submenu 2025-09-17 13:39:15 -07:00
a5ffdcb68a add arrow icons 2025-09-17 13:38:47 -07:00
7c7ed8b579 chore: update dependencies and misc files 2025-09-17 10:48:15 -07:00
0bab6e0d7e refactor: restructure party component layout 2025-09-17 10:47:59 -07:00
e4c59e14f6 feat: add grid API endpoints and drag-drop support 2025-09-17 10:46:49 -07:00
666109ef7d feat: enhance database pages with uncap columns 2025-09-17 10:45:44 -07:00
6f428f2aa3 refactor: migrate UI components to inline styles 2025-09-17 10:44:52 -07:00
ff711331d4 feat: add uncap indicators to units and database 2025-09-17 10:43:32 -07:00
9764c80771 fix: add X-Per-Page header for database pagination 2025-09-17 10:41:56 -07:00
45f04c2593 Add row click navigation to database grids 2025-09-17 07:12:54 -07:00
6b5f2b4868 Add race and gender utility mappings 2025-09-17 07:12:37 -07:00
5c814b8054 Add database provider for REST API integration 2025-09-17 06:44:07 -07:00
d3d4b8a767 Fix grid styling with row height and vertical centering 2025-09-17 06:43:48 -07:00
78a617db0e Use local square images instead of hotlinking 2025-09-17 06:43:20 -07:00
30ab61fbc9 Add database cell components for icons and images 2025-09-17 06:43:03 -07:00
d262eba8b2 Create element and proficiency label components 2025-09-17 06:42:45 -07:00
2cf3c2067e Add element and proficiency utility mappings 2025-09-17 06:42:28 -07:00
76bad64ece add database link to navigation for role 7+ 2025-09-17 05:33:30 -07:00
7538b5ae04 add api endpoints for database items 2025-09-17 05:33:10 -07:00
034e8e48cd add database pages with svar grid 2025-09-17 05:32:38 -07:00
1c5caccf5e fix ui components svelte 5 compatibility 2025-09-16 20:10:04 -07:00
cc46a695d5 use visual segmented control in party views 2025-09-16 20:09:36 -07:00
acf49c718c refactor rep components to accept flexible props 2025-09-16 20:09:20 -07:00
fed7b5ae50 implement visual party segmented control 2025-09-16 20:08:57 -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
888e53fa62 add drag-drop support with API integration
- created drag-drop composable with touch/mouse support
- added DraggableItem and DropZone components
- integrated grids with drag-drop functionality
- added API endpoints for position updates and swaps
- handles cross-container dragging for all grid types
2025-09-16 03:45:22 -07:00
1d0495f1f2 Add drag-drop system for grids
- Core composable with touch support & operation queue
- DraggableItem & DropZone components
- Proper position mapping for containers
- Cross-container swap/move operations
- Visual feedback states

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 02:43:58 -07:00
627989bea1 add ui component test page 2025-09-16 01:35:47 -07:00
dc9898f334 add segmented control / tabs component 2025-09-16 01:34:29 -07:00
1b0294a683 add switch and checkbox components 2025-09-16 01:34:06 -07:00
205e1045a6 add select component with bits-ui 2025-09-16 01:33:46 -07:00
7f7661f542 add input component built on bits-ui 2025-09-16 01:33:24 -07:00