Commit graph

1556 commits

Author SHA1 Message Date
ganfra
9ae97048a0
Merge pull request #6043 from element-hq/renovate/metro
fix(deps): update metro to v0.10.0
2026-01-21 17:01:42 +01:00
Jorge Martin Espinosa
a1b81046f0
Add empty state view for HomeSpacesView (#6047)
* 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>
2026-01-21 10:36:12 +01:00
ganfra
dd68db3fc1
Merge pull request #6045 from element-hq/feature/fga/invite_people_suggestions
Add suggestions section to InvitePeopleView
2026-01-20 13:45:42 +01:00
ElementBot
60755e5212 Update screenshots 2026-01-20 09:25:30 +00:00
Benoit Marty
c901772145 Metro 0.10.0: Classes annotated with ContributesIntoSet do not need to be annotated with Inject. 2026-01-20 10:13:39 +01:00
Richard van der Hoff
ad622b0ac2
Display a badge for messages decrypted using shared keys (#6023)
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.
2026-01-16 17:24:18 +00:00
ElementBot
d7c771f431 Update screenshots 2026-01-15 17:56:01 +00:00
Jorge Martin Espinosa
6d1ed5967b
Create spaces (#5982)
* 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>
2026-01-13 14:35:49 +01:00
Benoit Marty
e311a719e1
[a11y] voice message improvements (#5980)
* 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>
2026-01-13 09:23:17 +01:00
ElementBot
2a3843bc36 Update screenshots 2026-01-12 10:36:41 +00:00
ganfra
1614bd7a20
Merge pull request #5979 from element-hq/feature/fga/space_members_access
Change Room’s Access to/from Space members
2026-01-12 10:48:44 +01:00
Benoit Marty
bd5857ae23 Fix konsist test. 2026-01-09 15:36:10 +01:00
ElementBot
5b95e8c480 Update screenshots 2026-01-09 13:57:10 +00:00
ElementBot
29f50d0b6e Update screenshots 2026-01-08 16:48:16 +00:00
ElementBot
96cf40023f Update screenshots 2026-01-08 15:49:32 +00:00
ElementBot
bf7afd535c Update screenshots 2026-01-08 13:49:53 +00:00
ElementBot
39d36b2eac Update screenshots 2026-01-08 12:44:36 +00:00
Benoit Marty
7186044482
Merge pull request #5963 from element-hq/feature/bma/variablePlayBackSpeed
Voice message: variable play back speed
2026-01-05 13:58:01 +01:00
ganfra
094b4c8c0f
Merge pull request #5960 from element-hq/feature/fga/fix_space_ff_disabled
Ensure space feature is enabled
2026-01-05 11:30:37 +01:00
Benoit Marty
233d22367f Cleanup 2026-01-02 16:07:45 +01:00
ElementBot
1be2cb1c64 Update screenshots 2025-12-31 10:43:57 +00:00
ElementBot
fed2b10bb4 Update screenshots 2025-12-30 09:39:13 +00:00
ganfra
76bc487f28
Merge pull request #5950 from element-hq/feature/fga/iterate_permissions_screen
Changes : iterate again on permissions
2025-12-22 18:41:38 +01:00
ElementBot
fe1cdb6df6 Update screenshots 2025-12-22 14:41:43 +00:00
ElementBot
cad746e3e2 Update screenshots 2025-12-22 10:29:46 +00:00
Benoit Marty
5551f4e039
Merge pull request #5942 from element-hq/feature/bma/roomHistoryVisibilitySettings
Simplify the copy of the history visibility settings
2025-12-20 17:02:24 +01:00
Benoit Marty
2a9765ad33
Upgrade robolectric to version 4.16 (#5923)
* 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>
2025-12-19 15:37:38 +01:00
ElementBot
55f1c91e35 Update screenshots 2025-12-19 14:08:00 +00:00
renovate[bot]
07671dbd72
fix(deps): update dependency com.google.zxing:core to v3.5.4 (#5935)
* 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>
2025-12-19 14:15:55 +01:00
Benoit Marty
ac7321f841 Add exceptions. 2025-12-19 09:44:58 +01:00
Benoit Marty
4aadbed0b1 Fix test issue: "java.security.KeyStoreException: AndroidKeyStore not found" 2025-12-19 09:27:11 +01:00
Benoit Marty
3ea10c2c62
Merge pull request #5909 from element-hq/feature/bma/qrCodeLogin
Link new device using QrCode - First version
2025-12-18 16:08:21 +01:00
ElementBot
c4eeb1bab2 Update screenshots 2025-12-18 11:18:55 +01:00
ElementBot
d247e72b76 Update screenshots 2025-12-17 14:21:11 +00:00
Benoit Marty
3784ad39b2 Fix how we compute screenshot files.
`AttachmentsPreviewViewPreview` was wrongly converted to `AttachmentsView` instead of `AttachmentsPreviewView`
2025-12-17 15:05:11 +01:00
ElementBot
eef74524cb Update screenshots 2025-12-17 11:26:22 +00:00
ElementBot
e8d7c0bf2d Update screenshots 2025-12-17 08:46:11 +00:00
ElementBot
7c475df1b3 Update screenshots 2025-12-16 21:09:45 +00:00
ElementBot
c9be8e0f22 Update screenshots 2025-12-16 16:14:04 +01:00
ElementBot
a443fdb5a2 Update screenshots 2025-12-16 10:57:07 +00:00
ElementBot
ad881c303a
Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
81fd630bd3
Merge pull request #5900 from element-hq/feature/fga/update_invite_selection_design
Design : update user rows
2025-12-15 10:33:57 +01:00
ElementBot
06571d0ebd Update screenshots 2025-12-12 17:05:45 +00:00
Benoit Marty
e1361d8677
Merge pull request #5888 from element-hq/feature/bma/roomListIcons
RoomSummary: move the icon related to the last message state on start of the message.
2025-12-12 17:12:34 +01:00
ElementBot
72c3e79ca6 Update screenshots 2025-12-12 11:36:01 +00:00
ElementBot
72c604b047 Update screenshots 2025-12-11 14:06:53 +00:00
Skye Elliot
59f51d8627
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.
2025-12-08 21:19:15 +01:00
Benoit Marty
f76d817b4e
Merge pull request #5852 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1
2025-12-08 15:05:12 +01:00
bmarty
3935a3b6ce Sync Strings from Localazy 2025-12-08 00:34:18 +00:00
Benoit Marty
54e742075d Detekt: enable rule exceptions.SwallowedException and fix existing issue. 2025-12-05 09:45:23 +01:00