fimad / pifuxelck

A telephone drawing game.
https://everythingissauce.com
Apache License 2.0
5 stars 1 forks source link

Erratic history page behavior #45

Open mtkp opened 6 years ago

mtkp commented 6 years ago

In Chrome for mac, when scrolling to the bottom of the history page, the view and tiles jump around erratically for certain window dimensions. I can get it to reproduce consistently when the browser window is set to 1343x744, not sure if # of games in history matters.

Possibly related - there might be games missing from history. If I adjust the browser window so it scrolls through the history smoothly, with 6 tile rows, I count 114 games. But looking at the stats page, it shows I should have 130 or more.

numberten commented 6 years ago

@mtkp Games are loaded lazily. How are you counting 114, by hand?

numberten commented 6 years ago

Counting the number of objects in the local db .entities.history is giving me a number less than stats page reports as well.

440 reported, 447 according to stats.

numberten commented 6 years ago

And 444 games in the response from /api/2/games/summary...

fimad commented 6 years ago

Embarrassing....

Some source of discrepancies could be games that you started but everyone else got skipped. At one point I hid those in the UI.

I've also had problems with the lazy list competent I'm using on the history page hiding things before.