ganfra
ff3646ead0
Pinned messages: clean code
2024-09-04 14:27:18 +02:00
ganfra
9936dbc464
Merge branch 'develop' into feature/fga/pinned_messages_list
2024-09-04 14:11:53 +02:00
ganfra
5d18b1a8fa
Pinned messages list : fix all tests after changes
2024-09-04 12:09:17 +02:00
ganfra
71e13b2aa2
Pinned messages : add comment on PinnedEventsTimelineProvider
2024-09-04 11:42:54 +02:00
ganfra
82d19fd65e
Pinned messages list : handle error state (shouldn't really happen)
2024-09-04 11:42:04 +02:00
ganfra
b10472bd6c
Pinned messages list : add some ui tests
2024-09-04 11:11:04 +02:00
renovate[bot]
5ba88dc5b0
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41 ( #3384 )
...
* Introduce value class UniqueId.
* Allow reactions on non-sent Event, the SDK can now handle it.
Also the SDK will manage local echo for reactions.
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.41
* Fixes after SDK upgrade:
- Use `ClientBuilderSlidingSync` to set `SlidingSyncVersionBuilder` in `RustMatrixClientFactory`.
- `Room.toggleReaction(emoji: String, eventId: EventId)` is now `Room.toggleReaction(emoji: String, uniqueId: UniqueId)`, since reactions can now be applied to local echoes too in the SDK.
* Rename exception case
* Fix wrong error case being used in test
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Benoit Marty <benoitm@matrix.org >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-09-03 20:09:33 +02:00
ganfra
2c41d4583a
Pinned messages list : fix and add tests
2024-09-03 18:21:42 +02:00
ganfra
faae2d1004
Pinned messages list : navigation from room details
2024-09-03 09:41:30 +02:00
ganfra
e7228b9460
Pinned events : add debounce on list
2024-09-02 14:06:05 +02:00
ganfra
a4e0428403
Pinned events : better navigation from ViewInTimeline or permalink
2024-08-30 18:28:45 +02:00
ganfra
7b64685777
Pinned events : simplify poll content view
2024-08-30 18:27:19 +02:00
ganfra
3cc749dd0a
Pinned events : start displaying actions in timeline
2024-08-30 15:15:22 +02:00
ganfra
3bcd76d271
Pinned events : fix compilation
2024-08-28 12:35:22 +02:00
ganfra
33ed44c789
Pinned events : try sharing pinned events timeline instance
2024-08-28 12:35:22 +02:00
ganfra
060b0350e0
Pinned messages : start branching ui to the timeline
2024-08-28 12:35:22 +02:00
ganfra
0c5d10031d
Pinned events : add the PinnedMessagesTimeline feature classes and branch in the navigation
2024-08-28 12:35:21 +02:00
ganfra
18959a930f
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2024-08-27 17:45:22 +02:00
ganfra
57c6abfe47
Rust sdk : use newMessageShield state
2024-08-27 17:43:07 +02:00
bmarty
1b064a008f
Sync Strings from Localazy
2024-08-26 00:25:40 +00:00
SpiritCroc
00e26f0c6b
Big emoji-only messages
...
Adapted from SpiritCroc's SchildNext implementation from
7eba87f02e
Fixes: https://github.com/element-hq/element-x-android/issues/1438
Signed-off-by: Tobias Büttner <dev@spiritcroc.de >
Signed-off-by: Joe Groocock <me@frebib.net >
2024-08-23 13:46:19 +00:00
Joe Groocock
5529345bf1
Ensure consistent AggregatedReaction screenshots
...
Different system locales can generate different screenshots, causing CI
to be unhappy. Hardcoding a locale ensures the same date format is
always used.
Signed-off-by: Joe Groocock <me@frebib.net >
2024-08-23 13:38:27 +00:00
Benoit Marty
91771d061a
Use extension getAvatarData
2024-08-22 13:39:25 +02:00
Benoit Marty
8c2240c579
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
26a5da88f6
rename test function.
2024-08-22 13:26:05 +02:00
Benoit Marty
ccb3aef6a5
Rename MentionSuggestionsProcessor to SuggestionsProcessor since it's not only used for mentions.
2024-08-22 13:24:57 +02:00
Benoit Marty
e004f79900
Add unit test for DefaultRoomAliasSuggestionsDataSource
2024-08-21 18:25:41 +02:00
Benoit Marty
97b749e2b2
Add test on MentionSuggestionsProcessor and simplify the class.
2024-08-21 18:16:52 +02:00
Benoit Marty
1e30574d44
Convert MentionSuggestionsProcessor to a class and inject it in the constructor of MessageComposerPresenter
2024-08-21 17:41:10 +02:00
Benoit Marty
9716a79127
Remove needless blank line
2024-08-21 17:27:29 +02:00
Benoit Marty
f3ebf2d9db
Fix import ordering.
2024-08-21 16:31:03 +02:00
Benoit Marty
6aab5f59cf
Add feature flag for room alias suggestions, disabled by default.
2024-08-21 15:50:55 +02:00
Benoit Marty
4b8985e501
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
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