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
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
35baaa6209
Add missing test for SecureBackupEnablePresenter
2023-12-28 16:33:53 +01:00
Benoit Marty
4f9fc2cfcf
Fix compilation issue with compose compiler 1.5.7
2023-12-28 12:41:02 +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
b7b1c0d1fc
Merge pull request #2111 from element-hq/feature/bma/directLogout
...
Direct logout
2023-12-26 17:58:23 +01:00
Benoit Marty
d05cf6d649
Move the logic to the Node, which handles navigation.
2023-12-26 15:47:42 +01:00
Benoit Marty
7db7a32d43
Use a RetryDialog here, it does not change the rendering, but is more appropriate.
2023-12-26 15:42:44 +01:00
Benoit Marty
481d80d1f0
Add comment to clarify the SteadyException case.
2023-12-26 15:39:56 +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
Benoit Marty
1f2b2df469
Quality
2023-12-26 13:24:59 +01:00
Benoit Marty
c871dc2492
Add test for DefaultDirectLogoutPresenter
2023-12-26 12:38:03 +01:00
Benoit Marty
25e4e0424d
Test more fields
2023-12-26 12:21:32 +01:00
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.
2023-12-26 12:17:09 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
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)
2023-12-26 08:32:18 +01:00
Jorge Martín
c5c920cfa6
Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
...
This reverts commit 19edf067fa , reversing
changes made to fb766f5176 .
2023-12-22 12:01:42 +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
91027f82e9
Fix test.
2023-12-21 16:11:03 +01:00
Benoit Marty
02fe9c4580
Handle PR review.
2023-12-21 16:05:51 +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
3a7804b3b0
We can have numUnreadMentions > 0 and numUnreadMessages == 0, in this case, display both icons.
2023-12-21 15:39:52 +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
f65ef7daf9
Merge pull request #2078 from element-hq/feature/bma/reactionOffsetInDm
...
Reaction offset in dm
2023-12-20 17:32:13 +01:00
Benoit Marty
19edf067fa
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
fa600357c4
Fix reaction offset in DM and follow design #2076
2023-12-20 16:00:09 +01:00
Benoit Marty
fb766f5176
Merge pull request #2077 from element-hq/feature/bma/timestamp
...
Feature/bma/timestamp
2023-12-20 15:17:43 +01:00
Benoit Marty
258e074978
Last attempt...
2023-12-20 15:13:27 +01:00
Jorge Martin Espinosa
0e1d9e82f5
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
9ec67e3cbb
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
f94f5e4713
Second attempt...
2023-12-20 14:33:16 +01:00
Benoit Marty
3d9fbe70d4
Fix timestamp font #2065
2023-12-20 11:42:29 +01: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
139f5cdf72
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
03a00330a6
Add RoomListConfig to be able to hide menu items. And hide them #2062 .
2023-12-19 15:10:22 +01:00
Benoit Marty
210edd71ed
Avoid using Material (not 3) theme
2023-12-19 14:59:33 +01:00
Benoit Marty
c8532a8dd6
Move Config object to the config module and rename to AnalyticsConfig
2023-12-19 14:58:29 +01:00