Commit Graph

1176 Commits

Author SHA1 Message Date
ganfra
a77e5edef4 Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
cb6074fb2a Draft : code cleanup 2024-06-26 12:15:00 +02:00
ganfra
32f2b7534b Draft : add unit tests for draft support 2024-06-26 12:14:43 +02:00
ganfra
ece740322c Draft : makes sure all existing tests passes 2024-06-25 15:17:18 +02:00
ganfra
dfae2e50c9 Draft : refactor a bit ComposerMode and formatting management so we don't mess up with draft restoration. 2024-06-25 11:35:22 +02:00
Benoit Marty
a2eca372cc Fix format issue. 2024-06-24 12:03:38 +02:00
Benoit Marty
3270731f2b Improve the way we cut the bubble layout to give space for the sender Avatar.
Instead of drawing a circle with the same color of the background behind the avatar, properly clear the top start corner of the bubble using `CompositingStrategy.Offscreen` and `BlendMode.Clear`.
2024-06-24 11:21:43 +02:00
ganfra
9f45005c05 Reply : fix reply cropped in timeline 2024-06-21 15:42:26 +02:00
ganfra
1b1b556aa4 Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra
71667dc235 Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Jorge Martin Espinosa
ce91fe4ab2 Resolve display names in mentions in real time (#3051)
* Resolve display names in mentions in real time

* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`

* Also use local composition provider for `MentionSpanProvider`
2024-06-21 09:57:36 +00:00
ganfra
78da033541 Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +02:00
Benoit Marty
9f7f0b9acb Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
84f42537b8 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Benoit Marty
0b9f5a5214 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty
042ba6b35e Use heroes to render room avatars 2024-06-20 14:14:05 +02:00
ganfra
f821fa5862 Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
ganfra
a12fa8d8a4 Sending : copy link action should be available only for remote event 2024-06-19 12:06:37 +02:00
ganfra
a92ce8d004 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
ganfra
93ccf07ad4 Merge pull request #3037 from element-hq/feature/fga/timeline_cancelable_focus
Feature/fga/timeline cancelable focus
2024-06-18 10:59:54 +02:00
Jorge Martin Espinosa
feef0f6976 Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
ganfra
56251f805c Timeline : let FocusOnEvent be cancellable and refactor a bit focus states. 2024-06-14 19:07:44 +02:00
ganfra
4f3cb5a1e5 Progress dialog : add dialog properties parameter 2024-06-14 18:59:42 +02:00
ganfra
6d4d9db8a1 Sending queue : fix more tests. 2024-06-13 10:27:57 +02:00
ganfra
009c1ac181 Fix ktlint 2024-06-12 17:06:43 +02:00
ganfra
d63ee1fa7d Sending queue : fix more tests as we have less methods available now. 2024-06-12 16:54:49 +02:00
ganfra
1b411c3c4b Sending queue : disable edition of local echo 2024-06-12 11:36:53 +02:00
ganfra
71b6482094 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra
bbd8e5d8dc Sending queue : code quality 2024-06-11 17:05:12 +02:00
ganfra
6053099457 Sending queue : remove onTimelineClik on TimelineViewTest (temporary) 2024-06-11 16:52:57 +02:00
Benoit Marty
e2aa84804d Merge pull request #3000 from element-hq/sync-localazy
Sync Strings
2024-06-11 15:16:55 +02:00
Benoit Marty
1e3c0f319a Un-deprecate screen_room_retry_send_menu_send_again_action and sync string again. 2024-06-11 14:35:46 +02:00
Jorge Martin Espinosa
a16dff14f8 Add timeline item for m.call.notify events (#2986)
* Add timeline item for `m.call.notify` events

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 14:55:37 +00:00
Jorge Martin Espinosa
6f8de0b2c6 Element Call ringing notifications (#2978)
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
bmarty
57510316ec Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
ganfra
24c5f7a068 matrix : update rust sdk to 0.2.24 2024-06-07 11:59:27 +02:00
ganfra
25fca70047 Message queuing : use redactEvent on timeline instead of room. 2024-06-06 15:23:28 +02:00
ganfra
ed76598fa7 Message queuing : remove timestamp error state and timestamp click in timeline item. 2024-06-05 17:41:31 +02:00
ganfra
9415e58bdf Message queuing : remove LocalEventSendState.Canceled 2024-06-05 17:02:04 +02:00
ganfra
ed9420fbac Message queuing : remove RetrySendMenu classes and usages 2024-06-05 16:56:13 +02:00
Benoit Marty
8b218e3992 Fix test 2024-06-05 14:59:47 +02:00
Benoit Marty
92bcf9c90e When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
Benoit Marty
4e3774308e Merge pull request #2970 from element-hq/feature/bma/moreAnalytics
Track when the user starts a room call and when they enable formatting options on the message composer
2024-06-05 09:21:28 +02:00
ganfra
8976c859a1 TimelineControllerTest: try removing flakiness of one test 2024-06-04 17:24:16 +02:00
Benoit Marty
a5f3b9909c Analytics: track interaction Interaction.Name.MobileRoomComposerFormattingEnabled 2024-06-03 18:34:28 +02:00
Benoit Marty
75bee23221 Analytics: track interaction Interaction.Name.MobileRoomCallButton 2024-06-03 18:19:12 +02:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
e0c55ff4c8 Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Benoit Marty
dce8f0ea38 Rename function. 2024-05-31 10:51:10 +02:00
Benoit Marty
3b8372f2aa Add test on ForwardMessagesView 2024-05-31 10:51:09 +02:00