cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.98k stars 891 forks source link

Fix api key and status "caching" inside admin panel #200

Open cydrobolt opened 8 years ago

cydrobolt commented 8 years ago

When user information is edited through the "API Info" modal (e.g API status, API key), those changes aren't reflected when someone closes the modal and reopens it. We should somehow remember those recent changes to avoid this problem. Because the modal is deleted after each close, a new modal is created each time based on the API status and key provided on page load rather than the up-to-date API key or status.

A potential solution would be to hide the modal without closing it in order to preserve the newly changed information, or to pull the information each time the modal is created.

overint commented 8 years ago

duplicate of #146

ashazar commented 7 years ago

Changes applied to the user view automatically now.

ashazar commented 7 years ago

TODO: