Commit Graph

66 Commits

Author SHA1 Message Date
Syco 1a545d3a8f Optimistic updates for +/- buttons, UI responds instantly
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-16 02:14:18 +02:00
Syco d0817c7476 Group set cards by name with expandable rarity rows
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-16 02:08:46 +02:00
Syco 1b91a0cc3c Add Sets page, React Router navigation, collection export, and README
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-16 00:51:45 +02:00
Syco 6aa3dcf41b Improve search: normalize punctuation, token matching, 1-char typo tolerance
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:47:44 +02:00
Syco 3dd3c13c4b Enlarge sheet handle hitbox and pill size
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:45:24 +02:00
Syco 100235ca8a Fix swipe: use passive:false addEventListener on handle to bypass scroll interception
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:44:11 +02:00
Syco 7cc3f2521c Fix swipe-to-dismiss: use ref to persist touch start Y across events
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:41:48 +02:00
Syco cddd1b7b6e Fix sheet handle visibility
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:39:33 +02:00
Syco 26c5c119f0 Make bottom sheet swipeable down to dismiss
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:37:34 +02:00
Syco a4014182a0 Add mobile layout: full-width list with bottom sheet card detail
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 22:33:39 +02:00
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 e589b18a0b Zebra stripe printing rows (#161616 / #1e1e1e)
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 21:28:04 +02:00
Syco f65a2841da Replace zebra bg with border separator on printing rows
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 21:26:17 +02:00
Syco 5eaa5b126a Zebra stripe printing rows for visual separation
ci/woodpecker/push/woodpecker Pipeline was successful
2026-05-15 21:24:42 +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 8c14b69d41 gap 2 2026-03-29 20:59:54 +02:00
Syco 37fc5f481a increase gap 2026-03-29 20:58:38 +02:00
Syco c969d08eb5 aaaaaalmost 2026-03-29 20:57:07 +02:00
Syco 36217a3f26 almost there 2026-03-29 20:55:25 +02:00
Syco 2e138b8996 maybe 2 2026-03-29 20:54:05 +02:00
Syco 62662eefb3 almost there 2026-03-29 20:52:38 +02:00
Syco 2ee30baa25 uhh 2026-03-29 20:48:16 +02:00
Syco be58034440 maybe? 2026-03-29 20:44:21 +02:00
Syco 615b3f3dbb b Right 2026-03-29 20:42:44 +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 bf699eb3dc footer fix 2026-03-29 20:27:48 +02:00
Syco c27684ef34 footer 2026-03-29 20:16:29 +02:00
Syco b4f629ee8d Reapply "modal"
This reverts commit 48354897b6.
2026-03-29 20:10:35 +02:00
Syco 23bc51b5b1 Revert "-"
This reverts commit d44026f44f.
2026-03-29 20:10:32 +02:00
Syco d44026f44f - 2026-03-29 20:09:54 +02:00
Syco 48354897b6 Revert "modal"
This reverts commit b824720758.
2026-03-29 20:07:09 +02:00
Syco b824720758 modal 2026-03-29 20:06:32 +02:00
Syco 1cf472c8ea adjust footer 2026-03-29 20:02:46 +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 080620a35c change column layout 2026-03-27 21:46:18 +01:00
Syco 74303b5e75 add set code 2026-03-27 21:38:38 +01:00
Syco bb42109c32 fix total amount 2026-03-27 21:28:44 +01:00
Syco 9f9e6ec86c /api 2026-03-27 20:58:30 +01:00