Commit Graph

1249 Commits

Author SHA1 Message Date
Benoit Marty
5c2072ae5b Merge pull request #3307 from element-hq/feature/bma/cleanup
Cleanup and add unit test for DefaultPinnedMessagesBannerFormatter
2024-08-20 09:10:31 +02:00
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Benoit Marty
260d3eb39e Remove useless Boxes. 2024-08-16 11:58:18 +02:00
Benoit Marty
615e75296c Default value to redact own message should be true. 2024-08-16 11:58:18 +02:00
Benoit Marty
7182baf298 Move editMessageLambda to the constructor. 2024-08-16 11:58:17 +02:00
Benoit Marty
350c678199 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
Benoit Marty
0190cb5626 Add UI test on clicking on message shield.
Need to add content description on the shield icon.
2024-08-16 11:16:07 +02:00
Benoit Marty
750ecbee82 Add test on TimelineEvents.ShowShieldDialog and TimelineEvents.HideShieldDialog 2024-08-16 10:45:20 +02:00
Benoit Marty
f280ea6a0d Iterate on mapping MessageShield -> icon
iOS impl: https://github.com/element-hq/element-x-ios/blob/develop/ElementX/Sources/Services/Timeline/TimelineItemContent/EncryptionAuthenticity.swift#L59-L65
2024-08-16 09:56:01 +02:00
Benoit Marty
0362498fae Make extension isCritical a val instead of a fun. 2024-08-16 09:56:01 +02:00
Benoit Marty
34268a30ea Iterate on shield mapping and rendering
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
Benoit Marty
5dceba8146 Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +02:00
ganfra
ad85732427 Pinned events : minor code quality changes 2024-08-08 14:51:49 +02:00
ganfra
9334ba6ed5 Pinned events: make sure state is preserved 2024-08-07 19:00:41 +02:00
ganfra
4f6fbea5b9 Pinned events: fix public compose method. 2024-08-07 16:31:23 +02:00
ganfra
3cdf0971a6 Pinned events : banner goes backward instead of forward 2024-08-07 15:57:27 +02:00
ganfra
4330b1e685 Pinned events : add some ui testing 2024-08-07 12:26:52 +02:00
ganfra
a7bf0b4900 Pinned events : use correct ordering logic 2024-08-06 19:05:08 +02:00
ganfra
b13e121dc6 Pinned events : fix click on banner 2024-08-06 16:51:53 +02:00
ganfra
291ccd45da Pinned events: add tests on PinnedMessagesBannerPresenter 2024-08-06 16:13:30 +02:00
ganfra
4771b25fe3 Pinned events : handle loading/error on banner 2024-08-06 15:08:45 +02:00
ganfra
7d177b4b4d Pinned events : handle focus on pinned event 2024-08-02 15:35:53 +02:00
ganfra
c820003414 Pinned events : add the glue for the ViewAll click. 2024-08-02 12:18:36 +02:00
ganfra
9a8c58313d Pinned events : only load data if feature is enabled 2024-08-02 11:14:24 +02:00
ganfra
9985526137 Pinned events : start branching sdk data in the banner. 2024-08-01 18:34:52 +02:00
ganfra
3971ee333d Pinned events : clean up more banner code 2024-07-31 15:51:19 +02:00
ganfra
88c07511d8 Pinned events : clean up banner code and add small test. 2024-07-31 13:44:46 +02:00
ganfra
a8115e0a21 Merge branch 'develop' into feature/fga/pinned_message_banner_ui 2024-07-31 13:11:51 +02:00
renovate[bot]
69ad8144a2 Update dependency io.nlopez.compose.rules:detekt to v0.4.8 (#3254)
* Update dependency io.nlopez.compose.rules:detekt to v0.4.8

* Fix new lint issues

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-07-31 11:08:11 +02:00
ganfra
c2f62c6b98 Pinned events : add more tests on pin/unpin 2024-07-30 20:55:11 +02:00
ganfra
4da18935cd Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-30 20:44:51 +02:00
ganfra
a4f14c29cf Pinned events : add more tests on pin/unpin 2024-07-30 19:13:35 +02:00
ganfra
81c14926d8 Pinned event : log and show snackbar on error 2024-07-30 19:12:29 +02:00
ganfra
3bc6cc0a94 Pinned events : clean up code 2024-07-30 16:40:18 +02:00
ganfra
a289f93079 Pinned event : add some tests 2024-07-30 16:38:11 +02:00
ganfra
ed3593f35a Pinned events: branch pin/unpin according to current state 2024-07-30 13:32:10 +02:00
ganfra
56b8b377e4 Pinned events: add unpin action 2024-07-30 11:52:45 +02:00
ganfra
4b8b8d1af9 Pinned event : branch pinEvent action 2024-07-29 13:43:57 +02:00
ganfra
6ad547833f Refactor userEventPermissions 2024-07-29 13:43:47 +02:00
bmarty
d288ace4bd Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ganfra
233a1ff09e Pinned event: add action on timeline 2024-07-26 18:20:17 +02:00
ganfra
3adc6d0be8 Timeline Action : refactor how it's computed and align with iOS 2024-07-26 18:20:03 +02:00
ganfra
2d02c01d5f Pinned event : hide/show banner on timeline scroll 2024-07-25 18:37:46 +02:00
ganfra
4d5aad7899 Merge remote-tracking branch 'origin/develop' into feature/fga/pinned_message_banner_ui 2024-07-25 17:59:04 +02:00
Valere
61e091ca42 review: Konsist fix 2024-07-25 10:22:15 +02:00
Valere
1a671f708e Message Shields - i18n 2024-07-25 10:01:27 +02:00
Valere
33e09edd62 Timeline UI | MessageShield Support 2024-07-25 10:01:27 +02:00
ganfra
f5d215ba0f Edit : fallback to room.edit when timeline item is not found. 2024-07-24 11:49:16 +02:00
ganfra
df09d82a58 Pinned messages : introduces banner view 2024-07-23 13:05:59 +02:00
Jorge Martin Espinosa
1b016946ea Fix linkification not working for Spanned strings in text messages (#3233)
* Fix linkification not working for `Spanned` string instead of `Spannable`.

This issue was found as a regression after upgrading the RTE version to `2.37.7`.

* Fix and add tests
2024-07-22 09:09:20 +00:00