discourse/app/assets/javascripts
David Taylor f3cc294470
FIX: Avoid double-counting pageviews when navigating with loading spinner (#23107)
104baab5 fixed double-counted pageviews for the initial page load. Under the default 'loading slider' implementation, that resolved all the known problems.

However, under the 'loading spinner', there is an additional problem. In 'spinner' mode, each navigation within the JS app involves transitioning to an intermediate 'loading' route. Previously, this intermediate state was being treated as a separate page by the app, and so any ajax requests fired during it would be counted as a distinct pageview. One known case of this is the `/presence/get` request which is made when logged-in users visit a topic.

This commit updates the logic to ignore 'intermediate' transitions, and introduces regression tests for both the 'spinner' and 'slider' modes.
2023-08-15 22:30:37 +01:00
..
admin FIX: Display 'shown on X' user field flags (#23109) 2023-08-15 15:59:04 -05:00
bootstrap-json DEV: Fix ember-cli proxy assets (#22674) 2023-08-01 18:43:33 +01:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps): Bump a11y-dialog in /app/assets/javascripts (#23028) 2023-08-09 11:47:43 +02:00
discourse FIX: Avoid double-counting pageviews when navigating with loading spinner (#23107) 2023-08-15 22:30:37 +01:00
discourse-common DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
discourse-hbr Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
discourse-plugins Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
discourse-widget-hbs Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02: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
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
pretty-text DEV: move xss dependency into core (#23094) 2023-08-15 16:13:26 +01:00
select-kit FIX: Correct select-kit positioning strategy in modals (#23096) 2023-08-15 10:50:41 +01:00
truth-helpers Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
wizard Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23004) 2023-08-09 11:47:12 +02:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json Build(deps-dev): Bump patch-package in /app/assets/javascripts (#22844) 2023-07-28 00:58:36 +02:00
polyfills.js
service-worker.js.erb FIX: Attempt to reconnect to server when browser visibilty changes (#22259) 2023-06-23 11:32:34 -05:00
yarn.lock Build(deps-dev): Bump message-bus-client from 4.3.7 to 4.3.8 in /app/assets/javascripts (#23091) 2023-08-15 10:20:55 +08:00