Commit Graph

2388 Commits

Author SHA1 Message Date
Benoit Marty
997629294e Merge pull request #2213 from element-hq/feature/bma/fdroid
Feature/bma/fdroid
2024-01-17 16:17:41 +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
ElementBot
3a37460814 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5616fe76d4 Fix test.
The change is due to the new label send to the server.
2024-01-12 09:20:36 +01:00
Benoit Marty
d311573539 var -> val 2024-01-12 09:16:50 +01:00
Benoit Marty
2dbcec98f4 Add fdroid of gplay to the rageshake data as a label. 2024-01-11 21:42:04 +01:00
Benoit Marty
d76ee23514 Merge pull request #2202 from element-hq/feature/bma/removeReadReceiptFlag
Remove ReadReceipts feature flag.
2024-01-11 17:13:35 +01:00
Benoit Marty
a926b3d390 Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
439c2f191b Ensure preview are not impacted when removing the ReadReceipt feature flag. 2024-01-11 15:58:36 +01:00
Benoit Marty
4dcafb6aa6 Remove ReadReceipts feature flag. 2024-01-11 15:57:59 +01:00
Benoit Marty
1456cde3a7 Fix detekt issue. 2024-01-11 11:56:50 +01:00
Benoit Marty
72a363c244 Fix moar ktlint issues 2024-01-11 11:24:10 +01:00
Benoit Marty
378692f743 Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
Benoit Marty
d3830af78b Fix ktlint issues 2024-01-10 19:33:39 +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
7fbe848243 Exclude ContentToPreview from coverage, either by using annotation @ExcludeFromCoverage, or by inlining it. 2024-01-09 17:56:01 +01:00
Benoit Marty
7baaac09ba Add missing test for LogoutView 2024-01-09 17:53:24 +01:00
Benoit Marty
ae424ffe6a Merge pull request #1782 from element-hq/feature/bma/upgradeKover
Upgrade kover
2024-01-09 17:52:14 +01:00
Jorge Martin Espinosa
7008b403c0 Fix mention selector getting stuck when quickly deleting the prompt (#2195)
* Fix mention selector getting stuck when quickly deleting the prompt
2024-01-09 11:07:10 +00:00
Benoit Marty
b377da22ad Remove empty test module 2024-01-09 10:45:36 +01:00
Jorge Martin Espinosa
3954612a72 Hide keyboard when tapping on a message in the timeline (#2187)
* Hide keyboard when tapping on a message in the timeline if it would result in navigating to another screen
2024-01-08 14:02:57 +01:00
Benoit Marty
3846c6778d Merge pull request #2191 from element-hq/feature/bma/fixRRCrash
Do not use sublist as it crashes if `index > items.count()`.
2024-01-08 12:09:19 +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
a424cb0a6a exclude items.count(), which is not a valid index for the list. 2024-01-08 11:41:29 +01:00
Benoit Marty
66201c6e58 Do not use sublist as it crashes if index > items.count(). Using range is safer.
Fix https://github.com/element-hq/element-x-android-rageshakes/issues/1301
2024-01-08 11:26:50 +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
cbc86ea1e4 Merge branch 'develop' into feature/bma/sendImageFromKeyboard 2024-01-08 08:59:00 +01:00
bmarty
06db67abe8 Sync Strings from Localazy 2024-01-08 00:10:36 +00:00
Benoit Marty
a0eceeae8b Fix test in release. 2024-01-05 18:20:26 +01:00
Benoit Marty
69e8384163 Add first tests on compose click interaction. 2024-01-05 18:00:44 +01:00
ganfra
c78ce88c53 Rename isFetchingSearchResults to showSearchLoader 2024-01-05 15:54:50 +01:00
ganfra
2f49de1fbb Rename SearchBarResultState.Empty to SearchBarResultState.Initial 2024-01-05 15:40:02 +01:00
ganfra
dbfa9b0dc6 Rename UserSearchResults as UserSearchResultState 2024-01-05 15:34:01 +01:00
ganfra
2a240d2496 Merge branch 'develop' into feature/fga/invite_user_loader 2024-01-05 14:02:58 +01:00
ganfra
fbd05336a0 Fix detekt 2024-01-05 13:56:59 +01:00
ganfra
4e06ccd610 RoomInviteMembers : add small tests 2024-01-05 13:53:02 +01:00
ganfra
60d015596f MatrixUserRepo : fix tests 2024-01-05 13:44:59 +01:00
Jorge Martin Espinosa
00c27ffafc Use SubcomposeLayout for ContentAvoidingLayout (#2171)
Use `SubcomposeLayout` for `ContentAvoidingLayout`
2024-01-05 12:40:25 +00:00
Jorge Martin Espinosa
0e3f0ac6b5 Trim whitespace at the end of messages (#2169)
Trim whitespace at the end of messages
2024-01-05 12:40:10 +01:00
Jorge Martin Espinosa
936127c682 Fix crashes for extremely long messages with no line breaks (#2163) 2024-01-05 11:11:49 +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
Benoit Marty
d4c41e38cc Fix flaky test using deterministic awaitFirstItem instead of awaitLastSequentialItem 2024-01-05 09:31:54 +01:00
ganfra
690a165411 User search : show a loader when fetching results 2024-01-04 21:27:44 +01:00
Benoit Marty
1dc6e5edb3 Clean up 2024-01-04 18:45:34 +01:00
Benoit Marty
b466ade6a1 Rename parameter 2024-01-04 18:10:53 +01:00
Benoit Marty
d0f1a7e3e0 Replace showConfirmationDialog by disableAction Confirming state, and remove force boolean, we get read the state instead.
Also use AsyncActionView.
2024-01-04 18:07:09 +01:00
Benoit Marty
d78ce21939 Rename AsyncView to AsyncActionView 2024-01-04 17:50:52 +01:00