ganfra
e9b37bd154
Pinned messages list : add more test for better coverage.
2 months ago
ganfra
ed9426642f
Pinned messages : fix test after merging develop
2 months ago
ganfra
c30398ccc7
Pinned messages: clean code
2 months ago
ganfra
51f7599c38
Pinned messages list : fix all tests after changes
2 months ago
ganfra
c6e7e7d09e
Pinned messages : add comment on PinnedEventsTimelineProvider
2 months ago
ganfra
9ed9559191
Pinned messages list : handle error state (shouldn't really happen)
2 months ago
ganfra
cd8a708739
Pinned messages list : add some ui tests
2 months ago
renovate[bot]
9fb82a1e86
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>
2 months ago
ganfra
fad17f05e3
Pinned messages list : fix and add tests
2 months ago
ganfra
e840581247
Pinned messages list : navigation from room details
2 months ago
ganfra
4d0e5447a1
Pinned events : add debounce on list
2 months ago
ganfra
90beb0a7f1
Pinned events : better navigation from ViewInTimeline or permalink
2 months ago
ganfra
bd327aac88
Pinned events : simplify poll content view
2 months ago
ganfra
2193b9a300
Pinned events : start displaying actions in timeline
2 months ago
ganfra
530777a9f0
Pinned events : fix compilation
2 months ago
ganfra
f06ba8490b
Pinned events : try sharing pinned events timeline instance
2 months ago
ganfra
46776a971a
Pinned messages : start branching ui to the timeline
2 months ago
ganfra
44ccae3327
Pinned events : add the PinnedMessagesTimeline feature classes and branch in the navigation
2 months ago
ganfra
88a581427c
Rust sdk : refactor LocalSendState to use the new failure states as iOS does
2 months ago
ganfra
e5b21c389e
Rust sdk : use newMessageShield state
2 months ago
bmarty
cd267249ec
Sync Strings from Localazy
2 months ago
SpiritCroc
671def23b8
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>
2 months ago
Joe Groocock
0f14bc1a1c
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>
2 months ago
Benoit Marty
8574340717
Use extension `getAvatarData`
2 months ago
Benoit Marty
811abe7755
Move package `io.element.android.features.messages.impl.mentions` to `io.element.android.features.messages.impl.messagecomposer.suggestions`
2 months ago
Benoit Marty
dbe73076ff
rename test function.
2 months ago
Benoit Marty
48ea516639
Rename `MentionSuggestionsProcessor` to `SuggestionsProcessor` since it's not only used for mentions.
2 months ago
Benoit Marty
a6cf231322
Add unit test for DefaultRoomAliasSuggestionsDataSource
2 months ago
Benoit Marty
d5feda5935
Add test on MentionSuggestionsProcessor and simplify the class.
2 months ago
Benoit Marty
5df3e6d684
Convert MentionSuggestionsProcessor to a class and inject it in the constructor of MessageComposerPresenter
2 months ago
Benoit Marty
c306636d56
Remove needless blank line
2 months ago
Benoit Marty
3350b661e7
Fix import ordering.
2 months ago
Benoit Marty
4c8f23a0cb
Add feature flag for room alias suggestions, disabled by default.
2 months ago
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
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 months ago
Benoit Marty
6776df8b40
Remove useless Boxes.
3 months ago
Benoit Marty
25eb1fa7a4
Default value to redact own message should be true.
3 months ago
Benoit Marty
70558aa381
Move editMessageLambda to the constructor.
3 months ago
Benoit Marty
459f60d8a0
Add preview for message shield dialog.
3 months ago
Benoit Marty
2116108a2c
Add UI test on clicking on message shield.
...
Need to add content description on the shield icon.
3 months ago
Benoit Marty
3f90b02e54
Add test on `TimelineEvents.ShowShieldDialog` and `TimelineEvents.HideShieldDialog`
3 months ago
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
3 months ago
Benoit Marty
3676bca042
Make extension isCritical a val instead of a fun.
3 months ago
Benoit Marty
faf1e7da9f
Iterate on shield mapping and rendering
...
Also handle click on the timeline and information displayed on long click.
3 months ago
ganfra
a5d633a02f
Pinned events : minor code quality changes
3 months ago
ganfra
331413e8b4
Pinned events: make sure state is preserved
3 months ago
ganfra
ac14845797
Pinned events: fix public compose method.
3 months ago
ganfra
49f4526338
Pinned events : banner goes backward instead of forward
3 months ago
ganfra
04995cb26c
Pinned events : add some ui testing
3 months ago
ganfra
c609a7d002
Pinned events : use correct ordering logic
3 months ago