discourse/app/assets/javascripts/admin/addon/routes
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
..
admin-badges DEV: Convert badge-preview modal to component-based API (#22969) 2023-08-14 12:33:45 -05:00
admin-api-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-api-keys-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys-new.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-api-keys.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-backups-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-backups-logs.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-backups.js DEV: Convert start-backup modal to component-based API (#22812) 2023-08-01 08:40:25 -05:00
admin-badges.js DEV: Update /admin/badges to modern Ember patterns (#17672) 2022-08-03 10:12:17 +01:00
admin-customize-colors-show.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-colors.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-style-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-style-index.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-email-style.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-templates-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-email-templates.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-customize-form-templates-edit.js DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
admin-customize-form-templates-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-customize-robots-txt.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-themes-edit.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-themes-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-customize-themes-show.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-customize-themes.js DEV: Convert install-theme modal to component-based API (#22939) 2023-08-03 10:52:04 -05:00
admin-dashboard-general.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-dashboard-reports.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-dashboard.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-bounced.js DEV: Convert admin-incoming-email modal to component-based API (#22701) 2023-07-20 16:31:20 -05:00
admin-email-incomings.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-logs.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-preview-digest.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-received.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-rejected.js DEV: Convert admin-incoming-email modal to component-based API (#22701) 2023-07-20 16:31:20 -05:00
admin-email-sent.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-email-skipped.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-embedding.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-emojis.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-flags-posts-active.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-flags-posts-old.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-flags-topics-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-logs-screened-emails.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-screened-ip-addresses.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-screened-urls.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-logs-staff-action-logs.js FIX: Staff action log could not be accessed via link (#22688) 2023-07-19 11:40:48 +01:00
admin-permalinks.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-plugins.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-reports-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-reports-show.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-route-map.js DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
admin-search-logs-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-search-logs-term.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-settings-category.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-settings-index.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-site-settings.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-text-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-site-text-index.js FEATURE: Warn about outdated translation overrides in admin dashboard (#22384) 2023-07-10 10:06:40 +08:00
admin-user-badges.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user-fields.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user-index.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user-tl3-requirements.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-user.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-users-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-users-list-index.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-users-list-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-users-list.js DEV: Update transitionTo on Route (#22644) 2023-07-18 14:52:55 -05:00
admin-watched-words-action.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-watched-words-index.js DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
admin-watched-words.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks-edit.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks-show.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin-web-hooks.js DEV: Update admin routes to native class syntax (#20686) 2023-03-15 13:17:51 +00:00
admin.js DEV: Introduce declarative hide-application-footer helper (#23088) 2023-08-17 12:47:08 +01:00