Commit Graph

24 Commits

Author SHA1 Message Date
Syco f24bd7a93b Fetch image_ids lazily with first image, remove from initial cards load
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:18:04 +02:00
Syco 42d1981da9 Fix TDZ crash: compute card inside effect instead of depending on external const
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:14:42 +02:00
Syco 74e903775a Fix TDZ crash: move expandedCard declaration before useEffect that references it
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:08:40 +02:00
Syco afd02a91ed Add artwork switcher: arrow buttons cycle through multiple card artworks
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:03:13 +02:00
Syco 90932964a5 Structural cleanup
ci/woodpecker/push/woodpecker Pipeline was successful
- Rename src/store/ -> src/context/ (store implies Redux, this is React Context)
- Rename services/api.jsx -> api.js (file contains no JSX)
- Delete unused Vite boilerplate: src/assets/, App.css
- Update all imports accordingly
2026-05-15 21:34:51 +02:00
Syco 6c8f2d86d6 Move DB version/import to top bar, increase row spacing
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:22:53 +02:00
Syco ff48ec8af0 Apply Design A: dark theme, type badges, code cleanup
ci/woodpecker/push/woodpecker Pipeline was successful
Visual:
- Dark theme throughout (#111 bg, #1c1c1c panels, #2a2a2a borders)
- Type badges with color: Monster=orange, Spell=green, Trap=purple
- Owned count shown as ×3 (highlighted) or — (dimmed)
- Printing column headers in CardRow
- Card detail panel: type badge, attribute, race, level stars

Cleanup:
- Replace index.css (was Vite boilerplate) with dark base + shared CSS classes
  (.card-row-header:hover, .filter-chip, .icon-btn, modal styles)
- Clear App.css (Vite boilerplate, unused)
- Remove Footer.css (modal styles consolidated into index.css)
- Extract useDebounce to src/hooks/useDebounce.js
- Remove react-window (installed but never used)
- App.jsx: remove unnecessary wrapper div
- gitignore: add mockups/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:19:05 +02:00
Syco a0240499e8 Add filters, stats bar, and fix bugs
ci/woodpecker/push/woodpecker Pipeline was successful
- FilterBar: type chips (Monster/Spell/Trap), owned-only toggle, sort by name/most-owned
- Stats bar: cards in DB, unique owned, total copies
- Card detail panel: type, race, attribute, level/link stars from existing data
- useMemo for filtered+sorted card list (was re-sorting every render)
- Footer: refresh card list after successful full import
- PrintingRow: remove broken custom memo comparator (was comparing static DB field)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 21:06:12 +02:00
Syco be58034440 maybe? 2026-03-29 20:44:21 +02:00
Syco 9f97dd9721 claude fix 2026-03-29 20:37:36 +02:00
Syco 25c0b1faa0 Revert "fix?"
This reverts commit 42e3620603.
2026-03-29 20:34:04 +02:00
Syco 8327e1a300 Revert "fixfix?"
This reverts commit 0ec22cbdc8.
2026-03-29 20:34:00 +02:00
Syco 0ec22cbdc8 fixfix? 2026-03-29 20:32:56 +02:00
Syco 42e3620603 fix? 2026-03-29 20:31:38 +02:00
Syco eaa0c9b0e0 name 2026-03-29 19:30:14 +02:00
Syco 4757cf47c0 update reference 2026-03-29 19:21:27 +02:00
Syco f78402e021 Footer 2026-03-29 19:15:13 +02:00
Syco d38b31d954 LXC Url 2026-03-27 19:44:27 +01:00
Syco 022d1fc110 Revert "change to APIBase"
This reverts commit 7d3d96c158.
2026-03-27 19:34:30 +01:00
Syco 7d3d96c158 change to APIBase 2026-03-27 19:18:40 +01:00
Syco 7f5dcac1c3 optimization
Virtualization for the card list -> Faster loading when searching
2026-03-25 20:05:14 +01:00
Syco 3ce4d206d7 before optimization 2026-03-25 19:42:42 +01:00
Syco fda3e3ecbf change amount + pictures 2026-03-14 23:54:37 +01:00
Syco 2c72b8f47d updated file structure 2026-03-14 22:24:59 +01:00