element-web/test
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
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600) 2022-11-21 11:24:59 +00:00
accessibility Apply prettier formatting 2022-12-12 12:24:14 +01:00
actions/handlers Apply prettier formatting 2022-12-12 12:24:14 +01:00
audio Apply prettier formatting 2022-12-12 12:24:14 +01:00
autocomplete Apply prettier formatting 2022-12-12 12:24:14 +01:00
components Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
contexts Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
editor Apply prettier formatting 2022-12-12 12:24:14 +01:00
events Merge branch 'develop' into weeman1337/prettier 2022-12-12 16:09:11 +01:00
hooks Apply prettier formatting 2022-12-12 12:24:14 +01:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Apply prettier formatting 2022-12-12 12:24:14 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models Honor font settings in Element Call (#9751) 2022-12-14 13:23:26 +00:00
modules Apply prettier formatting 2022-12-12 12:24:14 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Apply prettier formatting 2022-12-12 12:24:14 +01:00
setup Apply prettier formatting 2022-12-12 12:24:14 +01:00
stores 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
test-utils Don't double-add events to threads in tests (#9742) 2022-12-12 15:43:42 -07:00
toasts Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils 🧵 Enable threads by default (#9736) 2022-12-13 15:09:15 +00:00
voice-broadcast Implement small broadcast PiP (#9755) 2022-12-15 11:43:01 +00:00
Avatar-test.ts Ensure spaces in the spotlight dialog have rounded square avatars (#9480) 2022-10-24 08:58:36 +00:00
ContentMessages-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
createRoom-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
DecryptionFailureTracker-test.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
DeviceListener-test.ts Device manager - use deleteAccountData to prune device manager client information events (#9734) 2022-12-14 04:59:23 +00:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LegacyCallHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
linkify-matrix-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MatrixClientPeg-test.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
MediaDeviceHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
PosthogAnalytics-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
PreferredRoomVersions-test.ts Replace MSC3244 support with in-client room version checking (#9018) 2022-07-08 00:32:38 -06:00
Reply-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomNotifs-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ScalarAuthClient-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
SdkConfig-test.ts Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
setupTests.js Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SlashCommands-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SlidingSyncManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
theme-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Unread-test.ts Revert "Check each thread for unread messages. (#9723)" (#9745) 2022-12-13 14:59:52 +00:00
UserActivity-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useTopic-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00