domjudge icon indicating copy to clipboard operation
domjudge copied to clipboard

Reloading contest page does not reload button state

Open eldering opened this issue 10 months ago • 2 comments

Description of the problem

https://onlinejudge.icpc.global/jury/contests/3

Your environment

DOMjudge wfluxor-online branch, but pretty sure it's the same on current main.

Steps to reproduce

  1. Open https://onlinejudge.icpc.global/jury/contests/3 or a similar contest URL.
  2. Open in a separate window https://onlinejudge.icpc.global/jury/contests/3/edit
  3. On the edit page, change the Enable public scoreboard setting.
  4. Reload the first window (on Firefox with Linux, I use ctrl+R or F5).

Expected behaviour

I expect to see the changed state of the Enable public scoreboard setting reflected on the first page, but I don't. Only when I go to the URL bar and press enter there, I do see the change. The same is true for the contests overview page.

This is very confusing.

eldering avatar Apr 14 '24 13:04 eldering

Huh this is weird. How does a refresh not update this…. I will investigate

nickygerritsen avatar Apr 14 '24 13:04 nickygerritsen

I can't seem to reproduce this locally...

nickygerritsen avatar May 21 '24 00:05 nickygerritsen