1
0
Commit Graph

38 Commits

Author SHA1 Message Date
3dad5d33f3
fix persistence banner not showing up 2026-03-11 19:18:23 +01:00
5064e3856f
allow persisting in every browser 2026-03-11 18:25:42 +01:00
11bda1d8a4
replace safari persiting popup with dedicated component 2026-03-11 02:14:05 +01:00
2068c26011
add icons to session list buttons 2026-03-11 00:18:18 +01:00
d3ed57227e
display warning that rules only affect new games 2026-03-10 20:56:56 +01:00
eb20849bd8
make main buttons redraw syncronously
By main buttons I mean the "new game", "they win" and "we win" buttons.
They have in common that they scroll to the bottom of the view, to make
sure the user can immediately see their effect.

This change fixes two bugs:

1. The scrolling did not work reliably. While it would always scroll a
   bit, it would usually not go to the bottom exactly. This meant that
   most of the time the bottom digits were only half visible. Now it
   scrolls reliably all the way.

2. When hitting the win buttons in rapid succession it was possible to
   trigger both within a single redraw cycle. This caused the UI to set
   a single rounds winner to both teams, which the round model rightly
   rejected. Now, by the time the second event is registered, the button
   has already been disabled, or the round been replaced by a new one.
2026-03-10 00:40:02 +01:00
85b7c1530c
add key to sessions list 2026-03-09 21:35:43 +01:00
0b539b910f
ask for confirmation before deleting sessions 2026-03-09 21:28:03 +01:00
5fbcee89ee
clean up leftover CSS refactor styles 2026-03-09 21:22:32 +01:00
eebaaa7f0e
add no sessions message 2026-03-09 21:20:45 +01:00
cfcc0017aa
actually implement splash screens
I forgot to commit the style sheet before.
2026-03-09 21:02:50 +01:00
9561d7a05f
implement session deletion button in session list 2026-03-09 20:49:49 +01:00
1ef08a29a4
implement splash screen 2026-03-09 20:47:21 +01:00
ca0f9f3f3a
switch to material icons 2026-03-07 17:13:11 +01:00
aa7fdfff11
improve info page a bit 2026-03-07 15:47:20 +01:00
05df37bf06
add info page 2026-03-05 22:14:21 +01:00
8ac6f8fede
redesign session list 2026-03-05 02:51:51 +01:00
32ab7594f1
refactor style sheets 2026-03-05 01:55:45 +01:00
f9d33b746f
style session rules 2026-03-03 23:21:45 +01:00
d74c9ed798
only show rules button if necessary 2026-03-03 21:36:24 +01:00
e0ede4a503
refactor styles to make further additions easier 2026-03-03 20:29:04 +01:00
ff753f2e2f
switch session list to new localized terminology 2026-03-03 01:59:05 +01:00
7e7410a406
improve design of session view
This improves the design of the session view a lot. However, several
things still need to be done:

1. The rules section is not styled.

2. The session list is not styled.

3. The design is not responsive yet. This will take longer, as the base
   view will need to be overhauled substantially to take advantage of
   wider screens.

4. A light mode needs to be added.
2026-03-03 01:45:14 +01:00
d4536aadc1
allow editing session head data 2026-03-02 22:12:23 +01:00
8a1140688e
improve in-memory change handling
The base view now does a better job at keeping the sessions list up to
date with the current session, without having to reload it all the time.

The purpose of this is to be able to show the list and the current
session at the same time, and keep them in sync without polling the
database.
2026-03-01 03:14:00 +01:00
de0fc8c917
enable history navigation
The previous implementation only looked at the URL (and state) during
initialization. This allowed users to open a specific session via URL
(e.g. when reloading the page).

History navigation, however, was completely ignored. I.e. if the user
pressed the back button the URL would change, but the content would
remain the same.

This has now been corrected.
2026-03-01 02:28:47 +01:00
53e3b2539a
switch UI to time ordered session list 2026-02-27 23:28:54 +01:00
4e9d35178a
make opening sessions by query param possible
Specific sessions can now be opened by setting a query param to their
id. This is needed to allow users to reload the page without being
kicked out to the session selection.
2026-02-27 00:08:18 +01:00
b9ed3ed37f
refactor to allow use of routing 2026-02-22 15:18:34 +01:00
dbe20d548d
switch over to mithril fragment method 2026-02-22 12:51:44 +01:00
bb3ad61950
make import paths absolute 2026-02-22 12:51:28 +01:00
7df55afd1a
move game points into name cell 2026-02-18 19:21:14 +01:00
eba36600b9
make session UI somewhat nice 2026-02-18 19:01:14 +01:00
0cc3c991e5
restructure basic UI for better semantics 2026-02-18 19:01:10 +01:00
979dfb9b08
make basic UI fully functional 2026-02-18 19:01:03 +01:00
a961c87e96
basic session selector 2026-02-17 21:31:33 +01:00
ff04d19185
make basic ui remember one session 2026-02-17 00:38:53 +01:00
624063b91e
implement very basic UI 2026-02-15 22:31:36 +01:00