discourse/app/assets/javascripts/discourse
Arpit Jalan 9db83c37e4
FIX: When creating new message via URL do not redirect (#27153)
* FIX: When creating new message via URL do not redirect

If a user clicks on `/new-message` route from inside the instance we're
redirecting the user to `/latest` page which is only intended if the
user is coming from an external site. This commit checks for this
condition and only redirects when user is coming from external source.

This also makes the behavior consistent with `new-topic` route.

Internal topic reference: `/t/-/129523/`
2024-05-24 17:25:37 +05:30
..
app FIX: When creating new message via URL do not redirect (#27153) 2024-05-24 17:25:37 +05:30
config DEV: Unsilence header-related deprecations (#26173) 2024-03-14 11:03:03 +00:00
lib DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00
public/assets/scripts DEV: Improve built-in browser performance marks/measurements (#26758) 2024-05-02 23:07:36 +01:00
scripts FEATURE: Add experimental tracking of 'real browser' pageviews (#26647) 2024-04-25 11:00:01 +01:00
tests FIX: correctly generate pm path on user (#27152) 2024-05-23 11:17:43 +02:00
.ember-cli DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
.watchmanconfig DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
ember-cli-build.js Revert "DEV: @babel/plugin-proposal-decorators -> decorator-transforms (#25290)" (#26971) 2024-05-10 12:48:16 +01:00
package.json Build(deps-dev): Bump sass from 1.77.1 to 1.77.2 (#27078) 2024-05-20 07:02:02 +08:00
testem.js DEV: Restore qunit 'tap' reporter, but collapse verbose output in CI (#26484) 2024-04-03 10:22:20 +01:00