-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show Encryption Authenticity warnings on messages in the timeline. #3051
Conversation
Generated by 🚫 Danger Swift against 93c1330 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few thoughts about the data below. Will take a look at the views separately.
ElementX/Sources/Services/Timeline/TimelineItemContent/RoomTimelineItemProperties.swift
Outdated
Show resolved
Hide resolved
ElementX/Sources/Services/Timeline/TimelineItemContent/MessageShield.swift
Outdated
Show resolved
Hide resolved
affbad7
to
fde64d4
Compare
Quality Gate passedIssues Measures |
314a763
to
aefe0bb
Compare
aefe0bb
to
b8306fd
Compare
b8306fd
to
60918a1
Compare
ElementX/Sources/Screens/RoomScreen/View/Style/TimelineItemSendInfoLabel.swift
Show resolved
Hide resolved
60918a1
to
9d67e4f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3051 +/- ##
===========================================
- Coverage 77.80% 77.78% -0.02%
===========================================
Files 713 714 +1
Lines 54994 55162 +168
===========================================
+ Hits 42786 42906 +120
- Misses 12208 12256 +48
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, lgtm! 👍
9d67e4f
to
93c1330
Compare
Quality Gate passedIssues Measures |
This PR adds warnings to the timeline items in encrypted rooms when the authenticity can't be validated. It is behind a feature flag and doesn't surface the error message, only an icon. The icons are subject to change.
Original
Adds message shields (lax mode) Depends on SDK change https://github.com/matrix-org/matrix-rust-sdk/pull/3679Design: https://www.figma.com/design/2aqj9A5WRvGY3tcdTrBek4/Unencrypted-message-warning-in-Timeline?node-id=910-77038&t=pF5GGduo3EsrFG2Q-0
Note for reviewer / Open questions
I need to add a new Icon to the Compound Icons (plain shield OFF mode - strike through)