mediawiki-extensions-Popups/tests/qunit
Sam Smith 0d300867ab Make API request after 500 ms
If the user has abandoned the link or dwelled on a different link, then
don't make the API request.

Changes:
* Fix a bug in the linkDwell reducer where the activeLink was always
  being set to undefined.
* Add the private fetch action creator.
* Make the linkDwell action dispatch the result of the fetch action
  creator after 500ms.

Supporting changes:
* Make the link* action creators take DOM elements rather than jQuery
  instances so that:
  1. Testing whether the state tree has changed is an identity
     comparison.
  2. jQuery instances are constructed only when required.
* Document the ext.popups.Gateway type.
* Document the Redux.Store type.
* Rename the "previews-page-title" data attribute to
  "page-previews-title" to avoid confusion.

Change-Id: I0b1cf3337a6f8d6450ad2bd127cb292ebb73af4f
2016-11-17 13:20:11 +00:00
..
ext.popups Make API request after 500 ms 2016-11-17 13:20:11 +00:00
ext.popups.core.test.js Add LINK_DWELL and LINK_ABANDON actions 2016-11-10 11:47:55 +00:00
ext.popups.desktopRenderer.test.js Directory structure should reflect the ResourceLoader definitions 2016-10-19 20:52:40 +00:00
ext.popups.renderer.article.test.js Remove optional survey link 2016-11-09 14:41:03 +00:00
ext.popups.schemaPopups.utils.test.js Hygiene: Rename getMassagedData to processHovercardEvent 2016-10-31 11:25:09 +00:00
ext.popups.settings.test.js Hovercards: Improve layout of settings dialog to design spec 2016-08-10 14:01:36 -04:00