element-web/src/components/views/elements
David Baker ec4c7ffb71 Make ActiveWidgetStore clear persistent widgets
ActiveWidgetStore is now reponsible for removing the current
persistent widget from the store if it's been removed from whatever
room it was in. As per comment, this leaves us with the store updating
itself in this case but in all other cases, views call setters on the
store to update its state. We should make it so the store keeps itself
up to date and views aren't responsible for keeping the store up to date.

The store now emits events so it can notify PersistentApp when it changes.

Fixes https://github.com/vector-im/riot-web/issues/7076
2018-07-24 16:21:43 +01:00
..
AccessibleButton.js Merge branch 'develop' into dialog-a11y 2018-02-06 23:04:15 +01:00
ActionButton.js Add aria-labels to ActionButtons 2017-11-17 14:33:39 +01:00
AddressSelector.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
AddressTile.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
AppPermission.js Move WidgetUtils to utils dir 2018-06-26 11:59:16 +01:00
AppTile.js Destroy widget when its permission is revoked 2018-07-23 17:11:53 +01:00
AppWarning.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
CreateRoomButton.js Run eslint --fix 2017-10-11 17:56:17 +01:00
DeviceVerifyButtons.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
DialogButtons.js Add customisable cancel button to QuestionDialog 2018-05-22 15:45:58 +01:00
DirectorySearchBox.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
DNDTagTile.js Import react as React in src/components/views/elements/DNDTagTile.js 2018-06-06 17:59:50 +09:00
Dropdown.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
EditableItemList.js Fix room topics/names reseting when UserSetting re-renders 2018-06-28 18:11:52 +01:00
EditableText.js Fix room topics/names reseting when UserSetting re-renders 2018-06-28 18:11:52 +01:00
EditableTextContainer.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
EmojiText.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
Flair.js Fix linting 2018-01-19 14:07:13 +00:00
GeminiScrollbarWrapper.js Fix warning "Unknown prop wrappedRef on <div> tag..." 2018-04-05 17:39:25 +01:00
GroupsButton.js Remember to import React 2017-11-10 15:55:55 +00:00
HomeButton.js Run eslint --fix 2017-10-11 17:56:17 +01:00
ImageView.js point imports at the new locations 2018-04-13 00:43:44 +01:00
InlineSpinner.js move non-Riot-specific components over from riot-web 2018-04-11 23:58:04 +01:00
LanguageDropdown.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
ManageIntegsButton.js Pass room name. 2018-02-09 11:44:27 +00:00
MemberEventListSummary.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
MessageSpinner.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
PersistedElement.js Put always-on-screen widgets in top left 2018-07-12 18:43:49 +01:00
PersistentApp.js Make ActiveWidgetStore clear persistent widgets 2018-07-24 16:21:43 +01:00
Pill.js merge develop 2018-07-09 17:50:07 +01:00
PowerSelector.js Update PowerSelector to support powerLevelKey prop 2018-02-28 16:15:20 +00:00
ProgressBar.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
ReplyThread.js Take replies out of labs! 2018-06-20 09:57:11 +01:00
RoomDirectoryButton.js Run eslint --fix 2017-10-11 17:56:17 +01:00
SettingsButton.js Run eslint --fix 2017-10-11 17:56:17 +01:00
SettingsFlag.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
Spinner.js move non-Riot-specific components over from riot-web 2018-04-11 23:58:04 +01:00
StartChatButton.js Run eslint --fix 2017-10-11 17:56:17 +01:00
SyntaxHighlight.js move non-Riot-specific components over from riot-web 2018-04-11 23:58:04 +01:00
TagTile.js trigger TagTile context menu on right click 2018-06-18 22:13:20 +01:00
TintableSvg.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
TintableSvgButton.js Add a button to 'pop out' widgets in to their own tab. 2018-04-25 12:49:30 +01:00
ToolTipButton.js Add missing whitespace 2017-11-07 15:15:10 +00:00
TruncatedList.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
UserSelector.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00