Closed langford closed 3 years ago
I probably could fix this: I didn't really delve into the data model or history of how/why things were done after I established this behavior predated #125 yet though. I def saw the "infinite loop" prevention stuff and assumed there was a bit of complexity that went beyond the scope of #125.
This is not a bug but by design. The nomination log is ephemeral as it only tracks nominations that you've "witnessed" and like you said, even the ST will lose the log when they reload the page. I agree that the ST should still be able to clear the log, even after a reload, but for this purpose #121 should already solve that issue as well. So I don't see a need to implement this for now, especially given how contentious the addition of the vote log itself already is.
This is wonderful, all the fix with none of the effort. My offer remains open in the future if you need it..
Describe the bug If a player hard reloads the webpage, the nomination log (data) will disappear.
To Reproduce
Expected behavior I'd expect the nomination log to be synced more completely on a page refresh. I'm not talking about cheat prevention, that's futile in a world with screenshots. I'm just talking "everyone sees the same world".
I think this is especially problematic for the storyteller refreshing, as V/the nomination log indicator do not work if the nomination log length == 0, so they cannot send the "clear nomination log" message as they cannot get to the trash can button. Alternatively, making it so the ST at least can get to the button always would be a very fast fix.
Screenshots Can provide if this isn't obvious when testing #125
Desktop (please complete the following information):
Additional context I thought this was an issue with the nomination icon code, but upon further investigation, the bug predates any edits made to add that.