discourse/plugins/chat/assets/javascripts/discourse
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 FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components FIX: correctly recognizes URL with subfolder (#23173) 2023-08-21 22:12:05 +02:00
connectors DEV: makes user-card-chat-button uses glimmer (#22496) 2023-07-10 14:04:26 +02:00
controllers FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
helpers UX: implements draft threads (#21361) 2023-05-05 08:55:55 +02:00
initializers FIX: sets sidebar state on load (#23150) 2023-08-18 21:08:50 +02:00
lib FIX: correctly handles mobile and default (#23152) 2023-08-18 22:32:43 +02:00
models DEV: Remove unnecessary chat hashtag/mention transform JS (#23054) 2023-08-10 09:31:41 +02:00
modifiers/chat FIX: Resize-modifier event listener cleanup (#23166) 2023-08-21 14:14:52 +02:00
pre-initializers DEV: Added chat api to remove secondary actions (#21982) 2023-06-08 11:37:50 -03:00
routes DEV: Update replaceWith on Route (#23153) 2023-08-21 16:53:54 -05:00
services FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
templates FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
widgets FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
admin-chat-route-map.js
chat-route-map.js FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
preferences-chat-route-map.js