Commit graph

1252 commits

Author SHA1 Message Date
Benoit Marty
3350b661e7 Fix import ordering. 2024-08-21 16:31:03 +02:00
Benoit Marty
4c8f23a0cb Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Benoit Marty
57d927e9aa Suggestion for room alias.
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
Benoit Marty
6b528596ed
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
3e67448006 Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Benoit Marty
6776df8b40 Remove useless Boxes. 2024-08-16 11:58:18 +02:00
Benoit Marty
25eb1fa7a4 Default value to redact own message should be true. 2024-08-16 11:58:18 +02:00
Benoit Marty
70558aa381 Move editMessageLambda to the constructor. 2024-08-16 11:58:17 +02:00
Benoit Marty
459f60d8a0 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
Benoit Marty
2116108a2c 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
3f90b02e54 Add test on TimelineEvents.ShowShieldDialog and TimelineEvents.HideShieldDialog 2024-08-16 10:45:20 +02:00
Benoit Marty
4efa95bc0b 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
3676bca042 Make extension isCritical a val instead of a fun. 2024-08-16 09:56:01 +02:00
Benoit Marty
faf1e7da9f 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
5d10b1fe85
Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +02:00
ganfra
a5d633a02f Pinned events : minor code quality changes 2024-08-08 14:51:49 +02:00
ganfra
331413e8b4 Pinned events: make sure state is preserved 2024-08-07 19:00:41 +02:00
ganfra
ac14845797 Pinned events: fix public compose method. 2024-08-07 16:31:23 +02:00
ganfra
49f4526338 Pinned events : banner goes backward instead of forward 2024-08-07 15:57:27 +02:00
ganfra
04995cb26c Pinned events : add some ui testing 2024-08-07 12:26:52 +02:00
ganfra
c609a7d002 Pinned events : use correct ordering logic 2024-08-06 19:05:08 +02:00
ganfra
d7edc7e165 Pinned events : fix click on banner 2024-08-06 16:51:53 +02:00
ganfra
0390ede2ad Pinned events: add tests on PinnedMessagesBannerPresenter 2024-08-06 16:13:30 +02:00
ganfra
50fd2558de Pinned events : handle loading/error on banner 2024-08-06 15:08:45 +02:00
ganfra
ca47a1c6d5 Pinned events : handle focus on pinned event 2024-08-02 15:35:53 +02:00
ganfra
9d2e35db0d Pinned events : add the glue for the ViewAll click. 2024-08-02 12:18:36 +02:00
ganfra
8e8c271bc2 Pinned events : only load data if feature is enabled 2024-08-02 11:14:24 +02:00
ganfra
f63b59e118 Pinned events : start branching sdk data in the banner. 2024-08-01 18:34:52 +02:00
ganfra
7279aa03c5 Pinned events : clean up more banner code 2024-07-31 15:51:19 +02:00
ganfra
e96a11f5e5 Pinned events : clean up banner code and add small test. 2024-07-31 13:44:46 +02:00
ganfra
8852735b70 Merge branch 'develop' into feature/fga/pinned_message_banner_ui 2024-07-31 13:11:51 +02:00
renovate[bot]
6b8dba6bb2
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
6743e3b52c Pinned events : add more tests on pin/unpin 2024-07-30 20:55:11 +02:00
ganfra
cbae8fdfd6 Merge branch 'develop' into feature/fga/pinned_event_feature_flag 2024-07-30 20:44:51 +02:00
ganfra
d5bc6828b9 Pinned events : add more tests on pin/unpin 2024-07-30 19:13:35 +02:00
ganfra
38fb26e3c6 Pinned event : log and show snackbar on error 2024-07-30 19:12:29 +02:00
ganfra
46f5115c0a Pinned events : clean up code 2024-07-30 16:40:18 +02:00
ganfra
66e06d7d1c Pinned event : add some tests 2024-07-30 16:38:11 +02:00
ganfra
5e47c98699 Pinned events: branch pin/unpin according to current state 2024-07-30 13:32:10 +02:00
ganfra
97cf00ec96 Pinned events: add unpin action 2024-07-30 11:52:45 +02:00
ganfra
6cf64b263e Pinned event : branch pinEvent action 2024-07-29 13:43:57 +02:00
ganfra
210e2092cd Refactor userEventPermissions 2024-07-29 13:43:47 +02:00
bmarty
76804d9e48 Sync Strings from Localazy 2024-07-29 00:26:27 +00:00
ganfra
c9a89c77ef Pinned event: add action on timeline 2024-07-26 18:20:17 +02:00
ganfra
0149007dd4 Timeline Action : refactor how it's computed and align with iOS 2024-07-26 18:20:03 +02:00
ganfra
03a0e4fa08 Pinned event : hide/show banner on timeline scroll 2024-07-25 18:37:46 +02:00
ganfra
56e1957d3d Merge remote-tracking branch 'origin/develop' into feature/fga/pinned_message_banner_ui 2024-07-25 17:59:04 +02:00
Valere
44728cb6e1 review: Konsist fix 2024-07-25 10:22:15 +02:00
Valere
0748bc8c47 Message Shields - i18n 2024-07-25 10:01:27 +02:00
Valere
524f20bb40 Timeline UI | MessageShield Support 2024-07-25 10:01:27 +02:00