Benoit Marty
a83eaede1f
Remove ReadReceipts feature flag.
8 months ago
Benoit Marty
cdd5124e32
Fix detekt issue.
8 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
8 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
8 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
8 months ago
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>
8 months ago
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>
8 months ago
Benoit Marty
371065bfdd
Exclude `ContentToPreview` from coverage, either by using annotation @ExcludeFromCoverage , or by inlining it.
8 months ago
Benoit Marty
5e42368965
Add missing test for LogoutView
8 months ago
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
9 months ago
Benoit Marty
54e499d0d0
Remove empty test module
9 months ago
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
9 months ago
Benoit Marty
0756a2d3e4
exclude `items.count()`, which is not a valid index for the list.
9 months ago
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
9 months ago
Benoit Marty
2a6a3ded5e
Iterate on EnsureCalledOnce devX
9 months ago
Benoit Marty
2c667a0dc0
Add `run` method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that `assertSuccess` is always called.
9 months ago
Benoit Marty
dee8008917
Use string resource instead of hard-coded strings.
9 months ago
bmarty
9c6e511319
Sync Strings from Localazy
9 months ago
Benoit Marty
7944804cd9
Fix test in release.
9 months ago
Benoit Marty
44ad93f625
Add first tests on compose click interaction.
9 months ago
ganfra
44b6a97c90
Rename isFetchingSearchResults to showSearchLoader
9 months ago
ganfra
a0ba83c863
Rename SearchBarResultState.Empty to SearchBarResultState.Initial
9 months ago
ganfra
9fcc50e08a
Rename UserSearchResults as UserSearchResultState
9 months ago
ganfra
96d02a19a9
Fix detekt
9 months ago
ganfra
8842d53038
RoomInviteMembers : add small tests
9 months ago
ganfra
109aea5ede
MatrixUserRepo : fix tests
9 months ago
Jorge Martin Espinosa
3a2191ee43
Use `SubcomposeLayout` for `ContentAvoidingLayout` ( #2171 )
...
Use `SubcomposeLayout` for `ContentAvoidingLayout`
9 months ago
Jorge Martin Espinosa
e04780fbf6
Trim whitespace at the end of messages ( #2169 )
...
Trim whitespace at the end of messages
9 months ago
Jorge Martin Espinosa
4776fc5452
Fix crashes for extremely long messages with no line breaks ( #2163 )
9 months ago
Benoit Marty
1fcb8fea00
Fix flaky test using deterministic `awaitFirstItem` instead of `awaitLastSequentialItem`
9 months ago
ganfra
c6b3387b62
User search : show a loader when fetching results
9 months ago
Benoit Marty
365c423190
Clean up
9 months ago
Benoit Marty
ce97987399
Rename parameter
9 months ago
Benoit Marty
e702dd7995
Replace `showConfirmationDialog` by `disableAction` `Confirming` state, and remove `force` boolean, we get read the state instead.
...
Also use AsyncActionView.
9 months ago
Benoit Marty
e42005fc52
Rename AsyncView to AsyncActionView
9 months ago
Benoit Marty
7b2341aec7
Rename Async to AsyncData
9 months ago
Benoit Marty
3b2882ce2f
Fix test compilation
9 months ago
Benoit Marty
d953c979e1
Introduce AsyncAction with a Confirmation state and use it for logout action.
9 months ago
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>
9 months ago
Marco Antonio Alvarez
5d93140043
add comment about sticker forwarding being disabled
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Marco Antonio Alvarez
dc8cdb32f0
Disable forwarding for stickers (until it can be properly fixed)
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Marco Antonio Alvarez
4a6135eed6
use different heights for reaction summary view and reaction buttons
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
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>
9 months ago
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>
9 months ago
Marco Antonio Alvarez
6880bf2166
fix top level property naming
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Marco Antonio Alvarez
50e3605214
fix Modifier forbidden pattern and missing const
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Marco Antonio Alvarez
8cdb9883eb
Implement MSC4027 (Custom Images in Reactions)
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Jorge Martin Espinosa
4f6c7421bd
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>
9 months ago
Marco Antonio Alvarez
87c8bc133f
[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>
9 months ago
Benoit Marty
bc6d47b288
Add support for sending images from the keyboard #1977
9 months ago