Commit Graph

9 Commits

Author SHA1 Message Date
AudricV
a13b1d0ada
[Client] Remove localStorage requirement
As we use cookies for the game and that localStorage is only used to save the
theme set on the start page, it isn't needed to use it, as the dark theme would
be set as a fallback.

In order to show a cookies requirement message if they are disabled, we need to
remove the one of the localStorage, as when cookies access is disabled,
localStorage cannot be accessed.
2023-01-15 12:04:19 +01:00
03ce844c6a added listener to InterogationNextButton 2023-01-14 18:40:56 +01:00
403dbc5683 finished lobby 2023-01-11 12:12:40 +01:00
3728b2986f fixed copy clipboard 2023-01-11 09:20:47 +01:00
6059172c95 join game in js 2023-01-11 08:59:53 +01:00
1addd381a3 startgame in js 2023-01-10 13:34:47 +01:00
AudricV
298d0e3e34
[Client] Move theme setting to the start page
The theme setting is only used on this page right now, so it makes no sense to
include in other pages.
2023-01-09 10:59:47 +01:00
AudricV
12a0626d64
[Client] Add initial interactions on the game selection view
These interactions are checks of nickname and room code validity, where it is
relevant.

Also set a maximum room code length to 20 characters, at least for now.
2023-01-04 13:29:39 +01:00
AudricV
6a0d7547c2
[Client] Add game selection view to start page
Some changes in the existing code have been also made to avoid code duplication
and fix some issues.

Co-authored-by: Cazals Mathias <mathiascazals@users.noreply.github.com>
2023-01-03 17:01:17 +01:00