Jacob-Griffin / TelephonePictionary2.0

New version of blowyourfaceoff.com using more modern web technology than php and raw javascript
0 stars 0 forks source link

Access time of play during review #33

Closed Jacob-Griffin closed 4 months ago

Jacob-Griffin commented 5 months ago

From a question on the old game, we should be able to see when a game was played. I figure this isn't super pertinent information, so it can be a small and transient UI

Idea: An "info" icon that you can click on to get a modal with game "metadata". Current things that could be reasonable metadata to show

Jacob-Griffin commented 4 months ago

Step 1 complete: On completion of a game, the length of the rounds and the date of completion will be stored as metadata in firebase.

Step 2, when I get around to it: consume/present the metadata in the review page

Jacob-Griffin commented 4 months ago

Metadata modal added. Review page now displays the game id, with an 'info' icon next to it. Clicking the info icon brings up a modal listing when the game was played, and how long the rounds were. Dates are always formatted like Fri Mar 08 2024 @20:30:26 Pacific Standard Time and round lengths are X minutes, Y seconds, or X minutes, Y seconds depending on which is/are non-zero