Commit graph

1060 commits

Author SHA1 Message Date
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
365c423190 Clean up 2024-01-04 18:45:34 +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
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
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
Marco Antonio Alvarez
8cdb9883eb Implement MSC4027 (Custom Images in Reactions)
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-03 23:30:14 +01:00
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>
2024-01-03 12:32:02 +01:00
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>
2024-01-02 16:03:19 +01:00
Jorge Martin Espinosa
5a593be997
Merge pull request #2119 from element-hq/misc/jme/add-rte-build-script
Add build script for the RTE library
2023-12-28 18:18:19 +01:00
Benoit Marty
dd4aa681c6 Remove now useless ExperimentalLayoutApi opt in 2023-12-28 12:41:02 +01:00
Jorge Martín
d5c8b62178 Add build script for the RTE library 2023-12-28 12:03:23 +01:00
Benoit Marty
3dd5bab7b6 Cleanup 2023-12-26 15:37:08 +01:00
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.
2023-12-26 15:27:08 +01:00
Benoit Marty
52c2e8ea08 Hide reaction is user do not have permission to send reaction #2093 2023-12-26 14:57:47 +01:00
Benoit Marty
29d23cbeee Refacto: move displayEmojiReactions to ActionListState.Target.Success 2023-12-26 14:45:08 +01:00
bmarty
e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges" 2023-12-22 11:02:07 +01:00
Benoit Marty
6ff48c2ee4 Fix tests now that Mentions feature is enabled. 2023-12-21 17:43:08 +01:00
Benoit Marty
3bb27a662a
Merge pull request #2080 from element-hq/feature/bma/roomListBadges
Room list badges
2023-12-21 16:44:10 +01:00
Benoit Marty
7273abd42b
Merge pull request #2041 from element-hq/feature/fga/fix_timeline_back_pagination_loop
Fix timeline back pagination loop in encrypted room.
2023-12-21 15:42:23 +01:00
Benoit Marty
f2c989cbd6 Iterate on indicators on room list #2079 2023-12-21 14:51:31 +01:00
Benoit Marty
98d9a65a1f Remove dead code (has been moved to selectroom module) 2023-12-21 14:09:59 +01:00
Jorge Martin Espinosa
a56151bc62
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
Benoit Marty
a7c5e620a4 Use icon from library and move and rename retry.xml to the library.
Also fix contentDescription for pause button.
2023-12-20 17:33:49 +01:00
Benoit Marty
f697d62831 Use Thread icon from Compound and delete ic_thread_decoration 2023-12-20 17:33:49 +01:00
Benoit Marty
c18959f0a0 Use VideoCallSolid and also delete local ic_video_call.xml icon. 2023-12-20 17:33:49 +01:00
Benoit Marty
fa600357c4 Fix reaction offset in DM and follow design #2076 2023-12-20 16:00:09 +01:00
Jorge Martin Espinosa
9ec67e3cbb
Rework timestamp positioning (#2075)
* Rework timestamp positioning

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-20 13:37:28 +00:00
ganfra
921e9d2ca4
Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
Benoit Marty
baa3bfc0d1
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
ganfra
78bd6915c7 BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
Benoit Marty
37a0982a67
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
ganfra
d641ef29ce Tests: replace "0" by FAKE_UNIQUE_ID when its ok. 2023-12-18 18:19:32 +01:00
Benoit Marty
cde8e0df25
Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
Benoit Marty
d0324323b9 Always show user avatar in message action sheet #2032 2023-12-18 14:36:44 +01:00
bmarty
e60508a631 Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty
5d4eaae933 Ensure test does not fail. 2023-12-15 20:07:11 +01:00