lukas
49601bb4fc
feat(utils): add label_with_details helper
...
Builds a "Name (detail, detail)" label from a name plus optional
details, dropping falsy parts and omitting the parentheses entirely
when none remain. Extracted to deduplicate the "filter present parts,
join, wrap in parens" idiom that several model display properties share.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-21 19:48:34 +02:00
lukas
36b1382015
Fix code smells
2026-06-06 08:15:19 +02:00
lukas
d101aecd70
Move from HTML templates to pure Python
...
Remove cruft
2026-06-06 07:51:10 +02:00
lukas
89de85c00d
Introduce game status, playevents
Django CI/CD / test (push) Successful in 1m10s
Django CI/CD / build-and-push (push) Successful in 2m21s
2025-03-22 20:59:23 +01:00
lukas
843eed64d6
Add search field to game list
Django CI/CD / test (push) Successful in 1m7s
Django CI/CD / build-and-push (push) Successful in 2m1s
2025-02-10 18:20:46 +01:00
lukas
c2853a3ecc
purchases can now refer to multiple editions
...
Django CI/CD / test (push) Successful in 1m3s
Django CI/CD / build-and-push (push) Successful in 2m36s
allows purchases to be for more than one game
2025-01-08 21:00:19 +01:00
lukas
5c5fd5f26a
truncate: strip trailing whitespace
2024-11-13 21:07:26 +01:00
lukas
7181b6472c
fix mistakenly hardcoded value in truncate()
2024-11-13 21:06:52 +01:00
lukas
0759ad0804
make purchase price a float
2024-10-16 17:45:23 +02:00
lukas
b0b1bb2d42
add icon field to platform, use everywhere
2024-10-16 17:45:23 +02:00
lukas
58cfaca1a9
add table header actions
Django CI/CD / test (push) Successful in 1m3s
Django CI/CD / build-and-push (push) Successful in 2m23s
2024-09-08 21:03:37 +02:00
lukas
5eee7176d4
add streak-releted basic functionality
2024-09-04 21:58:56 +02:00
lukas
4358708262
add links to add a new X to: game, edition, purchase, session, device, platform
Django CI/CD / test (push) Successful in 55s
Django CI/CD / build-and-push (push) Successful in 1m57s
2024-09-03 15:48:58 +02:00
lukas
e067e65bce
linkify game, edition, purchase, session references
...
Django CI/CD / test (push) Successful in 1m0s
Django CI/CD / build-and-push (push) Has been cancelled
also add link styles for links in a table row
2024-09-02 20:04:21 +02:00
lukas
b8258e2937
replace slippers with django-cotton
...
Django CI/CD / test (push) Successful in 59s
Django CI/CD / build-and-push (push) Successful in 2m4s
main reason: slippers cannot pass request via context inside its
components, making it annoying to use template takes that take request.
more reasons: not actively worked on, no named slots, having to define
components in components.yaml + new components do not get registered
without restarting server
2024-09-02 17:43:41 +02:00
lukas
3099f02145
list editions
2024-08-11 20:21:27 +02:00
lukas
25deac6ea9
add more types
2024-08-08 21:19:43 +02:00
lukas
44c70a5ee7
Formatting
Django CI/CD / test (push) Successful in 1m21s
Django CI/CD / build-and-push (push) Successful in 1m57s
2024-06-03 18:19:11 +02:00
lukas
dc1a9d5c4f
Make sure attribute chains are evaluated safely
2024-05-30 14:26:38 +02:00
lukas
c52cd822ae
Use safe_division in more places
2023-11-09 10:06:14 +01:00