element-web/res/css/views/rooms
Faye Duxovni 4724506320
Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544)
* Improve decryption error UI by consolidating error messages and providing instructions when possible

* Fix TS strict errors

* Rename .scss to .pcss

* Avoid accessing clipboard, Cypress doesn't like it

* Display DecryptionFailureBar alongside other AuxPanel bars

* Add comments

* Add small margin off-screen for visible decryption failures

* Fix some more TS strict errors

* Add unit tests for DecryptionFailureBar

* Add button to resend key requests manually

* Remove references to matrix-js-sdk crypto internals

* Add hysteresis to visible decryption failures

* Add comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Add comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Don't create empty div if we're not showing resend requests button

* cancel updateSessions on unmount

* Update unit tests

* Fix lint and implicit any

* Simplify visible event bounds checking

* Adjust cypress test descriptions

* Add percy snapshots

* Update src/components/structures/TimelinePanel.tsx

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Add comments on TimelinePanel IState

* comment

* Add names to percy snapshots

* Show Resend Key Requests button when there are sessions that haven't already been requested via this bar

* We no longer request keys from senders

* update i18n

* update expected text in cypress test

* don't download keys ourselves, update device info in response to updates from client

* fix ts strict errors

* visibledecryptionfailures undefined handling

* Fix implicitAny errors

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-15 17:24:33 +00:00
..
wysiwyg_composer Apply prettier formatting 2022-12-12 12:24:14 +01:00
_AppsDrawer.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_Autocomplete.pcss
_AuxPanel.pcss
_BasicMessageComposer.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_DecryptionFailureBar.pcss Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
_E2EIcon.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_EditMessageComposer.pcss
_EmojiButton.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_EntityTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_EventBubbleTile.pcss Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
_EventTile.pcss Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
_HistoryTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_IRCLayout.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_JumpToBottomButton.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_LinkPreviewGroup.pcss
_LinkPreviewWidget.pcss
_LiveContentSummary.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MemberInfo.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MemberList.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MessageComposer.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MessageComposerFormatBar.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_NewRoomIntro.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_NotificationBadge.pcss
_PinnedEventTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_PresenceLabel.pcss
_ReadReceiptGroup.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RecentlyViewedButton.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_ReplyPreview.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_ReplyTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomBreadcrumbs.pcss
_RoomCallBanner.pcss Align video call icon with banner text (#9460) 2022-10-19 19:11:13 +00:00
_RoomHeader.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomInfoLine.pcss Fix the size of the 'Private space' icon (#9638) 2022-11-28 23:22:52 -05:00
_RoomList.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomListHeader.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomPreviewBar.pcss
_RoomPreviewCard.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomSublist.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomUpgradeWarningBar.pcss
_SearchBar.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_SendMessageComposer.pcss
_Stickers.pcss
_ThreadSummary.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_TopUnreadMessagesBar.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_VoiceRecordComposerTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_WhoIsTypingTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00