Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
Benoit Marty
a831f05f6e
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
c8bd362397
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
13e8e954d3
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
2bdf2c0bbd
Merge pull request #1782 from element-hq/feature/bma/upgradeKover
...
Upgrade kover
2024-01-09 17:52:14 +01:00
Jorge Martin Espinosa
e8c6226586
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
54e499d0d0
Remove empty test module
2024-01-09 10:45:36 +01:00
Jorge Martin Espinosa
afacef0146
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
df368390f9
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
b2cff05e5b
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
0756a2d3e4
exclude items.count(), which is not a valid index for the list.
2024-01-08 11:41:29 +01:00
Benoit Marty
08d78740ab
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
2a6a3ded5e
Iterate on EnsureCalledOnce devX
2024-01-08 10:07:48 +01:00
Benoit Marty
2c667a0dc0
Add run method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that assertSuccess is always called.
2024-01-08 10:01:26 +01:00
Benoit Marty
dee8008917
Use string resource instead of hard-coded strings.
2024-01-08 09:50:08 +01:00
Benoit Marty
b6f88f9792
Merge branch 'develop' into feature/bma/sendImageFromKeyboard
2024-01-08 08:59:00 +01:00
bmarty
9c6e511319
Sync Strings from Localazy
2024-01-08 00:10:36 +00:00
Benoit Marty
7944804cd9
Fix test in release.
2024-01-05 18:20:26 +01:00
Benoit Marty
44ad93f625
Add first tests on compose click interaction.
2024-01-05 18:00:44 +01:00
ganfra
44b6a97c90
Rename isFetchingSearchResults to showSearchLoader
2024-01-05 15:54:50 +01:00
ganfra
a0ba83c863
Rename SearchBarResultState.Empty to SearchBarResultState.Initial
2024-01-05 15:40:02 +01:00
ganfra
9fcc50e08a
Rename UserSearchResults as UserSearchResultState
2024-01-05 15:34:01 +01:00
ganfra
46c7757ab8
Merge branch 'develop' into feature/fga/invite_user_loader
2024-01-05 14:02:58 +01:00
ganfra
96d02a19a9
Fix detekt
2024-01-05 13:56:59 +01:00
ganfra
8842d53038
RoomInviteMembers : add small tests
2024-01-05 13:53:02 +01:00
ganfra
109aea5ede
MatrixUserRepo : fix tests
2024-01-05 13:44:59 +01:00
Jorge Martin Espinosa
3a2191ee43
Use SubcomposeLayout for ContentAvoidingLayout ( #2171 )
...
Use `SubcomposeLayout` for `ContentAvoidingLayout`
2024-01-05 12:40:25 +00:00
Jorge Martin Espinosa
e04780fbf6
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
4776fc5452
Fix crashes for extremely long messages with no line breaks ( #2163 )
2024-01-05 11:11:49 +00:00
Benoit Marty
49487481ec
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
1fcb8fea00
Fix flaky test using deterministic awaitFirstItem instead of awaitLastSequentialItem
2024-01-05 09:31:54 +01:00
ganfra
c6b3387b62
User search : show a loader when fetching results
2024-01-04 21:27:44 +01:00
Benoit Marty
365c423190
Clean up
2024-01-04 18:45:34 +01:00
Benoit Marty
ce97987399
Rename parameter
2024-01-04 18:10:53 +01:00
Benoit Marty
e702dd7995
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
e42005fc52
Rename AsyncView to AsyncActionView
2024-01-04 17:50:52 +01:00
Benoit Marty
7b2341aec7
Rename Async to AsyncData
2024-01-04 16:30:56 +01:00
Benoit Marty
3b2882ce2f
Fix test compilation
2024-01-04 16:23:54 +01:00
Benoit Marty
f5a229dbd4
Merge pull request #2160 from surakin/msc4027
...
Implement MSC4027 (Custom images in reactions)
2024-01-04 16:23:30 +01:00
Benoit Marty
e752248de1
Merge pull request #2162 from surakin/do-not-forward-stickers
...
Disable forwarding for stickers (until it can be properly fixed)
2024-01-04 16:17:20 +01:00
Benoit Marty
d953c979e1
Introduce AsyncAction with a Confirmation state and use it for logout action.
2024-01-04 15:56:16 +01:00
Jorge Martin Espinosa
0ca9780337
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
Marco Antonio Alvarez
5d93140043
add comment about sticker forwarding being disabled
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 13:57:16 +01:00
Marco Antonio Alvarez
dc8cdb32f0
Disable forwarding for stickers (until it can be properly fixed)
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 13:04:56 +01:00
Marco Antonio Alvarez
4a6135eed6
use different heights for reaction summary view and reaction buttons
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 10:53:53 +01:00
Marco Antonio Alvarez
639c3495aa
Merge branch 'develop' into msc4027
2024-01-04 09:42:23 +01:00
Marco Antonio Alvarez
c914b76994
use AsyncImage instead of BlurHashAsyncImage
...
move emoji line height to a private value
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:20:21 +01:00
Marco Antonio Alvarez
a81fdddab0
[Technical] Open stickers using the thumbnail url if the main url is empty ( #2157 )
...
* Explicitely use the thumbnail url to show stickers if the content's url is an empty string
---------
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:06:30 +01:00
Marco Antonio Alvarez
6880bf2166
fix top level property naming
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:01:29 +01:00
Marco Antonio Alvarez
50e3605214
fix Modifier forbidden pattern and missing const
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 08:50:58 +01:00