Commit Graph

5576 Commits

Author SHA1 Message Date
ElementBot 7c95f824d5 Sync Strings from Localazy (#6155)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-02-09 16:30:57 +01:00
Benoit Marty d693aeece4 Merge pull request #6109 from kknappe/fix/start-voice-recording-when-permission-is-granted
Fix voice message recording not starting after permission is granted
2026-02-09 09:28:58 +01:00
Skye Elliot 1e268b0709 Add history sharing badges to room details (#6132)
* feat: Add history sharing badges to room details view

* tests: Add snapshots for history sharing room details badges

* fix: Disable soft-wrapping in badges, use FlowRow

* tests: Add unit test for `RoomDetailsState` and history sharing badges.

* tests: Add `MatrixBadgeAtomNeutralWrappingPreview` to exceptions

* chore: Re-order `MatrixBadgeAtom` previews

* fix: Add `Immutable` annotation to `RoomHistoryVisibility`.

* fix: Correct translation for shared badge
2026-02-06 19:03:52 +00:00
renovate[bot] 4cb3b16914 Update dependency org.matrix.rustcomponents:sdk-android to v26.2.6 (#6144)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.2.5

* Fix breaking API changes:
- Add temporary imlementation for `RustClientSessionDelegate.onBackgroundTaskErrorReport`, logging unrecoverable errors in background tasks of the SDK.
- Change `TimelineEventTypeFilter` to `TimelineEventFilter`.
- Support new `LatestEventValue.RemoteInvite`.

* Update the Rust SDK to `26.2.6`

* Fix API changes: `TimelineFocus.PinnedEvents` no longer takes any arguments

* Fix test fixtures: `NotificationItem` has a `rawEvent` field now

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-06 12:40:03 +00:00
ganfra 6327641469 Merge pull request #6136 from element-hq/feature/fga/space_room_list_filter
Add Space Filters feature for Room List
2026-02-05 16:14:16 +01:00
ganfra 1128e4bc70 Space filters fix previews 2026-02-05 15:05:07 +01:00
Jorge Martin Espinosa 99cb9b75ea When changing roles, wait until the changes take effect before dismissing the change roles screen (#6141) 2026-02-05 11:40:39 +01:00
ganfra 63e12075c6 Improve SpaceFilters: hide when empty and fix tests 2026-02-05 11:33:24 +01:00
ganfra 18f200eb06 SpaceFiltersView : try to fix the BottomSheet hide animation 2026-02-05 10:35:27 +01:00
ganfra fb2fb824af Clear selection when selected space is removed from filters 2026-02-04 16:17:26 +01:00
Jorge Martin Espinosa 2a2073fce0 Fix back navigation after creating a room in a space (#6134)
* Fix back navigation after creating a room in a space

Previously, this displayed the 'invite users to the room' screen instead of going back to the parent space screen
2026-02-04 15:03:12 +00:00
ganfra c7015c367c Add tests for SpaceFiltersPresenter and SpaceFiltersView and fix quality 2026-02-04 14:42:57 +01:00
Jorge Martin Espinosa c960f6e5c9 Refresh a Space's room list after creating a room in it (#6135) 2026-02-04 13:09:21 +00:00
ganfra 9aa0db981b Add back navigation to clear space filter selection 2026-02-04 13:40:06 +01:00
ganfra 7c3f9eeb89 Ensure selected space filter gets update 2026-02-04 11:35:18 +01:00
ganfra aa079677ae Revert changes on room list filters being hidden 2026-02-04 11:34:43 +01:00
Karsten Knappe 7c7043c16a Merge remote-tracking branch 'kknappe/fix/start-voice-recording-when-permission-is-granted' into fix/start-voice-recording-when-permission-is-granted 2026-02-04 09:01:04 +01:00
Karsten Knappe 1db6477591 style: removes unwanted whitespace in DefaultVoiceMessageComposerPresenter 2026-02-04 09:00:56 +01:00
ganfra 23498bbaee Handle SpaceFilter interaction with other RoomListFilters 2026-02-03 21:22:56 +01:00
Jorge Martin Espinosa bd6bad963e Remove JoinRule.Private from the codebase (#6129)
It shouldn't be in use, since it was never properly defined:

- The `Private` values coming from the SDK are considered to be `Invite` instead.
- Remove any existing `JoinRule.Private` usages in our code.
2026-02-03 19:27:22 +01:00
Karsten Knappe 307e6a7cd2 Merge branch 'develop' into fix/start-voice-recording-when-permission-is-granted 2026-02-03 11:23:26 +01:00
Karsten Knappe cf79e1cd7d style: removes unwanted blank line in DefaultVoiceMessageComposerPresenter 2026-02-03 11:22:56 +01:00
ganfra 218aafa05a Simplify SpaceFilterButton and add content description 2026-02-03 10:24:38 +01:00
ganfra 212a8e3aa3 Add room list filter combining based on space selection 2026-02-02 21:46:33 +01:00
ganfra 2f0da202df Add space filter button to HomeTopBar and integrate SpaceFiltersView 2026-02-02 21:14:19 +01:00
ganfra 3b60030635 Expose SpaceFilterState to RoomListState 2026-02-02 21:02:55 +01:00
ganfra 1639d1f67f Add SearchField to SpaceFiltersView 2026-02-02 21:02:55 +01:00
ganfra 4a94e36b3e Complete SpaceFiltersView ui 2026-02-02 21:02:55 +01:00
ganfra c93920cf41 Model SpaceFilters ui states 2026-02-02 21:02:55 +01:00
ganfra f59159d0fe Create base classes for SpaceFilters feature 2026-02-02 21:02:55 +01:00
ganfra bc9a46a821 Spaces : some cleanup on SpaceService 2026-02-02 21:02:54 +01:00
Richard van der Hoff e718ce2c77 Update icon shown for world_readable rooms (#6111)
* Update icon shown for world_readable rooms

Followup to #6090: having discussed this in the team, we want to show a
different icon (with different text) for rooms where the history_visibility is
`world_readable` rather than `shared`.

* delint

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-02-02 17:32:46 +00:00
Karsten Knappe 34e4b3e301 fix: use rememberUpdatedState for permissionsState in DefaultVoiceMessageComposerPresenter.kt 2026-02-02 15:17:49 +01:00
Benoit Marty 4aa56abada Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
ganfra 440eacc892 Merge pull request #6117 from element-hq/feature/fga/room_list_filter_rust
Refactor room list filtering to use Rust SDK
2026-02-02 10:58:21 +01:00
bmarty 2fefc0691b Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra babaa7351f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
Benoit Marty 18f07383a3 Revert "Add "call.pro.element.io" in the list of known hosts for Element Call."
This reverts commit 761834dab2.
2026-01-30 15:05:59 +01:00
Benoit Marty f4a9900a0d Iterate on QrCode login error buttons (#6101)
* Iterate on login error: add a cancel button that fully close the flow.

tom

* Fix compilation warning: `Name contains character(s) that can cause problems on Windows: "`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 14:21:14 +01:00
Jorge Martin Espinosa 8c0c7a61df Remove runBlocking in ThreadedMessagesNode (#6108)
* Remove `runBlocking` in `ThreadedMessagesNode`. This should help reducing the number of reported ANRs
2026-01-30 09:16:25 +00:00
Jorge Martin Espinosa 95b6356d0b Add special flow for leaving a space as the last owner (#6112)
* When the user is in a v12 room, use different UI to select the last owner when leaving

- Add `LeaveSpaceRoom.areCreatorsPrivileged` to detect when this is happening.
- Import new strings.
- Build the new UI.
- Attach it to a change member roles screen navigation.

* Don't display the `isLastOwner` UI if the user is the only joined one in the room

* Rename `LeaveSpaceState.isLastOwner` to `.needsOwnerChange`. This way, it's easier to understand the difference with the passed `LeaveSpaceRoom.isLastOwner` value

* Add a test for the new check of user not being the last joined member

* Fix paddings in `LeaveSpaceView`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-30 09:10:00 +00:00
ganfra 5c3fc13052 Refactor room list filtering to use Rust SDK 2026-01-29 22:08:12 +01:00
Benoit Marty bbaaafad63 Ensure that the call is not closed when it is an External call. 2026-01-29 16:21:00 +01:00
Benoit Marty 761834dab2 Add "call.pro.element.io" in the list of known hosts for Element Call. 2026-01-29 16:13:33 +01:00
Karsten Knappe c33e6baaca Fix voice message recording not starting after permission is granted 2026-01-29 12:18:27 +01:00
ganfra 3824cf4e64 Merge pull request #6099 from element-hq/feature/fga/space_management_iteration
Improve space management with pagination and partial failure handling
2026-01-29 10:57:14 +01:00
Benoit Marty 24868f97d2 Merge pull request #6097 from element-hq/feature/bma/favoriteWording
Improve favorite wording and icon of room
2026-01-28 17:16:53 +01:00
Benoit Marty c84a2d3d4a Fix compilation warning: Name contains character(s) that can cause problems on Windows: " 2026-01-28 16:20:14 +01:00
Benoit Marty 6f0f315b7e Iterate on login error: add a cancel button that fully close the flow.
tom
2026-01-28 16:20:14 +01:00
ganfra 94a2b2e5f8 Fix renaming after rebase 2026-01-27 21:19:21 +01:00