mediawiki-extensions-Popups/tests/node-qunit
Svantje Lilienthal 09c2c52945 Added popup types handling
We added reference preview as a checkbox the the
anonymous user settings. To handle both popup types
(pages and references), we changed the usage of
preview.enabled. We pass on all types as a map
inside preview.enabled. The footer link to edit the
settings will appear for anonymous users if at least
one type is disabled.

Bug: T277639
Change-Id: I860a1b35ac7749d8d0884575f6acb7186ad8e4d0
2021-04-23 12:14:23 +02:00
..
changeListeners Added popup types handling 2021-04-23 12:14:23 +02:00
gateway Much more relaxed reference type detection 2021-02-22 11:55:03 +01:00
instrumentation Minor code cleanups, e.g. utilizing arrow functions 2020-10-30 11:31:12 +01:00
integrations Allow to disable/enable popup types individually 2021-04-15 11:30:36 +02:00
preview eslint: Update to 0.15.3 2020-04-25 22:32:53 +01:00
reducers Added popup types handling 2021-04-23 12:14:23 +02:00
ui Added popup types handling 2021-04-23 12:14:23 +02:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.2 2020-06-26 17:05:56 +01:00
actions.test.js Added popup types handling 2021-04-23 12:14:23 +02:00
bracketedPixelRatio.test.js build: Update linters 2018-09-11 10:26:35 -07:00
changeListener.test.js build: Update linters 2018-09-11 10:26:35 -07:00
container.test.js build: Update linters 2018-09-11 10:26:35 -07:00
counts.test.js eslint: Enforce template-curly-spacing 2019-08-15 10:24:43 +02:00
experiments.test.js build: Update eslint-config-wikimedia to 0.10.0 2019-01-31 11:05:33 +01:00
formatter.test.js Remove obsolete mediaWiki and jQuery aliases 2019-10-22 09:30:46 +02:00
getPageviewTracker.test.js Remove obsolete mediaWiki and jQuery aliases 2019-10-22 09:30:46 +02:00
integration.test.js Allow to disable/enable popup types individually 2021-04-15 11:30:36 +02:00
isPagePreviewsEnabled.test.js Clean up code enabling individual popup types 2021-04-21 19:38:25 +02:00
isReferencePreviewsEnabled.test.js Added popup types handling 2021-04-23 12:14:23 +02:00
previewBehavior.test.js Remove obsolete mediaWiki and jQuery aliases 2019-10-22 09:30:46 +02:00
run.js Use 6.1.0 of @wikimedia/mw-node-qunit 2019-10-22 10:42:49 -07:00
setUserConfigFlags.test.js Merge duplicate ReferencePreviews Beta feature flag 2021-04-21 10:46:05 +02:00
stubs.js Remove not needed userSettings.hasIsEnabled() 2021-04-08 11:57:52 +02:00
title.test.js Remove obsolete mediaWiki and jQuery aliases 2019-10-22 09:30:46 +02:00
userSettings.test.js Expand userSettings module for reference previews 2021-04-13 12:19:49 +02:00
wait.test.js Fix action reducer forgetting *all* duplicate dwell actions 2019-08-23 10:08:19 +02:00