element-web/src/components/structures
Travis Ralston 95d15b7863 Fix tinting of notification icon and use a more reliable notification source
The js-sdk's placement of the notification change was unreliable and could cause stuck notifications. The new location (piggybacking the Notifier) is a lot more reliable.

The tinting has been changed fairly invasively in order to support the changing of the `fill` attribute. What was happening before was the `fill` property would happily get set to the forced color value, but when it came time to reset it it wouldn't be part of the colors array and fail the check, therefore never being changed back. By using a second field we can ensure we are checking the not-forced value where possible, falling back to the potentially forced value if needed. 

In addition to fixing which color the Tinter was checking against, something noticed during development is that `this.colors` might not always be a set of hex color codes. This is problematic when the attribute we're looking to replace is a rgb color code but we're only looking at `keyHex` - the value won't be reset. It appears as though this happens when people use custom tinting in places as `this.colors` often gets set to the rgb values throughout the file. To fix it, we just check against `keyHex` and `keyRgb`.
2018-12-06 22:26:51 -07:00
..
login Use sensible logging 2018-11-27 13:41:34 -07:00
BottomLeftMenu.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
CompatibilityPage.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
ContextualMenu.js fix lint 2018-07-09 20:11:17 +01:00
CreateRoom.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
FilePanel.js given we also want to hide widget events, hide all except m.room.message 2018-06-16 19:52:15 +01:00
GroupView.js Only mark group as failed to load for summary 2018-12-04 18:32:16 -06:00
HomePage.js Add visible guest warning to encourage login 2018-11-06 21:08:57 +01:00
InteractiveAuth.js Be more positive in property naming 2018-11-16 12:15:44 -07:00
LeftPanel.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
LoggedInView.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
LoginBox.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
MatrixChat.js Merge remote-tracking branch 'origin/develop' into dbkr/e2e_backups 2018-10-29 16:20:45 +00:00
MessagePanel.js allow read receipts without an existing member in MessagePanel 2018-10-10 16:15:20 +02:00
MyGroups.js specify unique key to make react happy 2018-06-15 18:55:37 +01:00
NotificationPanel.js Dramatically simplify use of mx_fadable 2017-10-25 15:15:49 +01:00
RightPanel.js Fix tinting of notification icon and use a more reliable notification source 2018-12-06 22:26:51 -07:00
RoomDirectory.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
RoomStatusBar.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
RoomSubList.js Move pinned rooms check to the RoomListStore 2018-10-12 14:35:54 -06:00
RoomView.js Merge remote-tracking branch 'upstream/develop' into hs/upload-limits 2018-12-01 16:24:43 +00:00
ScrollPanel.js Make sure to proxy special prop ref 2018-03-27 13:04:26 +01:00
SearchBox.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
TagPanel.js also show spinner on new CATCHUP state 2018-08-30 15:39:48 +02:00
TimelinePanel.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
UploadBar.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
UserSettings.js Merge pull request #2169 from matrix-org/dbkr/e2e_backups 2018-11-21 18:37:43 +00:00
ViewSource.js eslint --fix src/ 2018-10-26 22:50:38 -05:00