discourse/app/assets/javascripts/admin/addon
Isaac Janzen 3eb8046dde
DEV: Update replaceWith on Route (#23153)
# Context
This PR was originally implemented in https://github.com/discourse/discourse/pull/22645 then reverted in https://github.com/discourse/discourse/pull/22693. We protect from aborted transition when _awaiting_ on `replaceWith` by utilizing [followRedirects()](https://api.emberjs.com/ember/5.1/classes/Transition/methods/followRedirects?anchor=followRedirects)

# Description
Per https://deprecations.emberjs.com/v3.x/#toc_routing-transition-methods

We are upgrading all `this.replaceWith` calls on routes to directly call the router service (`this.router.replaceWith`)
2023-08-21 16:53:54 -05:00
..
adapters DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
components FIX: Display 'shown on X' user field flags (#23109) 2023-08-15 15:59:04 -05:00
controllers DEV: Convert penalize-user modal to component-based API (#22960) 2023-08-14 13:02:54 -05:00
helpers DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
lib DEV: Add support for uploads to form templates (#22232) 2023-06-28 12:49:05 -07:00
mixins DEV: Convert site-setting-default-categories modal to component-based API (#22968) 2023-08-10 10:31:34 +01:00
models DEV: Add endpoint for dismissing outdated translations (#22509) 2023-07-19 23:06:13 +08:00
routes DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
services DEV: Convert penalize-user modal to component-based API (#22960) 2023-08-14 13:02:54 -05:00
templates DEV: Introduce declarative hide-application-footer helper (#23088) 2023-08-17 12:47:08 +01:00