element-portable/src/components/views
David Baker 94125fb566 Fix widgets re-appearing after being deleted
Widgets would sometimes briefly re-appear after having been deleted.
This was because of the following race:
 * User presses delete, send POST req, we set `deleting`. Widget hides.
 * POST request completes, we unset `deleting` so widget unhides.
 * State event comes down sync so widget hides again.

This fixes this by introducing `waitForRoomWidget` and using it to
wait until the state event comes down the sync until clearing the
`deleting` flag.

Since we now have `waitForRoomWidget`, this also uses it when adding
a widget so the 'widget saved' appears at the same time the widget
does.
2018-06-13 15:50:19 +01:00
..
avatars tell eslint to ignore viewAvatarOnClick being unused 2018-05-06 00:22:14 +01:00
context_menus improve wording 2018-04-27 11:26:42 +01:00
create_room Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
dialogs Merge pull request #1923 from matrix-org/rxl881/devTools 2018-05-24 18:10:59 +01:00
directory point imports at the new locations 2018-04-13 00:43:44 +01:00
elements Fix widgets re-appearing after being deleted 2018-06-13 15:50:19 +01:00
globals Update cookie bar wording 2018-05-24 16:58:14 +01:00
groups Remove GroupStore listener when unmounting GroupPublicityToggle 2018-05-01 11:50:14 +01:00
login fix paths and updateCheckStatusEnum 2018-04-13 16:49:59 +01:00
messages Align pinned message contents and reduce image size 2018-05-26 18:40:48 -06:00
room_settings guard against m.room.aliases events with no keys (redaction?) 2018-02-02 08:12:56 +00:00
rooms Merge pull request #1933 from turt2live/travis/pin-cosmetics 2018-06-08 16:46:33 +01:00
settings point imports at the new locations 2018-04-13 00:43:44 +01:00
voip missing semicolon 2018-02-07 11:51:41 +00:00