You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the user unchecks "This is a trusted device", the storage is cleaned up on logout. However, the whole controlbox is lost in the process, making the whole Web UI empty, i.e. the whole login screen disappears.
To Reproduce
Steps to reproduce the behavior:
Uncheck "This is a trusted device"
Logout
UI is empty
Expected behavior
Login screen should appear again.
Screenshots
Completely blank UI, so no screenshot needed.
Environment (please complete the following information):
Desktop
Latest Firefox.
Converse.js 10.1.5
Additional context
I spent some time debugging this, and I found that commenting out the following lines resolves the issue:
It looks like the clearStore function in skeletor is supposed to take the filter into consideration, and only clean up the boxes that are not filtered out. However, it calls this._reset() which deletes all models, making the controlbox disappear when the UI is later updated.
Yes I think it's correct. I think the fix is to update clearStore in Skeletor to pass the filtered out model(s) to this.reset() so that those models are kept.
Describe the bug
When the user unchecks "This is a trusted device", the storage is cleaned up on logout. However, the whole controlbox is lost in the process, making the whole Web UI empty, i.e. the whole login screen disappears.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login screen should appear again.
Screenshots
Completely blank UI, so no screenshot needed.
Environment (please complete the following information):
Additional context
I spent some time debugging this, and I found that commenting out the following lines resolves the issue:
It looks like the
clearStore
function inskeletor
is supposed to take the filter into consideration, and only clean up the boxes that are not filtered out. However, it callsthis._reset()
which deletes all models, making the controlbox disappear when the UI is later updated.Is my reasoning correct?
My configuration:
The text was updated successfully, but these errors were encountered: