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
Benoit Marty
35baaa6209
Add missing test for SecureBackupEnablePresenter
9 months ago
Benoit Marty
4f9fc2cfcf
Fix compilation issue with compose compiler 1.5.7
9 months ago
Benoit Marty
dd4aa681c6
Remove now useless ExperimentalLayoutApi opt in
9 months ago
Jorge Martín
d5c8b62178
Add build script for the RTE library
9 months ago
Benoit Marty
d05cf6d649
Move the logic to the Node, which handles navigation.
9 months ago
Benoit Marty
7db7a32d43
Use a RetryDialog here, it does not change the rendering, but is more appropriate.
9 months ago
Benoit Marty
481d80d1f0
Add comment to clarify the `SteadyException` case.
9 months ago
Benoit Marty
3dd5bab7b6
Cleanup
9 months ago
Benoit Marty
7414dfaa4d
Hide add more reaction button if user do not have permission to send reaction #2093
...
Also:
- move `userHasPermissionToSendMessage` to `TimelineRoomInfo`
- remove `canReply` parameter which can be computed from other params.
9 months ago
Benoit Marty
52c2e8ea08
Hide reaction is user do not have permission to send reaction #2093
9 months ago
Benoit Marty
29d23cbeee
Refacto: move `displayEmojiReactions` to `ActionListState.Target.Success`
9 months ago
Benoit Marty
1f2b2df469
Quality
9 months ago
Benoit Marty
c871dc2492
Add test for `DefaultDirectLogoutPresenter`
9 months ago
Benoit Marty
25e4e0424d
Test more fields
9 months ago
Benoit Marty
2b983e923e
Sign out: direct flow if not last session and if not currently backing up keys #2072
...
Extract some stuff from existing Logout to avoid duplication.
9 months ago
bmarty
e6f4a7364f
Sync Strings from Localazy
9 months ago
Benoit Marty
b9b746bea7
Attempt to fix test on CI.
...
The test is failing on CI with this error:
expected instance of: io.element.android.libraries.architecture.Async$Success
but was instance of : io.element.android.libraries.architecture.Async$Loading
with value : Loading(prevData=null)
9 months ago
Jorge Martín
c5c920cfa6
Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
...
This reverts commit 19edf067fa
, reversing
changes made to fb766f5176
.
9 months ago
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges"
9 months ago
Benoit Marty
6ff48c2ee4
Fix tests now that Mentions feature is enabled.
9 months ago