Commit graph

1176 commits

Author SHA1 Message Date
ganfra
1b56d1b97a Merge branch 'develop' into feature/fga/draft_support 2024-06-26 15:22:00 +02:00
ganfra
644b425d71 Draft : code cleanup 2024-06-26 12:15:00 +02:00
ganfra
029962c101 Draft : add unit tests for draft support 2024-06-26 12:14:43 +02:00
ganfra
e68684815d Draft : makes sure all existing tests passes 2024-06-25 15:17:18 +02:00
ganfra
321c2dca30 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
d14b9de8c9 Fix format issue. 2024-06-24 12:03:38 +02:00
Benoit Marty
315392d8ef 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
2d324a7f4b Reply : fix reply cropped in timeline 2024-06-21 15:42:26 +02:00
ganfra
6ac7ab84ce Draft : branch reply mode 2024-06-21 12:40:16 +02:00
ganfra
5597a1743a Reply : refactor so we can use ReplyToDetails in Composer and Timeline 2024-06-21 12:23:17 +02:00
Jorge Martin Espinosa
310a7fc229
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
08816bd2df Reply : move InReplyTo and related to matrix.ui module. 2024-06-20 17:38:56 +02:00
Benoit Marty
33c76dfd2d Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
a2ff1dc933 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Benoit Marty
a9f23c06b0 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty
99c90f1ced Use heroes to render room avatars 2024-06-20 14:14:05 +02:00
ganfra
9aa82b42fd Draft : introduce DraftService and start using it. 2024-06-20 11:28:07 +02:00
ganfra
72dc9394ed Sending : copy link action should be available only for remote event 2024-06-19 12:06:37 +02:00
ganfra
0e94771f03 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
ganfra
2b5ea96110
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
b741c32e91
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
75b1c22197 Timeline : let FocusOnEvent be cancellable and refactor a bit focus states. 2024-06-14 19:07:44 +02:00
ganfra
f53dbef8de Progress dialog : add dialog properties parameter 2024-06-14 18:59:42 +02:00
ganfra
ccf7efe9b1 Sending queue : fix more tests. 2024-06-13 10:27:57 +02:00
ganfra
bc4922afbb Fix ktlint 2024-06-12 17:06:43 +02:00
ganfra
c177d3de7b Sending queue : fix more tests as we have less methods available now. 2024-06-12 16:54:49 +02:00
ganfra
2ce02c564a Sending queue : disable edition of local echo 2024-06-12 11:36:53 +02:00
ganfra
b927daffe7 Merge branch 'develop' into feature/fga/message_queuing 2024-06-11 17:08:47 +02:00
ganfra
a603855933 Sending queue : code quality 2024-06-11 17:05:12 +02:00
ganfra
60de33b8c6 Sending queue : remove onTimelineClik on TimelineViewTest (temporary) 2024-06-11 16:52:57 +02:00
Benoit Marty
756905b9cd
Merge pull request #3000 from element-hq/sync-localazy
Sync Strings
2024-06-11 15:16:55 +02:00
Benoit Marty
0fa662175d 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
02d6fa7a92
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
30a1367714
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
f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
ganfra
a428922007 matrix : update rust sdk to 0.2.24 2024-06-07 11:59:27 +02:00
ganfra
7100a9d619 Message queuing : use redactEvent on timeline instead of room. 2024-06-06 15:23:28 +02:00
ganfra
431f7a4182 Message queuing : remove timestamp error state and timestamp click in timeline item. 2024-06-05 17:41:31 +02:00
ganfra
4d8810a55a Message queuing : remove LocalEventSendState.Canceled 2024-06-05 17:02:04 +02:00
ganfra
53a1cb5a3c Message queuing : remove RetrySendMenu classes and usages 2024-06-05 16:56:13 +02:00
Benoit Marty
3b0c59e648 Fix test 2024-06-05 14:59:47 +02:00
Benoit Marty
3ddec73ac5 When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
Benoit Marty
698254744a
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
e7c017af21 TimelineControllerTest: try removing flakiness of one test 2024-06-04 17:24:16 +02:00
Benoit Marty
c4b61627a2 Analytics: track interaction Interaction.Name.MobileRoomComposerFormattingEnabled 2024-06-03 18:34:28 +02:00
Benoit Marty
de36552f93 Analytics: track interaction Interaction.Name.MobileRoomCallButton 2024-06-03 18:19:12 +02:00
bmarty
66636ea967 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
e29f919abc
Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Benoit Marty
063fd48422 Rename function. 2024-05-31 10:51:10 +02:00
Benoit Marty
3cf27ccf54 Add test on ForwardMessagesView 2024-05-31 10:51:09 +02:00