Roundup Tracker - Issues

Issue 2551389

classification
Make webcomponent classhelper support reload/refresh
Type: behavior Severity: normal
Components: Web interface Versions:
process
Status: new
:
: : rouilj
Priority: :

Created on 2025-01-13 19:57 by rouilj, last changed 2025-01-13 19:57 by rouilj.

Messages
msg8265 Author: [hidden] (rouilj) Date: 2025-01-13 19:57
The webcomponent classhelper works well, but it is not backed by a URL. It's created
by javascript running in the main window.

When you refresh the classhelper (hitting F5 or ctrl-R) it produces a blank page
which makes sense as its URL is about:blank in chrome. The blank page confuses
users.

There should be some way to detect this and have the webcomponent redraw the
window contents. Maybe the main component can register for
https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event on the 
classhelper window. When the beforeunload event is received restore the window state
or restore to the original state.

Saving the current window state (search terms, current page ...) is required if
the user is to pick up where they left off. However if they are refreshing, maybe
they want to start new without the current state?
History
Date User Action Args
2025-01-13 19:57:19rouiljcreate