mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-18 21:05:57 +00:00
eabb7011fb
If the user abandons the link after the API request delay (500 ms) but before the it resolves (~10e3 ms), then the preview shouldn't be rendered. Changes: * actions: Include the link in the FETCH_START, FETCH_FAILED, and FETCH_END actions. * reducers: If the active link has changed, then FETCH_END is a NOOP. Supporting changes: * reducers: Signal that a preview should be rendered and shown with preview.shouldShow. Change-Id: I3dd1c0c566ec63de515174c14845d7927583ce93 |
||
---|---|---|
.. | ||
ext.popups | ||
ext.popups.core.test.js | ||
ext.popups.desktopRenderer.test.js | ||
ext.popups.renderer.article.test.js | ||
ext.popups.schemaPopups.utils.test.js | ||
ext.popups.settings.test.js |