magneticstain / Inquisition

An advanced and versatile open-source network anomaly detection platform
MIT License
8 stars 4 forks source link

Pressing Back Button With Alerts in Celestial Does Not Change Content #157

Open magneticstain opened 5 years ago

magneticstain commented 5 years ago

The Alerts module in the Celestial UI is built such that whenever the sort order or number of results is changed, the page doesn't actually reload. However, the underlying JS mimics a reload: the content is updated, the URL is changed, and the new page is actually pushed to the history as if it were a new link.

However, one part that is faulty is the back button functionality. While it does get pushed to the history as intended, and the URL changes to the previous URL when pressing it, the content itself on the page is left unchanged. Instead, it should update to the appropriate configuration set in the URL.