discourse/app/assets/javascripts
Bianca Nenciu 1d76c5ef5d
FIX: Store scroll position when using Back button (#16658)
For some pages, when navigating to a topic and then pressing the Back
browser button to go back to the topic list, the scroll position was
not preserved and the user was taken to the beginning of the list.

This happened because the application failed to detect when the user
used the Back button and whether the topic list should be fetch from
the cache or not. The scroll position is preserved only for cached
topic lists.

Other improvements:

* Improve isPoppedState

* Reset position for topic-lists from user-activity page

* Remove usage of jQuery

* Make sure the scrollTo function has effect

Follow up to 618a1ba571.
2022-05-10 19:18:55 +03:00
..
admin DEV: Remove last instance of {{with}} helper (#16651) 2022-05-05 06:16:34 -05:00
confirm-new-email
discourse FIX: Store scroll position when using Back button (#16658) 2022-05-10 19:18:55 +03:00
discourse-common DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
discourse-hbr DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
discourse-widget-hbs DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
docs
ember-addons
locales DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
pretty-text DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
select-kit DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
truth-helpers DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00
wizard DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
.licensee.json DEV: Add Ember CLI workspace license checks (#16603) 2022-05-03 13:06:19 -04:00
.npmrc
activate-account.js
admin-plugins.js.erb FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
admin.js FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00
app-boot.js DEV: Disallow Ember global usage (#16147) 2022-03-09 17:54:07 +01:00
application.js DEV: Make screen-track a regular service (#14983) 2021-11-17 20:56:06 +01:00
auto-redirect.js
browser-detect.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
browser-update.js UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00
discourse-loader.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
discourse-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
embed-application.js
ember_include.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
ember_jquery.js
env.js
google-tag-manager.js
google-universal-analytics-v3.js
google-universal-analytics-v4.js
handlebars-shim.js
main_include_admin.js DEV: Remove old backup uploader and resumable.js (#15365) 2021-12-21 15:02:10 +10:00
markdown-it-bundle.js
onpopstate-handler.js
package.json
polyfills.js DEV: Add polyfill for String.prototype.replaceAll (#16301) 2022-03-28 17:18:56 +01:00
pretty-text-bundle.js DEV: Remove deprecated pretty-text functions/file (#16397) 2022-04-06 22:48:50 +02:00
print-page.js
service-worker.js.erb FIX: Disable service worker proxying in chrome 97-97.0.4692 (#15638) 2022-01-18 19:41:25 +00:00
set-prototype-polyfill.js
start-discourse.js
template_include.js
test-shims.js FIX: Ember test imports, again (#16203) 2022-03-16 17:12:15 +01:00
vendor-common.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
vendor-theme-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
vendor.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
widget-runtime.js
wizard-application.js
wizard-shims.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
wizard-start.js
wizard-vendor.js FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
yarn.lock DEV: Update ember-try to 2.0.0 (#16606) 2022-05-03 11:04:16 -04:00