discourse/app/assets/javascripts
David Taylor d589c4c47f
DEV: Refactor DiscourseURL redirects (#24372)
Previously this was being handled in two places:

1. As a monkey-patch to the Ember router. This would 'trick' the router into rendering a different route, but would leave the browser URL bar unchanged. Many possible bugs can come from this state

2. In the DiscourseURL.routeTo function. This functioned fine as a redirect, but wouldn't have any effect when the transition is handled by Ember

This commit refactors things so that the DiscourseURL redirects are handled the same as our permalinks. When the Ember 'unknown' route is hit, we check for a possible rewrite and redirect there. This is a supported way of doing things, and should be more robust going forwards.
2023-11-14 20:30:01 +00:00
..
admin FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
bootstrap-json DEV: Simplify ember-cli proxy strategy (#24242) 2023-11-10 11:16:06 +00:00
confirm-new-email
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps-dev): Bump the types group (#24281) 2023-11-07 22:43:42 +01:00
discourse DEV: Refactor DiscourseURL redirects (#24372) 2023-11-14 20:30:01 +00:00
discourse-common Build(deps): Bump the babel group (#24310) 2023-11-10 00:00:05 +01:00
discourse-hbr Build(deps): Bump the babel group (#24310) 2023-11-10 00:00:05 +01:00
discourse-i18n DEV: Simplify I18n shim check (#24244) 2023-11-06 16:54:39 +00:00
discourse-markdown-it DEV: Modernise highlightjs loading (#24197) 2023-11-10 20:39:48 +00:00
discourse-plugins DEV: Simplify ember-cli proxy strategy (#24242) 2023-11-10 11:16:06 +00:00
discourse-widget-hbs Build(deps): Bump the babel group (#24310) 2023-11-10 00:00:05 +01:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
float-kit Build(deps): Bump the babel group (#24310) 2023-11-10 00:00:05 +01:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
patches DEV: remove @ember/jquery in favor of just jquery (#24034) 2023-10-25 10:14:50 +01:00
pretty-text DEV: Modernise highlightjs loading (#24197) 2023-11-10 20:39:48 +00:00
select-kit FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
theme-transpiler DEV: Support legacy precompiler paths in theme compiler (#24329) 2023-11-10 10:37:50 +00:00
truth-helpers Build(deps): Bump the babel group (#24310) 2023-11-10 00:00:05 +01:00
wizard DEV: allows to wrap wizard checkbox with outlet (#24334) 2023-11-13 14:02:14 -05:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
handlebars-shim.js
package.json DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
polyfills.js
run-patch-package DEV: Automatically retry patch-package on failure (#23583) 2023-09-14 12:25:06 +01:00
service-worker.js.erb FIX: Ensure service-worker cache is cleaned correctly (#23204) 2023-08-23 13:58:32 +01:00
yarn.lock Build(deps): Bump ember-route-template in /app/assets/javascripts (#24353) 2023-11-14 13:06:53 +01:00