ganfra
51f7599c38
Pinned messages list : fix all tests after changes
2024-09-04 12:09:17 +02:00
ganfra
c6e7e7d09e
Pinned messages : add comment on PinnedEventsTimelineProvider
2024-09-04 11:42:54 +02:00
ganfra
9ed9559191
Pinned messages list : handle error state (shouldn't really happen)
2024-09-04 11:42:04 +02:00
ganfra
cd8a708739
Pinned messages list : add some ui tests
2024-09-04 11:11:04 +02:00
ganfra
fad17f05e3
Pinned messages list : fix and add tests
2024-09-03 18:21:42 +02:00
ganfra
e840581247
Pinned messages list : navigation from room details
2024-09-03 09:41:30 +02:00
ganfra
4d0e5447a1
Pinned events : add debounce on list
2024-09-02 14:06:05 +02:00
ganfra
90beb0a7f1
Pinned events : better navigation from ViewInTimeline or permalink
2024-08-30 18:28:45 +02:00
ganfra
bd327aac88
Pinned events : simplify poll content view
2024-08-30 18:27:19 +02:00
ganfra
2193b9a300
Pinned events : start displaying actions in timeline
2024-08-30 15:15:22 +02:00
ganfra
530777a9f0
Pinned events : fix compilation
2024-08-28 12:35:22 +02:00
ganfra
f06ba8490b
Pinned events : try sharing pinned events timeline instance
2024-08-28 12:35:22 +02:00
ganfra
46776a971a
Pinned messages : start branching ui to the timeline
2024-08-28 12:35:22 +02:00
ganfra
44ccae3327
Pinned events : add the PinnedMessagesTimeline feature classes and branch in the navigation
2024-08-28 12:35:21 +02:00
ganfra
88a581427c
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2024-08-27 17:45:22 +02:00
ganfra
e5b21c389e
Rust sdk : use newMessageShield state
2024-08-27 17:43:07 +02:00
bmarty
cd267249ec
Sync Strings from Localazy
2024-08-26 00:25:40 +00:00
Benoit Marty
8574340717
Use extension getAvatarData
2024-08-22 13:39:25 +02:00
Benoit Marty
811abe7755
Move package io.element.android.features.messages.impl.mentions to io.element.android.features.messages.impl.messagecomposer.suggestions
2024-08-22 13:31:58 +02:00
Benoit Marty
48ea516639
Rename MentionSuggestionsProcessor to SuggestionsProcessor since it's not only used for mentions.
2024-08-22 13:24:57 +02:00
Benoit Marty
d5feda5935
Add test on MentionSuggestionsProcessor and simplify the class.
2024-08-21 18:16:52 +02:00
Benoit Marty
5df3e6d684
Convert MentionSuggestionsProcessor to a class and inject it in the constructor of MessageComposerPresenter
2024-08-21 17:41:10 +02:00
Benoit Marty
c306636d56
Remove needless blank line
2024-08-21 17:27:29 +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
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