Commit Graph

1397 Commits

Author SHA1 Message Date
Benoit Marty
d6407d6995 Restore fun interface for a sweeter code. 2024-10-16 17:12:46 +02:00
Benoit Marty
62f6791865 Remove unused isLocal field. 2024-10-16 16:19:04 +02:00
Benoit Marty
58f0cbc5cf Fix wrong mapping 2024-10-16 16:10:18 +02:00
Benoit Marty
83de862fc1 Fix other API change: EventShieldsProvider and EventTimelineItemDebugInfoProvider have been replaced by LazyTimelineItemProvider 2024-10-16 16:10:16 +02:00
Benoit Marty
2724815d79 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
99a5ae14ff Merge pull request #3681 from element-hq/feature/bma/rtlIssue
RTL: ensure sender information are correctly rendered in the timeline
2024-10-16 12:01:17 +02:00
Benoit Marty
4ec7e6fa87 Use size from the DrawScope. 2024-10-16 11:26:26 +02:00
Benoit Marty
fe6c381500 Fix tests. 2024-10-16 10:01:04 +02:00
Benoit Marty
9fc6b01a0c Add userId in identity change warning banner #3678 2024-10-15 18:02:23 +02:00
Benoit Marty
98fbb04fae RTL: ensure the sender information are displayed at the start of the screen. 2024-10-15 10:39:59 +02:00
Benoit Marty
e8eae1eb97 RTL: ensure the top start corner is cropped. 2024-10-15 10:32:26 +02:00
Benoit Marty
67c8b9440f Import fun 2024-10-14 21:13:52 +02:00
Benoit Marty
1fd703fa67 Fix regression due to icon now supports RTL. 2024-10-14 21:13:50 +02:00
Benoit Marty
5ede66afc0 Remove useless return 2024-10-14 20:58:51 +02:00
Benoit Marty
88c617d13e Add feature flag IdentityPinningViolationNotifications.
Disabled in production build, enabled by default on other builds.
2024-10-10 16:28:15 +02:00
ganfra
f43c92723b Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
ganfra
d73b1bad91 misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +02:00
Benoit Marty
3801f85a9c Do not render pin violation in clear room. 2024-10-08 18:30:08 +02:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
dc7c801a96 Cleanup 2024-10-08 15:02:04 +02:00
Benoit Marty
576370cdf3 Fix regression. 2024-10-08 14:56:50 +02:00
Benoit Marty
152a002c8a Create data classes TypingRoomMember and IdentityRoomMember to avoid the risk of useless recomposition.
Also remove TypingNotificationStateForMessagesProvider which was not used anymore.
2024-10-08 14:54:49 +02:00
Benoit Marty
2b9899063c Use produceState 2024-10-08 14:15:23 +02:00
Benoit Marty
a0205cf1e9 Fix Emoji test 2024-10-08 14:14:39 +02:00
Benoit Marty
a1b60a26ad tom 2024-10-08 13:55:46 +02:00
Benoit Marty
dac6a572d9 Rename val for clarity 2024-10-08 13:47:47 +02:00
Benoit Marty
423da63597 Use produceState 2024-10-08 13:45:25 +02:00
Benoit Marty
68e990f15c Fix preview of identity change banner in a timeline. 2024-10-08 11:48:09 +02:00
Benoit Marty
d9627337fc Fix broken previews 2024-10-08 11:48:06 +02:00
Benoit Marty
9b7a9b2183 Improve code. 2024-10-08 11:23:11 +02:00
Benoit Marty
c8ff0d5641 Fix code quality. 2024-10-08 11:09:46 +02:00
Benoit Marty
351f058f06 Fix compilation issues. 2024-10-08 10:27:07 +02:00
Benoit Marty
57e45aa834 Identity change: handle click on "learn more" 2024-10-08 09:35:18 +02:00
Benoit Marty
b7d444254c Avoid using application context. 2024-10-08 09:06:40 +02:00
Benoit Marty
6ab99c3070 Do not inject presenter directly. 2024-10-07 22:25:05 +02:00
Benoit Marty
9d815d26b4 Pin user identity. 2024-10-07 22:19:13 +02:00
Benoit Marty
9b94edcfa3 Render PinViolation above the composer. 2024-10-07 22:18:32 +02:00
Benoit Marty
8fadcaf38d Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty
6d87c8ad19 Remove dependencies to other presenters in MessagesPresenter. 2024-10-07 17:46:17 +02:00
Benoit Marty
46e6ef101c Merge pull request #3611 from frebib/frebib/black-on-black
Fix black-on-black status bars with hidden media
2024-10-07 09:38:38 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Joe Groocock
042b6e61be Use CircleShape instead of 50% RoundedCornerShape
This is a builtin alias for the same thing.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:57:07 +00:00
Joe Groocock
aa6159e9ad Fix black-on-black status bars with hidden media
In dark mode, the ElementTheme composable incorrectly applied a dark
colour to the status bars, which was nearly invisible on top of the
black background of the app.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:54:42 +00:00
Benoit Marty
5a962c5d2d Do not inject the TimelineProtectionPresenter 2024-10-04 17:02:05 +02:00
Benoit Marty
643fe9ec65 Fix preview name. 2024-10-04 17:02:04 +02:00
Benoit Marty
a73c8b1e25 Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
Benoit Marty
76eb4b73f3 Let invokeOnCurrentTimeline lambda param return Unit so that we can remove run block. 2024-10-04 17:02:02 +02:00
Benoit Marty
3109fedb0f SuppressWarnings ModifierClickableOrder 2024-10-04 17:02:02 +02:00
Benoit Marty
090b989d2a Hide images: iterate on design. 2024-10-04 17:01:59 +02:00