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
ganfra
d7edc7e165
Pinned events : fix click on banner
3 months ago
ganfra
0390ede2ad
Pinned events: add tests on PinnedMessagesBannerPresenter
3 months ago
ganfra
50fd2558de
Pinned events : handle loading/error on banner
3 months ago
ganfra
ca47a1c6d5
Pinned events : handle focus on pinned event
3 months ago
ganfra
9d2e35db0d
Pinned events : add the glue for the ViewAll click.
3 months ago
ganfra
8e8c271bc2
Pinned events : only load data if feature is enabled
3 months ago
ganfra
f63b59e118
Pinned events : start branching sdk data in the banner.
3 months ago
ganfra
7279aa03c5
Pinned events : clean up more banner code
3 months ago
ganfra
e96a11f5e5
Pinned events : clean up banner code and add small test.
3 months ago
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>
3 months ago
ganfra
6743e3b52c
Pinned events : add more tests on pin/unpin
3 months ago
ganfra
d5bc6828b9
Pinned events : add more tests on pin/unpin
3 months ago
ganfra
38fb26e3c6
Pinned event : log and show snackbar on error
3 months ago
ganfra
46f5115c0a
Pinned events : clean up code
3 months ago
ganfra
66e06d7d1c
Pinned event : add some tests
3 months ago
ganfra
5e47c98699
Pinned events: branch pin/unpin according to current state
3 months ago
ganfra
97cf00ec96
Pinned events: add unpin action
3 months ago
ganfra
6cf64b263e
Pinned event : branch pinEvent action
3 months ago
ganfra
210e2092cd
Refactor userEventPermissions
3 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
ganfra
c9a89c77ef
Pinned event: add action on timeline
3 months ago
ganfra
0149007dd4
Timeline Action : refactor how it's computed and align with iOS
3 months ago
ganfra
03a0e4fa08
Pinned event : hide/show banner on timeline scroll
3 months ago
Valere
44728cb6e1
review: Konsist fix
3 months ago
Valere
0748bc8c47
Message Shields - i18n
3 months ago
Valere
524f20bb40
Timeline UI | MessageShield Support
3 months ago
ganfra
a23e5e2400
Edit : fallback to room.edit when timeline item is not found.
3 months ago
ganfra
c76ff38f00
Pinned messages : introduces banner view
3 months ago
Jorge Martin Espinosa
a888b4d43c
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
3 months ago
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 months ago
ganfra
2f0e9ebd93
Compose : add immutability to some Reaction classes
4 months ago
Jorge Martin Espinosa
f5e866e18c
Fix pillification not working for non formatted message bodies ( #3201 )
...
* Fix pillification not working for non formatted message bodies
Pure Markdown bodies weren't being 'pillified' so their mentions were turned into UI elements in the timeline.
A new `pillifiedBody` property was added to `TimelineItemTextBasedContent` to fix this.
* Use shorter version of `textWithMentions` computation
4 months ago
Jorge Martin Espinosa
2ff5fa67fc
Restore intentional mentions in the markdown/plain text editor ( #3193 )
...
* Restore intentional mentions in the markdown/plain text editor
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
Jorge Martin Espinosa
0be7058416
Unify the way we decide whether a room is a DM or a group room ( #3100 )
...
* Add centralised 'room is DM' check
Also add extension functions for `MatrixRoom` and `MatrixRoomInfo`.
* Use the centralised method and extension functions through the app, including:
- Room list.
- Room details screen.
- Invites.
- Notifications.
Replace most `isDirect` usages with `isDm`.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 ( #3145 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31
* Use new Rust client side sorting API
* Make `RoomListEntriesUpdate.describe()` an extension function
* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`
* Fix icon sizes to pass the lint checks
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
Benoit Marty
a7de751f0e
Ensure that all the callback instances are invoked.
4 months ago
Benoit Marty
6a1304a252
Improve click behavior on room timeline title. #3063
4 months ago
ganfra
008ba4fee3
Draft : improve DefaultComposerDraftService code.
4 months ago