mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 11:46:55 +00:00
c823a0e6cb
Whe user moves mouse away and we abort the http request we shouldn't count that request as a FETCH_FAILED. The reasoning behind is that FETCH_FAILED state increments the counter.PagePreviewsApiFailure. Our StatsD graph gets polluted with lots of aborted requests and it becomes unsuable. It doesn't show only the failed requests. Changes: - introduced new state: FETCH_ABORTED - switch to FETCH_ABORTED when browser aborts the request Bug: T199482 Change-Id: I58047eb80f0700b78b2991daff9395ecc92553b8 |
||
---|---|---|
.. | ||
changeListeners | ||
gateway | ||
instrumentation | ||
integrations | ||
preview | ||
reducers | ||
ui | ||
actions.js | ||
actionTypes.js | ||
changeListener.js | ||
constants.js | ||
container.js | ||
counts.js | ||
experiments.js | ||
formatter.js | ||
getPageviewTracker.js | ||
index.js | ||
isEnabled.js | ||
previewBehavior.js | ||
title.js | ||
userSettings.js | ||
wait.js |