discourse/app
Kane York c72bf1d732 FEATURE: Improvement to history stack handling on server errors
The exception page is shown before Ember can actually figure out what the final destination URL we're going to is.
This means that the new page is not present in the history stack, so if we attempt to use the history stack to go back, we will actually navigate back by two steps.
By instead forcing a navigation to the current URL, we achieve the goal of going "back" with no history mucking.

Unfortunately, the actual URL that was attempted is not available. Additionally, this only works for the on-screen back button and not the browser back.

Additionally, several modernizations of the exception page code were made.
2021-06-21 11:09:23 -07:00
..
assets FEATURE: Improvement to history stack handling on server errors 2021-06-21 11:09:23 -07:00
controllers FEATURE: Improvement to history stack handling on server errors 2021-06-21 11:09:23 -07:00
helpers PERF: Eager load Theme associations in Stylesheet Manager. 2021-06-21 11:06:58 +08:00
jobs PERF: Update post uploads secure status in a job (#13459) 2021-06-21 19:15:24 +03:00
mailers FIX: Remove List-Unsubscribe header if using group SMTP (#13448) 2021-06-21 09:33:32 +10:00
models PERF: Update post uploads secure status in a job (#13459) 2021-06-21 19:15:24 +03:00
serializers PERF: Cache categories in Site model take 2. 2021-06-21 09:47:05 +08:00
services FIX: Add word boundaries to replace and tag watched words (#13405) 2021-06-18 18:54:06 +03:00
views Code review comments. 2021-06-21 11:06:58 +08:00