Roundup Tracker - Issues

Message8265

Author rouilj
Recipients rouilj
Date 2025-01-13.19:57:19
Message-id <1736798239.84.0.232503831801.issue2551389@roundup.psfhosted.org>
In-reply-to
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:19rouiljsetrecipients: + rouilj
2025-01-13 19:57:19rouiljsetmessageid: <1736798239.84.0.232503831801.issue2551389@roundup.psfhosted.org>
2025-01-13 19:57:19rouiljlinkissue2551389 messages
2025-01-13 19:57:19rouiljcreate