mediawiki-extensions-Popups/resources
Sam Smith e4719c4918 Don't hide preview if it's interacted with
Action creator changes:
* Make the linkAbandon action creator asynchronous by splitting it into
  two distinct actions, LINK_ABANDON_START and _END, the latter of which
  is dispatched after a 300 ms delay.
* Introduce the previewDwell and previewAbandon action creators. The
  latter is an asynchronous action that mirrors the linkAbandon action.

Reducer changes:
* Make the LINK_DWELL, LINK_ABANDON_END, and PREVIEW_ABANDON_END action
  hide a preview, if one has been shown.
* Make the LINK_ABANDON_END action NOOP if:
  * The user has interacted with another link, or
  * The user is interacting with the preview.

Supporting changes:
* Update the mw.popups.reducers#preview and #renderer unit tests to use
  an empty previous state so that the tests are more resilient to
  modifications of the state tree.

Change-Id: I2ecf575bbb59bb64772f75da9b5a29c071b46a8d
2016-11-28 17:15:37 +00:00
..
ext.popups Don't hide preview if it's interacted with 2016-11-28 17:15:37 +00:00
ext.popups.core Visual design tweaks 2016-11-25 08:02:45 +00:00
ext.popups.desktop Render cleaner last modified timestamp 2016-11-28 15:05:31 +00:00
ext.popups.images Hovercards: Improve layout of settings dialog to design spec 2016-08-10 14:01:36 -04:00
ext.popups.lib Use Redux and Redux Thunk 2016-11-08 15:33:20 -05:00
ext.popups.schemaPopups Hygiene: Rename getMassagedData to processHovercardEvent 2016-10-31 11:25:09 +00:00
ext.popups.schemaPopups.utils Hygiene: Rename getMassagedData to processHovercardEvent 2016-10-31 11:25:09 +00:00