* Add empty state view for `HomeSpacesView`
This links to the create space flow, and has an 'explore public spaces', hidden for now.
* Make sure we display the empty view if the 'create spaces' FF is enabled
Also, remove the tab and navigate to the chats tab if the FF is disabled and the last space is left
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
The EXA side of element-hq/element-meta#2877: if the keys for a message have been forwarded by another user, indicate that in the UI via the text shown when tapping the event shield.
* Allow creating a space with `CreateRoomParameters`
* Add 'Create space' menu item in the spaces home screen. Also, imports new strings related to spaces.
* Link the 'Create space' button with the screen to create the space
* Unify room access and visibility for `ConfigureRoom`, use the updated design
* Fix `EditRoomDetails` avatar size (68dp)
* Replace `EditableAvatarView` and `UnsavedAvatar` copmonents with `AvatarPickerView`
* `AvatarDataFetcherFactory`: Make sure we use a fallback image fetcher when the URL is not an MXC one (a local one, i.e.). This removes the previous need for a separate `UnsavedAvatarView`
* Use `AvatarPickerView` in all the screens where `EditableAvatarView` was used
* Improve naming and previews
* Update strings, remove unused ones for `RoomAccessItem`
* Make `isSpace` part of the `CreateRoomConfig`
* Ensure the content fits in the screenshots for `AvatarPickerSizesPreview`
* Add `AvatarDataFetcherFactoryTest`
* Add new feature flag for creating spaces
* Fix ripple being too large for the `Pick` state
* Tweak margins and section titles a bit
* Add preview for `HomeTopBar` with the spaces case
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
* A11Y: ensure a11y focus is not lost and reset to the back button when the user start playing a pending voice message.
* A11Y: ensure a11y focus is not lost and reset to the back button when the user use the keyboard to focus the send button and press the space bar to perform a click.
* Cleanup code. This if was not necessary.
* Small rework to prepare a bugfix. No behavior / UI change.
* Ensure that the keyboard focus and accessibility focus is not lost when deleting a pending voice message.
* Update screenshots
* Improve code readability.
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
* Update dependency org.robolectric:robolectric to v4.16
* Fix file size formatter output on API 26+
* Use more realistic value for maxUploadSize
* Update screenshots
* Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found"
* Add exceptions.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
* fix(deps): update dependency com.google.zxing:core to v3.5.4
* We are not targetting API 24+ so it should be fine to use the last version
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io>
Co-authored-by: ElementBot <android@element.io>
* 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.