Commit graph

15 commits

Author SHA1 Message Date
271dcb3c81 refactor: add wx-svelte-grid Cell type for database cells
Phase 2.2: Add proper type definitions for wx-svelte-grid
- Created Cell interface export in wx-svelte-grid declarations
- Updated all 9 database cell components to use Cell type
- Removed custom Props interfaces with loose IRow typing
- Improved IntelliSense support for grid component props

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 21:46:48 -08:00
654eabbeba fix: third-party library type issues
- remove unsupported class prop from bits-ui SelectPrimitive.Root
- add type assertion for RadioGroupPrimitive spread props (as any)
- remove wx-svelte-grid Cell import (not exported)
- simplify LastUpdatedCell props with index signature for grid props
2025-11-28 21:05:00 -08:00
16e24e337b fix: correct function signatures and remove redundant code
- DatabaseProvider.ts: Remove redundant normalizer check
  - Normalizer is applied by parent class, no need to apply twice
  - Fixes "Property 'normalizer' does not exist" error
- image.ts: Separate type and value exports for proper type resolution
- CharacterImageCell.svelte: Fix getCharacterImage parameter order
  - Changed (id, pose, variant) to (id, variant, pose)
- SearchContent.svelte: Fix getCharacterImage parameter order

Fixes ImageVariant type errors and property access errors.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 18:28:21 -08: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
0797892ea4 Fix last updated field to use camelCase field names 2025-09-20 02:47:08 -07:00
eaa9e1c847 Fix database pages and images
- Update DatabaseProvider to use SearchAdapter instead of direct fetch
- Fix RequestCache error by using cacheTTL instead of cache
- Update image cells to use shared image utilities with correct parameters
- Use only camelCase field names (granblueId) from transformed responses
2025-09-20 02:46:13 -07:00
6f9479f697 Fix double load 2025-09-19 13:59:55 -07:00
24bf7da892 CSS changes to DatabaseGridWithProvider 2025-09-17 22:15:57 -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
45f04c2593 Add row click navigation to database grids 2025-09-17 07:12:54 -07:00
d3d4b8a767 Fix grid styling with row height and vertical centering 2025-09-17 06:43:48 -07:00
30ab61fbc9 Add database cell components for icons and images 2025-09-17 06:43:03 -07:00
034e8e48cd add database pages with svar grid 2025-09-17 05:32:38 -07:00