Add alert to encrypted rooms with visible history (Android). (#5709)
* feat: Add visible history alert to encrypted rooms. - Adds a dismissable alert that is displayed whenever the user opens a room with `history_visibility` != `joined`. When cleared, this is recorded in the app's data store. - When opening a room with `history_visibility` = `joined`, this flag is cleared.` Issue: https://github.com/element-hq/element-meta/issues/2875 * chore: Fix linting issues. * feat: Move alert showing logic into state presenter. * chore: Fix linting issues. * tests: Fixup tests. * feat: Use real link. * chore: Update license header. * chore: Add (c) to license headers. * chore: Add `.` to license header. * feat: Lock alert behind history sharing developer setting. * ci: Trigger record screenshots * feat: Create repo key using session ID for multi-account support. * feat: Use session ID hash for constructing data store. * tests: Correct and update tests. * tests: Update snapshots. * feat: Prevent identity alert from displaying with history visibility alert. * feat: Tidy up HistoryVisibleStatePresenter logic, update previews. * chore: Remove unused import. * chore: Update screenshots. * feat: Add translation string. * chore: Remove redundant temporary translation file.
This commit is contained in:
parent
374c43794a
commit
d0ba02dd7e
32 changed files with 541 additions and 4 deletions
|
|
@ -97,6 +97,7 @@ class KonsistPreviewTest {
|
|||
"MessageComposerViewVoicePreview",
|
||||
"MessagesReactionButtonAddPreview",
|
||||
"MessagesReactionButtonExtraPreview",
|
||||
"MessagesViewWithHistoryVisiblePreview",
|
||||
"MessagesViewWithIdentityChangePreview",
|
||||
"PendingMemberRowWithLongNamePreview",
|
||||
"PinUnlockViewInAppPreview",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue