element-web-Github/res/css/views/messages
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
..
_CallEvent.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_common_CryptoEvent.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_CreateEvent.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_DateSeparator.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_DecryptionFailureBody.pcss Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
_DisambiguatedProfile.pcss Override the disambiguated profile colour in percy tests for screenshot consistency (#9161) 2022-08-10 07:20:29 +00:00
_EventTileBubble.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_HiddenBody.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_JumpToDatePicker.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_LegacyCallEvent.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MediaBody.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_MEmoteBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_MessageActionBar.pcss 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
_MessageTimestamp.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_MFileBody.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MImageBody.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MImageReplyBody.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_MJitsiWidgetEvent.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MjolnirBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_MLocationBody.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_MNoticeBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_MPollBody.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MStickerBody.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00
_MTextBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_MVideoBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_ReactionsRow.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_ReactionsRowButton.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_RedactedBody.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_RoomAvatarEvent.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_TextualEvent.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_UnknownBody.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_ViewSourceEvent.pcss Disallow invalid inline style comments in stylesheets (#9099) 2022-07-27 14:39:29 +01:00