Commit Graph

2307 Commits

Author SHA1 Message Date
Benoit Marty
cc19bd9d0b Cleanup 2023-12-26 15:37:08 +01:00
Benoit Marty
b46f84ee5b 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
f0fc1507ec Hide reaction is user do not have permission to send reaction #2093 2023-12-26 14:57:47 +01:00
Benoit Marty
78f0ce0d27 Refacto: move displayEmojiReactions to ActionListState.Target.Success 2023-12-26 14:45:08 +01:00
bmarty
ada357b344 Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Benoit Marty
e589b97fa5 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)
2023-12-26 08:32:18 +01:00
Jorge Martín
b739cabbcd Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
This reverts commit e49c73188d, reversing
changes made to ba04bbc5ca.
2023-12-22 12:01:42 +01:00
Jorge Martin Espinosa
ada16a8563 Revert "Room list badges" 2023-12-22 11:02:07 +01:00
Benoit Marty
5d1b7c6446 Fix tests now that Mentions feature is enabled. 2023-12-21 17:43:08 +01:00
Benoit Marty
93fabfdc56 Merge pull request #2080 from element-hq/feature/bma/roomListBadges
Room list badges
2023-12-21 16:44:10 +01:00
Benoit Marty
a66ce1a3ea Fix test. 2023-12-21 16:11:03 +01:00
Benoit Marty
709e68f099 Handle PR review. 2023-12-21 16:05:51 +01:00
Benoit Marty
6b16995812 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
a83cafd6b7 We can have numUnreadMentions > 0 and numUnreadMessages == 0, in this case, display both icons. 2023-12-21 15:39:52 +01:00
Benoit Marty
e6ad262329 Iterate on indicators on room list #2079 2023-12-21 14:51:31 +01:00
Benoit Marty
799f351536 Remove dead code (has been moved to selectroom module) 2023-12-21 14:09:59 +01:00
Jorge Martin Espinosa
80c139974b 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
cc50d45141 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
f7f71ddf4a Use Thread icon from Compound and delete ic_thread_decoration 2023-12-20 17:33:49 +01:00
Benoit Marty
39298a22f3 Use VideoCallSolid and also delete local ic_video_call.xml icon. 2023-12-20 17:33:49 +01:00
Benoit Marty
4b8e92171a Merge pull request #2078 from element-hq/feature/bma/reactionOffsetInDm
Reaction offset in dm
2023-12-20 17:32:13 +01:00
Benoit Marty
e49c73188d Merge pull request #2071 from element-hq/feature/bma/fixTests
Attempt to fix test on CI.
2023-12-20 17:31:00 +01:00
Benoit Marty
43eece8785 Fix reaction offset in DM and follow design #2076 2023-12-20 16:00:09 +01:00
Benoit Marty
ba04bbc5ca Merge pull request #2077 from element-hq/feature/bma/timestamp
Feature/bma/timestamp
2023-12-20 15:17:43 +01:00
Benoit Marty
fb1de09d73 Last attempt... 2023-12-20 15:13:27 +01:00
Jorge Martin Espinosa
96ebe1a11c Font size on 'All Chats' was changing mid animation (#2073)
* Font size on 'All Chats' was changing mid animation
2023-12-20 13:52:19 +00:00
Jorge Martin Espinosa
9eb249c9e7 Rework timestamp positioning (#2075)
* Rework timestamp positioning

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-20 13:37:28 +00:00
Benoit Marty
875cc9adbf Second attempt... 2023-12-20 14:33:16 +01:00
Benoit Marty
b51b0c3994 Fix timestamp font #2065 2023-12-20 11:42:29 +01:00
ganfra
7d33409810 Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
Benoit Marty
badc17531c 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)
2023-12-20 09:15:50 +01:00
Benoit Marty
0c99a457e4 Add RoomListConfig to be able to hide menu items. And hide them #2062. 2023-12-19 15:10:22 +01:00
Benoit Marty
41634b8c92 Avoid using Material (not 3) theme 2023-12-19 14:59:33 +01:00
Benoit Marty
0b44b8b200 Move Config object to the config module and rename to AnalyticsConfig 2023-12-19 14:58:29 +01:00
Benoit Marty
aa077baacd 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
9f045fc7de Fix detekt 2023-12-19 12:59:13 +01:00
ganfra
280d55bd6e BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
Benoit Marty
ca2af100da 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
a47e654601 Tests: replace "0" by FAKE_UNIQUE_ID when its ok. 2023-12-18 18:19:32 +01:00
Benoit Marty
d6ada81bcd Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
Benoit Marty
a25c35176d Always show user avatar in message action sheet #2032 2023-12-18 14:36:44 +01:00
Benoit Marty
09c7558c1a Merge pull request #2039 from element-hq/feature/bma/fixInviteWording
Fix invite wording
2023-12-18 12:05:22 +01:00
bmarty
96dd875f3d Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty
f14ed0db68 Attempt to fix test on CI... 2023-12-17 11:25:28 +01:00
Benoit Marty
b8caa074ef Fix more test. 2023-12-15 21:14:56 +01:00
Benoit Marty
b8b37e85d9 Fix more test. 2023-12-15 21:08:50 +01:00
Benoit Marty
f4531bb074 Ensure test does not fail. 2023-12-15 20:07:11 +01:00
Benoit Marty
bc4da250e1 Also linkify emails. 2023-12-15 20:07:11 +01:00
Benoit Marty
bce100e913 Consider the returned value of LinkifyCompat.addLinks 2023-12-15 20:07:11 +01:00
Benoit Marty
7f867f2f68 Apply the same fix for emotes, notices and other message type. 2023-12-15 20:07:11 +01:00