Commit Graph

6189 Commits

Author SHA1 Message Date
Jorge Martín
1eaae2def5 Remove Welcome screen from the FTUE
Keep the screen UI + logic around in case we want to reuse it in the future.
2024-03-21 16:26:00 +01:00
Jorge Martin Espinosa
fb5ab95401 Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:51:43 +00:00
renovate[bot]
d6cd4ef37c Update wysiwyg to v2.34.0 (#2576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 11:20:02 +01:00
Jorge Martin Espinosa
ca578f79e8 Compound: add BigIcon, BigCheckmark and PageTitle components (#2574)
* Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:10:11 +01:00
renovate[bot]
e51b9ace94 Update android.gradle.plugin to v8.3.1 (#2471)
* Update android.gradle.plugin to v8.3.1

* Fix AGP update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-03-21 09:47:17 +01:00
renovate[bot]
4cc4babceb Update dependency androidx.compose:compose-bom to v2024.03.00 (#2575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 09:20:53 +01:00
renovate[bot]
6c87a35391 Update kotlin (#2464)
Updates:
- Kotlin `1.9.23`.
- KSP `1.9.23-1.0.19`.
- Compose Compiler: `1.5.11`.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 07:33:27 +00:00
Jorge Martin Espinosa
1e0891bb68 Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Jorge Martin Espinosa
ba564bbe9c Merge pull request #2571 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.10
2024-03-20 10:27:26 +01:00
Jorge Martín
f2d240c66d Fix SDK integration 2024-03-20 09:36:35 +01:00
renovate[bot]
ef130874fb Update dependency org.matrix.rustcomponents:sdk-android to v0.2.10 2024-03-19 16:22:02 +00:00
Jorge Martin Espinosa
eabdb9ae4d Add isInDebug variable to simulate debug/release configs for tests (#2566)
* `isInDebug` as `ThreadLocal<Boolean>`

* Use a simple var for `isInDebug` and add a helper method to test release mode, when running the debug test.

* Add some more docs

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-03-18 17:56:07 +01:00
Benoit Marty
62799e1854 Merge pull request #2565 from element-hq/feature/bma/userDataCache
Read user avatar from cache
2024-03-18 17:33:26 +01:00
Benoit Marty
af79175af7 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46:26 +01:00
Jorge Martin Espinosa
058a79127c Remove unnecessary Room.updateMembers() calls. (#2564)
* Remove unnecessary `updateMembers` calls.

Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.

Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00
ElementBot
aa699c6a0b Update screenshots 2024-03-18 14:56:38 +00:00
Jorge Martin Espinosa
181e49528b Remove 'clear cache' CI flow (#2563)
It never worked as expected and keeps failing
2024-03-18 15:25:51 +01:00
Benoit Marty
164ea77316 Merge pull request #2559 from element-hq/feature/bma/enableMarkAsUnread
Enable the feature "Mark as unread".
2024-03-18 15:17:52 +01:00
Benoit Marty
2e9119ba25 changelog 2024-03-18 15:07:29 +01:00
Benoit Marty
1144d467e5 Use client.cachedAvatarUrl(), to be able to render the user avatar faster, and even if there is no network (#2488). 2024-03-18 15:02:54 +01:00
Benoit Marty
5c540c4af9 Fix compilation warning. 2024-03-18 15:02:41 +01:00
renovate[bot]
22b9cf9731 Update plugin dependencycheck to v9.0.10 (#2560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 09:48:47 +01:00
Benoit Marty
4666b98204 Merge pull request #2561 from element-hq/sync-localazy
Sync Strings
2024-03-18 09:23:35 +01:00
Jorge Martin Espinosa
4d3615e498 Add analytic events to room moderation (#2553)
* Add analytic events to room moderation

* Fix typo and tests
2024-03-18 08:06:36 +01:00
bmarty
8f84647f78 Sync Strings from Localazy 2024-03-18 00:16:33 +00:00
Jorge Martin Espinosa
517be47397 Move Konsist tests to quality checks (#2558)
* Move `Konsist` tests to quality checks

This should also help us avoid running them for every single test task, including Kover.

* Fix upload report path filter
2024-03-15 18:03:13 +01:00
Benoit Marty
49bb1d59b6 Enable the feature "Mark as unread". 2024-03-15 17:03:41 +01:00
Jorge Martin Espinosa
b488cbbfb8 Test and verify coverage only on debug variant (#2556)
* Test and verify coverage only on debug variant

* Set files to upload

* Fix also nightlyReports flow
2024-03-15 15:52:33 +01:00
Benoit Marty
1df8f53673 version++ 2024-03-15 15:28:54 +01:00
Benoit Marty
0f3a3e0db4 Merge tag 'v0.4.6' into develop
tag
2024-03-15 15:21:05 +01:00
Benoit Marty
2d60c034a5 Merge branch 'release/0.4.6' into main 2024-03-15 15:20:50 +01:00
Benoit Marty
2d765ba31e Adding fastlane file for version 0.4.6 2024-03-15 15:20:47 +01:00
Benoit Marty
cf635755d3 Changelog for version 0.4.6 2024-03-15 15:20:22 +01:00
Benoit Marty
a5940380c0 Merge pull request #2544 from element-hq/feature/bma/trackUtd
Track UTD errors.
2024-03-15 14:11:29 +01:00
ElementBot
24275982cf Sync Strings (#2557)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-15 13:37:11 +01:00
Benoit Marty
55cbb99201 Improve UtdTracker test. 2024-03-15 12:33:54 +01:00
Benoit Marty
dce57a7234 Add unit test on UtdTracker 2024-03-15 12:29:38 +01:00
Benoit Marty
c1dfa4806c Fix compilation of minimal. 2024-03-15 12:00:16 +01:00
Benoit Marty
b8e8578fad Add extra properties "cryptoSDK" to Error.CryptoSDK.Rust to all events and screen sent to PostHog. 2024-03-15 11:27:53 +01:00
Benoit Marty
cf36ce3cec Improve crypto error content. 2024-03-15 09:41:43 +01:00
Benoit Marty
a61b7c91f4 Bump analytics plan to 0.14.0 2024-03-15 09:36:20 +01:00
Jorge Martin Espinosa
061ea9a5c7 Ensure progress indicator is removed when a user is unblocked (#2554) 2024-03-15 08:34:59 +01:00
Benoit Marty
0702005468 Track UTD errors. 2024-03-14 17:03:50 +01:00
Jorge Martin Espinosa
a7093bae8b Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
renovate[bot]
07858ca5f7 Update dependency org.matrix.rustcomponents:sdk-android to v0.2.9 (#2551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 16:09:44 +01:00
Jorge Martin Espinosa
00f68a0f86 Revert "Clear and generate new cache only when merging to develop" (#2550)
This reverts commit 0473c4b5f0.
2024-03-14 13:34:19 +01:00
Benoit Marty
6f09f2fb77 Merge pull request #2547 from element-hq/renovate/org.maplibre.gl-android-sdk-10.x
Update dependency org.maplibre.gl:android-sdk to v10.3.0
2024-03-14 10:05:15 +01:00
Jorge Martin Espinosa
90304a268e Add SDK git SHA to user agent (#2548) 2024-03-14 09:59:46 +01:00
Jorge Martin Espinosa
6c1f90ed77 Use userId on display name change state events (#2545)
* Use `userId` on display name change state events
2024-03-14 08:46:20 +00:00
Jorge Martin Espinosa
0473c4b5f0 Clear and generate new cache only when merging to develop (#2549)
Clearing the cache regularly doesn't work because on each new merge to develop a new cache of almost 4GB will be created and replace the 'cleared' one.

We can try doing a clean up to this cache we're about to save so it's a bit smaller.
2024-03-14 09:40:34 +01:00