Go to file
Sam Smith eabb7011fb Don't always render after the API request resolves
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
2016-11-25 12:42:02 +00:00
doc Link Previews -> Page Previews 2016-11-18 09:51:06 +00:00
i18n Remove mobile support 2016-11-08 09:32:04 +00:00
images Directory structure should reflect the ResourceLoader definitions 2016-10-19 20:52:40 +00:00
resources Don't always render after the API request resolves 2016-11-25 12:42:02 +00:00
tests Don't always render after the API request resolves 2016-11-25 12:42:02 +00:00
.gitignore Add composer.json 2015-11-19 14:30:20 +01:00
.gitreview Make mpga the default branch for git-review 2016-11-08 21:00:21 +00:00
.jscsrc Enable Redux DevTools in debug mode 2016-11-09 10:38:20 +00:00
.jshintignore Update linting and enable command line QUnit 2016-11-08 13:56:17 -05:00
.jshintrc Enable Redux DevTools in debug mode 2016-11-09 10:38:20 +00:00
composer.json build: Updating development dependencies 2016-01-05 10:39:25 -08:00
COPYING Add COPYING file 2014-02-06 15:38:46 +05:30
extension.json Render previews 2016-11-24 18:07:03 +00:00
Gemfile Update mediawiki_api gem to 1.7.1 2016-05-26 01:34:35 +02:00
Gruntfile.js Add LINK_DWELL and LINK_ABANDON actions 2016-11-10 11:47:55 +00:00
jsduck.json Setup jsduck to run on 'npm run doc' 2015-08-03 15:54:25 +05:30
package.json Update linting and enable command line QUnit 2016-11-08 13:56:17 -05:00
Popups.hooks.php Add gateway 2016-11-11 18:59:44 +00:00
Popups.php Add extension.json, empty php entry point 2015-07-02 22:19:24 +00:00