Commit Graph

52 Commits

Author SHA1 Message Date
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
Syco 6f8f8ac03d api call cleanup 2026-03-27 20:54:28 +01:00
Syco cb5246610d Revert "change to /api"
This reverts commit 3996749ad8.
2026-03-27 20:01:27 +01:00
Syco 3996749ad8 change to /api 2026-03-27 19:57:29 +01:00
Syco d38b31d954 LXC Url 2026-03-27 19:44:27 +01:00
Syco 144845f32f Revert "added port"
This reverts commit 54d2380320.
2026-03-27 19:35:22 +01:00
Syco 1a0b980b49 Revert "updated api url"
This reverts commit be95e11fa0.
2026-03-27 19:35:13 +01:00
Syco 400c499cf2 Revert "url"
This reverts commit 4946dfadb3.
2026-03-27 19:34:50 +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 4946dfadb3 url 2026-03-27 19:14:02 +01:00
Syco be95e11fa0 updated api url 2026-03-27 19:12:14 +01:00
Syco 54d2380320 added port 2026-03-27 18:39:08 +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