Lukáš Kucharczyk
c4fdefadb0
Order purchases by date on game view
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
7ba212e718
Add purchase types
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
f0822ff221
Make sure empty stats are 0
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
200819ceb0
Change stats years to 2000 up to current year
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
87f50cedd2
Fix ordering
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
cbf872d21f
Also prefill year between game and edition
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
fa6ac21b42
Adding new games is easier
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
01ce582b74
Refactor, remove cruft
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
827279fb3d
Add backlog decrease count
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
68d1bfc2b9
UX improvements
...
* ignore English articles when sorting names
* added a new sort_name field that gets automatically created
* automatically fill certain values in forms:
* new game: name and sort name after typing
* new edition: name and sort name when selecting game
* new purchase: platform when selecting edition
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
06a4319623
Use safe_division in more places
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
cb99d8b656
Fix potential division by zero
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
b8df870cca
Add more stats
...
* Finished (count)
* Unfinished (count)
* Refunded (count)
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
7781efd849
Add more stats
...
* All finished games
* All finished 2023 games
* All finished games that were purchased this year
* Total sessions
* Days played
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
5e6a5a4024
simplify playtime range display
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
1d0bafd72d
Make some pages redirect back instead to session list
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
db9ac2edeb
Add more stats
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
2076fe20d1
Extend stats range to 2018
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
ff30962ce9
Remove cruft
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
d06e284426
Group by game instead of purchase
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
1f36a32b3d
Reorder imports in views.py
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
8ca62f32e3
Make navigation more compact
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
5bc04c463a
Add stats link, year selector
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
0130ab0059
Limit stats of single year correctly
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
ade8a47c86
Add yearly stats page
...
Fixes #15
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
4dd6f13160
Add a button to start session from game overview
...
Fix #62
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
e1848caee9
Display durations in a consistent manner
...
Fixes #61
2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk
693e1b1cd3
Add edit buttons to game overview, notes
2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk
caa2ae06e1
Improve game overview
...
- add counts for each section
- add average hours per session
2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk
36f80b7f01
Remove unused chart functionality
2023-11-18 09:22:24 +01:00
Lukáš Kucharczyk
470426004e
Fix session being wrongly considered in progress
...
Fixes #58
2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk
3e04ef2b83
Fix date range on game overview
2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk
ac1f86cac3
Add game overview page
...
Fixes #8
2023-11-18 09:21:40 +01:00
Lukáš Kucharczyk
077d8d1e3c
Add time copy button, improve session editing
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk
8ba5344a4d
Fix bug when filtering only manual sessions ( #51 )
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk
9b1f4e95e0
disable deleting sessions in code
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk
a9c3e93954
Change recent session view to current year
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk
2b9f321edf
Improve forms, add helper buttons on add session form
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk
56ffde8402
Sync game name and edition name fields for QOL
2023-11-18 09:20:24 +01:00
Lukáš Kucharczyk
38b25ff27e
Allow editing filtered entities from session list
2023-11-18 09:20:24 +01:00
Lukáš Kucharczyk
376beea02f
Fix error when generating charts with less than 2 entries
2023-11-18 09:20:23 +01:00
Lukáš Kucharczyk
5e54871374
Allow filtering by game, edition, purchase from the session list
2023-11-18 09:20:23 +01:00
Lukáš Kucharczyk
a05e0e0fa3
Allow editing editions
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
d2455ec82a
Allow editing purchases
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
f0e307dcfb
Fix session starting
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
f8844ce091
Add support for device info
...
Closes #49
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
d447302b46
Re-introduce index view
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
812f74d79f
Add support for game editions ( #28 )
2023-11-18 09:20:11 +01:00
Lukáš Kucharczyk
c61891cff4
Fix redirect to index
2023-11-18 09:19:59 +01:00
Lukáš Kucharczyk
6790c434f7
Order homepage sessions from newest
2023-11-18 09:19:59 +01:00