Commit graph

13527 commits

Author SHA1 Message Date
ganfra
450551a7f3
Merge pull request #6255 from element-hq/renovate/metro
Update metro to v0.11.1
2026-02-26 15:57:53 +01:00
Benoit Marty
e56c7e1227
Floating toolbar (#6147)
* Use floating toolbar on homepage

* Fix deprecation issue

* Create HorizontalFloatingToolbar wrapper in our components.

* Fix Konsist test.

* Fix compilation issue after rebase.

* Fix lint issue. `floatingActionButton` must be the last parameter.

* Add Preview for the case empty space.

* Fix navigation bar overlapping buttons in empty space view.

* Increase content padding, and apply it to the space tab too.

* Update screenshots

---------

Co-authored-by: chelsea <git@cdhildit.ch>
Co-authored-by: ElementBot <android@element.io>
2026-02-26 14:54:06 +01:00
renovate[bot]
2c3f80f8b9
Update metro to v0.11.1 2026-02-26 05:57:36 +00:00
renovate[bot]
78d981505c
Update dependency com.posthog:posthog-android to v3.34.0 (#6251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-25 18:45:08 +01:00
ElementBot
58b8a37f8f Update screenshots 2026-02-25 15:49:13 +00:00
renovate[bot]
896d62a81e
Update metro to v0.11.0 (#6245)
* Update metro to v0.11.0

* Fix `@AssistedInject` usages

Now the injected variables in the factories must match the names in the constructors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-25 16:19:47 +01:00
Benoit Marty
34932c55bd Increase content padding, and apply it to the space tab too. 2026-02-25 15:56:30 +01:00
Benoit Marty
38f9f9c386 Fix navigation bar overlapping buttons in empty space view. 2026-02-25 15:56:30 +01:00
Benoit Marty
380102cc26 Add Preview for the case empty space. 2026-02-25 15:56:30 +01:00
Benoit Marty
ee07424f6a Fix lint issue. floatingActionButton must be the last parameter. 2026-02-25 15:56:29 +01:00
Benoit Marty
f8909a30b5 Fix compilation issue after rebase. 2026-02-25 15:51:21 +01:00
Benoit Marty
86dea41951 Fix Konsist test. 2026-02-25 15:51:21 +01:00
Benoit Marty
86c7d04176 Create HorizontalFloatingToolbar wrapper in our components. 2026-02-25 15:51:20 +01:00
Benoit Marty
ff257164d3 Fix deprecation issue 2026-02-25 15:51:20 +01:00
chelsea
1797ce7c20 Use floating toolbar on homepage 2026-02-25 15:51:20 +01:00
Jorge Martin Espinosa
4fb6346d4b
Check if network access if blocked when fetching notifications (#6247)
* Add `NetworkMonitor.isNetworkBlocked()`, use it to check if Doze prevented us from loading notifications

* Only check if network is blocked after checking if we have a network available, otherwise it's always `true`

* Extract `NetworkBlockedChecker` to handle deprecations more carefully
2026-02-25 12:04:07 +00:00
Jorge Martin Espinosa
798f23316b
Add some DB optimizations (#6249)
* Set a maximum journal size limit (WAL file size) of 25MB

The previous value was null, which meant unlimited growth. This can affect performance, since the WAL file performance as a cache will worsen the larger it is

* When scheduling the vacuum task, make sure the user has enough free disk storage, since vacuuming can duplicate the DB sizes in disk
2026-02-25 11:59:21 +00:00
Jorge Martín
a63bc8a88d Changelog for version 26.03.0 2026-02-24 18:14:24 +01:00
Jorge Martín
d82e508e4f Merge tag 'v26.03.0' into develop
v26.03.0
2026-02-24 17:06:29 +01:00
Jorge Martín
01aeca7121 Merge branch 'release/26.03.0' 2026-02-24 17:06:22 +01:00
Jorge Martín
d604f78842 Adding fastlane file for version 26.03.0 2026-02-24 17:04:34 +01:00
Jorge Martín
c546ce7f81 Setting version for the release 26.03.0 2026-02-24 17:04:32 +01:00
renovate[bot]
aa61f34dcd
Update dependency org.matrix.rustcomponents:sdk-android to v26.03.0 (#6242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-24 16:05:21 +01:00
Benoit Marty
c91c78171e
Merge pull request #6238 from element-hq/feature/bma/importFromClassic
Ensure that Element X can use the service from Element Classic.
2026-02-24 15:58:16 +01:00
Jorge Martin Espinosa
ce3df764ba
Add extra analytics for notification performance (#6237)
* Add extra analytics for notification performance

Add technical spans to track how long a notification fetching work request takes to run, then how long it takes to actually fetch the events for the notifications

* Remove `withContext(io)` for `FetchNotificationsWorker`

The default `Dispatchers.Default` dispatcher used should be good enough and more performant

* Add network check span
2026-02-24 13:39:32 +01:00
Jorge Martin Espinosa
001d419afd
Catch exceptions when setting or clearing an audio communication device in Element Call (#6226) 2026-02-24 13:38:53 +01:00
ganfra
a36243ca80
Merge pull request #6218 from element-hq/renovate/kotlin
Update kotlin to v2.3.6
2026-02-24 13:37:26 +01:00
Jorge Martin Espinosa
dfde64b466
Remove runBlocking call to restore sessions when the app starts (#6193)
* Remove `runBlocking` call to restore sessions when the app starts

Sadly, to do this we need to manually handle restoring the state from Appyx using internal values. At least it doesn't seem like they're going to change any time soon (or ever).

This should take care of a few ANRs, although it may make loading the initial state a bit slower

* Add `ReplaceAllOperation` for state restoration

* Add warning comment for Appyx dependency
2026-02-24 09:51:43 +00:00
renovate[bot]
beaf59ad97
Update dependency io.github.zxing-cpp:android to v3 (#6170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 18:17:06 +01:00
Benoit Marty
1e8bbedaf4 Fix release build. 2026-02-23 18:13:55 +01:00
Benoit Marty
920ea9a3f5
Improve element gallery header (#6239)
* Improve header of Element Gallery.

* Add click to copy url to screenshot header and each screenshot row.
2026-02-23 17:58:47 +01:00
Benoit Marty
360b3b3dd1 Fix tests. 2026-02-23 17:32:53 +01:00
Jorge Martin Espinosa
8877f1010c
Disable the cross-process lock in the SDK (#6231)
* Disable the cross-process lock in the SDK

We don't use multiple process as iOS does, so we don't need it. It should improve DB performance a bit and overall waste less resources.
2026-02-23 15:31:59 +00:00
renovate[bot]
82ef2e0f99
Update dependency com.posthog:posthog-android to v3.32.2 (#6230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 13:38:13 +01:00
renovate[bot]
e32874686d
Merge pull request #6214 from element-hq/renovate/org.unifiedpush.android-connector-3.x
Update dependency org.unifiedpush.android:connector to v3.3.1
2026-02-23 13:37:34 +01:00
Benoit Marty
1a99057b31
Merge pull request #6194 from vmfunc/feature/audio-focus-voice-recording
request audio focus when recording voice messages
2026-02-23 13:35:57 +01:00
Benoit Marty
ff1ffabb10
Merge pull request #6207 from element-hq/sync-localazy
Sync Strings
2026-02-23 13:32:14 +01:00
Benoit Marty
503bbae530 Ensure that Element X can use the service from Element Classic.
Permission "im.vector.app.READ_DATA" is not necessary anymore.
2026-02-23 12:43:42 +01:00
bmarty
25c723c35a Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
renovate[bot]
efb20985a0
Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19 (#6229)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19

* Fix breaking API changes: added `isLowPriority` to `RoomInfo` and `RoomSummary`.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-20 09:01:07 +01:00
renovate[bot]
5a9d5beb1e
Update dependency io.sentry:sentry-android to v8.33.0 (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-19 08:59:11 +01:00
Jorge Martin Espinosa
7a7a473c82
Add free disk space action to CI actions (#6212)
* Add free disk space action

* Remove 'upload APK for Maestro' step since it's no longer used

* Re-enable tool-cache removal

* Add the free disk space step to other gradle-related jobs

* Use commit SHA

* Disable removing `large-packages`
2026-02-18 22:55:50 +01:00
Jorge Martin Espinosa
23f105442e
Remove all video metadata (#6224)
Use `InAppMp4Muxer` with a custom metadata provider that removes all metadata entries
2026-02-18 16:51:44 +00:00
ganfra
5cf05540b7
Merge pull request #6210 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.32.0
2026-02-18 16:41:30 +01:00
renovate[bot]
5fea4d01bf
Update kotlin to v2.3.6 2026-02-18 07:36:33 +00:00
Jorge Martin Espinosa
b23e2a84f9
Limit the max number of opened rooms in the backstack (#6215)
* Limit the max number of opened rooms in the backstack

This should help with the `TransactionTooLargeExceptions` we were seeing, since every one of these nodes and their sub-nodes would be saved to the instance state.

Also, make sure we use `LoggedInFlowNode.attachRoom` as much as possible to ensure this check is used
2026-02-18 08:34:25 +01:00
ganfra
878b3b29b2
Merge pull request #6216 from element-hq/feature/remove_slide_animation_home
Use fade animation when replacing Placeholder
2026-02-17 14:17:38 +01:00
ganfra
386be21988 Use fade animation when replacing Placeholder 2026-02-17 12:23:35 +01:00
renovate[bot]
8c20770d21
Update dependency org.matrix.rustcomponents:sdk-android to v26.2.16 (#6211)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.2.16

* Fix log rotation breaking changes. The new values match iOS (https://github.com/element-hq/element-x-ios/pull/5108/)

* Fix `aRustRoomInfo()` test fixture

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-17 10:42:31 +01:00
renovate[bot]
8f0f051fb4
Update dependency com.posthog:posthog-android to v3.32.0 2026-02-16 16:31:26 +00:00