Commit Graph

11 Commits

Author SHA1 Message Date
Lukáš Kucharczyk 0f5067d66d Prevent HTMX from messing up the initial state 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk cabcaebead Fix form not syncing due to HTMX 2023-11-18 09:22:26 +01:00
Lukáš Kucharczyk d64ad125ff Improve and cleanup ConditionalElementHandler 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 7ba212e718 Add purchase types 2023-11-18 09:22:25 +01:00
Lukáš Kucharczyk 55ff3cd1a9 Pre-fill year when adding edition 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 5234e19705 Add hacky way to not reload page when starting/ending session
Partially fixes #52
2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk 077d8d1e3c Add time copy button, improve session editing 2023-11-18 09:20:54 +01:00
Lukáš Kucharczyk fb8fea4724 input datetime-local needs day to also be two digits 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