Commit graph

115 commits

Author SHA1 Message Date
fd172e6558 test: Add comprehensive tests for grid and entity adapters
- Add tests for GridAdapter covering weapons, characters, and summons
- Add tests for EntityAdapter covering canonical data access
- Test CRUD operations, positioning, uncap updates, and caching
- Verify snake_case transformation and error handling
- Ensure proper cache management with TTL support
2025-09-20 00:19:00 -07:00
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
ea00cecd68 build: add runed dependency for reactive state management 2025-09-19 23:03:22 -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
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
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
be2f723962 Remove everything in stories folder for now 2025-09-17 22:08:19 -07:00
3e7ccf8fdb Refactored Button component 2025-09-17 22:06:45 -07:00
c09154b138 Remove test-ui route 2025-09-17 22:04:49 -07:00
7fb9ef2d9a Tweaked CSS variables
Added some new variables for elevation, rounder corners, and tweaked some other things
2025-09-17 22:04:26 -07:00
be09e67d42 added methods for getting options from type utils 2025-09-17 21:51:26 -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
bab0ce2a06 Add new icons 2025-09-17 21:49:45 -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
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
4910b263e1 Add detail pages for characters, weapons, summons 2025-09-17 07:13:36 -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
03be26395f Update database tables with icon columns and imports 2025-09-17 06:43:34 -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