-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Show a blue lock for unencrypted rooms and hide the grey shield for encrypted rooms #30440
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
1424c00
Show a blue lock instead of a grey shield for unencrypted rooms
langleyd 611fb97
Merge branch 'develop' into langleyd/update_composer_encrpytion_icon
langleyd c14dd4b
Update screenshots and snapshot
langleyd 503a20a
Merge branch 'develop' of github.com:vector-im/element-web into langl…
langleyd a73c8f4
Merge branch 'develop' of github.com:vector-im/element-web into langl…
langleyd 8b2fb8d
Update snapshots and fix e2e test that used to expect the grey shield
langleyd 2fcad9f
lint and add tests for shield
langleyd 0ac912a
Update more screen shots
langleyd 6ae8649
finish unit test for left icon
langleyd 8ecd9fe
Merge branch 'develop' into langleyd/update_composer_encrpytion_icon
langleyd db1bb65
Remove unneeded check
langleyd 0d1fe35
Merge branch 'langleyd/update_composer_encrpytion_icon' of github.com…
langleyd 3575fa6
Don't bother adding stray props to E2EIcon for data-testid
langleyd 1189f99
Upate snapshots
langleyd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-268 Bytes
playwright/snapshots/crypto/crypto.spec.ts/composer-e2e-icon-normal-linux.png
Binary file not shown.
Binary file modified
BIN
+173 Bytes
(100%)
.../room-list.spec.ts/room-list-item-open-notification-options-selection-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-220 Bytes
(99%)
...snapshots/polls/polls.spec.ts/ThreadView-with-a-poll-on-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-208 Bytes
(99%)
.../snapshots/polls/polls.spec.ts/ThreadView-with-a-poll-on-group-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+336 Bytes
(100%)
...easeAnnouncement.spec.ts/release-announcement-All-new-pinned-messages-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-193 Bytes
(99%)
...snapshots/threads/threads.spec.ts/Initial-ThreadView-on-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-214 Bytes
(99%)
.../snapshots/threads/threads.spec.ts/Initial-ThreadView-on-group-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-215 Bytes
(99%)
...snapshots/threads/threads.spec.ts/Reply-to-the-location-on-ThreadView-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-195 Bytes
(99%)
....spec.ts/ThreadView-with-reaction-and-a-hidden-event-on-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-209 Bytes
(99%)
...s.spec.ts/ThreadView-with-reaction-and-a-hidden-event-on-group-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-194 Bytes
(99%)
...ds/threads.spec.ts/ThreadView-with-redacted-messages-on-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-209 Bytes
(99%)
...ads/threads.spec.ts/ThreadView-with-redacted-messages-on-group-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+252 Bytes
(100%)
...hots/timeline/timeline.spec.ts/collapsed-gels-and-messages-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+233 Bytes
(100%)
...ight/snapshots/timeline/timeline.spec.ts/collapsed-gels-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+235 Bytes
(100%)
...wright/snapshots/timeline/timeline.spec.ts/configured-room-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+252 Bytes
(100%)
...s/timeline/timeline.spec.ts/event-line-inline-start-margin-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+279 Bytes
(100%)
playwright/snapshots/timeline/timeline.spec.ts/event-tiles-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+231 Bytes
(100%)
...snapshots/timeline/timeline.spec.ts/event-tiles-compact-modern-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+250 Bytes
(100%)
playwright/snapshots/timeline/timeline.spec.ts/event-tiles-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+243 Bytes
(100%)
playwright/snapshots/timeline/timeline.spec.ts/event-tiles-modern-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+261 Bytes
(100%)
...shots/timeline/timeline.spec.ts/expanded-gels-and-messages-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+250 Bytes
(100%)
...right/snapshots/timeline/timeline.spec.ts/expanded-gels-bubble-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+271 Bytes
(100%)
...ht/snapshots/timeline/timeline.spec.ts/expanded-gels-emote-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+252 Bytes
(100%)
playwright/snapshots/timeline/timeline.spec.ts/expanded-gels-irc-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+230 Bytes
(100%)
...right/snapshots/timeline/timeline.spec.ts/expanded-gels-modern-layout-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+251 Bytes
(100%)
...apshots/timeline/timeline.spec.ts/expanded-gels-redaction-placeholder-linux.png
Oops, something went wrong.
Binary file modified
BIN
+227 Bytes
(100%)
...ots/timeline/timeline.spec.ts/hidden-event-line-padding-modern-layout-linux.png
Oops, something went wrong.
Binary file modified
BIN
+241 Bytes
(100%)
...s/timeline/timeline.spec.ts/hidden-event-line-zero-padding-irc-layout-linux.png
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Lack of ellipsis here isn't great, makes it look broken. Not a new issue though
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.
Hrmm the problem here is that it's a contenteditable div, so we are adding the placeholder text ourself in the css.
We do this by setting width and height to 0 and overflow: visible, so that the cursor is on the left of the placeholder, rather than pushed to the end.
This is then incompatible with getting the ellipsis to work. Not sure I see an alternative path forward.