Commit Graph

685 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
17f22d143b Add 'send private read receipts' option in advanced settings (#2290)
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-26 10:06:26 +01:00
ElementBot
04a6554ac0 Update screenshots 2024-01-25 09:36:39 +00:00
ElementBot
c3f46798f4 Update screenshots 2024-01-24 22:22:03 +00:00
Jorge Martin Espinosa
f9c5cd07a9 Return cached room members before fetching new ones, do it in batches (#2274)
* Use cached users from the Rust SDK.

Also lazy load received users by batches.

* Create `RoomMemberListFetcher` to wrap all the room member loading logic

* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
2024-01-23 18:23:20 +01:00
ElementBot
791d4e647a Update screenshots 2024-01-23 15:04:39 +00:00
ElementBot
207097ffd0 Update screenshots 2024-01-22 14:56:56 +00:00
ElementBot
9555a3ab8b Update screenshots 2024-01-22 10:36:08 +00:00
ElementBot
710f0eb8df Update screenshots 2024-01-19 20:13:41 +00:00
Jorge Martin Espinosa
27ddc4ec74 Upgrade Material3 Compose to 1.2.0-beta02 (#2247)
* Upgrade Material3 Compose to `1.2.0-beta02`.

There is also a constraint on a transitive Compose Foundation dependency version (1.6.0-beta02) that fixes the timeline scrolling issue.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-18 08:49:55 +01:00
Jorge Martin Espinosa
64a18afc1b Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
Benoit Marty
a926b3d390 Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
378692f743 Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
7e9cda3aa9 Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa
e762584a37 Improve rendering of voice messages in the timeline in large displays (#2199)
* Improve rendering of voice messages in the timeline in large displays

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-09 18:07:23 +01:00
Benoit Marty
7baaac09ba Add missing test for LogoutView 2024-01-09 17:53:24 +01:00
Benoit Marty
a6a5216867 Merge pull request #2175 from element-hq/feature/bma/composeTest
Add first tests on compose click interaction.
2024-01-08 11:43:31 +01:00
Benoit Marty
0628ceabc1 Iterate on EnsureCalledOnce devX 2024-01-08 10:07:48 +01:00
Benoit Marty
ba2c297118 Add run method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that assertSuccess is always called. 2024-01-08 10:01:26 +01:00
Benoit Marty
6798352fb7 Use string resource instead of hard-coded strings. 2024-01-08 09:50:08 +01:00
Benoit Marty
6b2f79959d Improve assertion message. 2024-01-08 09:35:14 +01:00
Benoit Marty
69e8384163 Add first tests on compose click interaction. 2024-01-05 18:00:44 +01:00
ElementBot
4135b3381b Update screenshots 2024-01-05 13:10:32 +00:00
Benoit Marty
24a3c2baf7 Merge pull request #2166 from element-hq/feature/bma/fixFlakyTest
Introduce AsyncAction with a Confirmation state and use it for logout action
2024-01-05 10:30:43 +01:00
ElementBot
9cfc5a5c80 Update screenshots 2024-01-05 08:13:36 +00:00
Jorge Martin Espinosa
1e2fc6ad27 Remove 'document' case for message with timestamp preview (#2164)
* Remove 'document' case for message with timestamp preview

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 15:22:09 +01:00
Jorge Martin Espinosa
b7cf298934 Upgrade to AGP 8.2.0 (#2142)
* Upgrade to AGP 8.2.0

Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 12:09:46 +01:00
Jorge Martin Espinosa
c6d109c424 Implement ContentAvoidingLayout for timeline items (#2113)
* Implement `ContentAvoidingLayout` for timeline items

* Truncate long mention pills

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-03 12:32:02 +01:00
Marco Antonio Alvarez
378da8ce21 [Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
Jorge Martin Espinosa
4f296ffb49 Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
ElementBot
93386b6867 Update screenshots 2023-12-26 13:06:19 +00:00
Jorge Martin Espinosa
ada16a8563 Revert "Room list badges" 2023-12-22 11:02:07 +01:00
Benoit Marty
93fabfdc56 Merge pull request #2080 from element-hq/feature/bma/roomListBadges
Room list badges
2023-12-21 16:44:10 +01:00
ElementBot
f45b4e6120 Update screenshots 2023-12-21 14:00:14 +00:00
Jorge Martin Espinosa
80c139974b Emojis in custom reaction bottomsheet are too tiny (#2074)
* Emojis in custom reaction bottomsheet are too tiny

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-21 10:39:11 +01:00
ElementBot
cdb4e25862 Update screenshots 2023-12-20 16:43:09 +00:00
ElementBot
856a1612de Update screenshots 2023-12-20 15:07:04 +00:00
Benoit Marty
ba04bbc5ca Merge pull request #2077 from element-hq/feature/bma/timestamp
Feature/bma/timestamp
2023-12-20 15:17:43 +01:00
Jorge Martin Espinosa
9eb249c9e7 Rework timestamp positioning (#2075)
* Rework timestamp positioning

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-20 13:37:28 +00:00
ElementBot
36cd82e9f1 Update screenshots 2023-12-20 10:49:19 +00:00
ganfra
7d33409810 Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
Benoit Marty
f57f353883 Merge pull request #2061 from element-hq/feature/bma/doNotRenderRoomId
Do not render roomId
2023-12-19 21:46:31 +01:00
ElementBot
7d0d609dcb Update screenshots 2023-12-19 14:19:18 +00:00
Benoit Marty
d31cb17000 Konsist test: ignore Composable extensions. 2023-12-19 14:50:47 +01:00
ElementBot
bff982eabd Update screenshots 2023-12-19 12:53:27 +00:00
Benoit Marty
aa077baacd Merge pull request #1975 from element-hq/feature/bma/extractForward
Extract RoomList select to its own module
2023-12-19 13:32:41 +01:00
Benoit Marty
ca2af100da Merge pull request #2050 from element-hq/feature/bma/bottomSheetAvatar
Message bottom sheet: always show user avatar
2023-12-18 22:32:44 +01:00
Benoit Marty
d6ada81bcd Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
ElementBot
6a04a0627d Update screenshots 2023-12-18 13:43:33 +00:00
Benoit Marty
09c7558c1a Merge pull request #2039 from element-hq/feature/bma/fixInviteWording
Fix invite wording
2023-12-18 12:05:22 +01:00
Benoit Marty
06c9da277b Let consumeItemsUntilPredicate fail if predicate is never true or if Complete occurs.
Do not fail on error for `consumeItemsUntilTimeout`
2023-12-15 20:07:11 +01:00