opensafely-core / airlock

Other
1 stars 0 forks source link

Prevent extraneous alerts stacking up #542

Closed evansd closed 1 month ago

evansd commented 1 month ago

To reproduce the original issue:

To my mind it's a slightly unusual use of the messages framework to set messages repeatedly on GET, based on the current state of the system. Normally, messages are set in response the changes of state, usually via a POST. But in any case, preventing this messages being set when the page is requested via HTMX solves the immediate issue.

Closes #464

evansd commented 1 month ago

Ah fine, OK – we're on the same page then (pun intended?). Happy to stay with the original hack and this workaround for now.