Benoit Marty
1a64901ee0
SDK 0.2.16: fix compilation issue
2024-04-26 09:11:30 +02:00
ganfra
7b4fa146e5
Timeline : try to get better forward pagination.
2024-04-25 23:34:04 +02:00
ganfra
0e98659cc9
Timeline : do not cancel pagination to avoid stuck timeline.
2024-04-25 15:01:18 +02:00
ganfra
97b9d75a0d
Timeline : makes sure all tests are passing
2024-04-25 14:35:37 +02:00
Benoit Marty
ce7bb11724
Ensure roomId are not rendered in the UI.
...
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty
d4b7f01a06
Introduce RoomType
2024-04-25 09:49:05 +02:00
ganfra
bf87b975fc
Timeline permalink : start updating tests
2024-04-24 21:33:20 +02:00
ganfra
fed1733cb5
Timeline : makes sure to use the right timeline when making some action (edit, reply, reaction)
2024-04-24 16:42:35 +02:00
Jorge Martin Espinosa
1de6797673
Remove SessionData.needsVerification as the source of truth for session verification status ( #2748 )
...
* Remove `SessionData.needsVerification` as the source of truth for session verification status.
- Use the Rust SDK `EncryptionService.verificationState()` instead, but always waiting for the first 'known' result (either verified or not, discarding 'unknown').
- Add a workaround in the super rare case when reading this value gets stuck somehow. We'll assume the user is not verified in that case.
- Make `DefaultFtueService.getNextStep` and dependent checks `suspend`.
- Make the `skip` button use a value in the session preferences instead.
* Log exception when the verification status can't be loaded
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix review comments
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-04-24 13:55:25 +00:00
ganfra
a6d8209407
Timeline : exposes same methods as the rust type and use them by default on liveTimeline
2024-04-24 13:37:14 +02:00
ganfra
7094955bc9
Timeline : use latest api
2024-04-24 12:34:52 +02:00
ganfra
b1dd225648
Timeline permalink : automatic focus on live when reaching end of forward pagination (and remove usage of PaginationStatus)
2024-04-23 14:24:48 +02:00
ganfra
0d7cffe400
Timeline permalink : continue to iterate (try a strategy to avoid forward insertion to "auto-scroll")
2024-04-23 13:30:55 +02:00
Benoit Marty
237ba3d727
Improve display name disambiguation rendering #2722
2024-04-22 16:23:17 +02:00
Benoit Marty
ac9689fae9
Fix test compilation issue.
2024-04-22 16:23:16 +02:00
Benoit Marty
03abfcaadb
Format state Event: use disambiguated Display name #2722 .
...
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
2024-04-22 16:23:15 +02:00
Benoit Marty
797c912ccd
Implement Knock action (until the SDK level)
2024-04-19 18:11:13 +02:00
Benoit Marty
f29e79d64e
Change API MatrixClient.joinRoom(roomId: RoomId): Result<RoomId> to MatrixClient.joinRoom(roomId: RoomId): Result<Unit>
2024-04-19 18:11:13 +02:00
Benoit Marty
64e22bc2f1
Use now available SDK API.
2024-04-18 15:45:48 +02:00
ganfra
ff92551472
Merge develop into feature/fga/permalink_timeline
2024-04-18 15:40:17 +02:00
Benoit Marty
4e55c9aa4e
Please ktlint
2024-04-18 10:57:18 +02:00
Benoit Marty
5aa0ffea34
String -> RoomAlias
2024-04-18 00:43:34 +02:00
Benoit Marty
b8d87d4e75
Ignore too generic exceptions (temporary code).
2024-04-18 00:03:21 +02:00
Benoit Marty
c9580ad1e5
Remove extra space.
2024-04-18 00:03:21 +02:00
Benoit Marty
2eb545cd11
Add test to JoinRoomPresenter to cover RoomPreview
2024-04-18 00:03:19 +02:00
Benoit Marty
12b230594b
Fix JoinRoomPresenterTest
2024-04-18 00:03:19 +02:00
Benoit Marty
6a125bbb1b
Add test on RoomAliasResolverPresenter
2024-04-18 00:03:18 +02:00
Benoit Marty
7a7fb2aa54
Comment out SDK usage.
2024-04-18 00:03:18 +02:00
Benoit Marty
b7d214fa56
Update extension.
2024-04-18 00:03:17 +02:00
Benoit Marty
b6e30833da
Add name to call arguments.
2024-04-18 00:03:17 +02:00
Benoit Marty
96203824ac
Handle navigation to the same room.
2024-04-18 00:03:16 +02:00
Benoit Marty
235ef2a71b
Resolve RoomId in RoomFlowNode.
2024-04-18 00:03:15 +02:00
Benoit Marty
09faa6d1c9
Simplify PermalinkData, now that we have RoomIdOrAlias interface.
2024-04-18 00:03:15 +02:00
Benoit Marty
ea3a1f363a
Alias permalink navigation - WIP
2024-04-18 00:03:14 +02:00
Benoit Marty
8327ea306f
Increase usage of RoomAlias
2024-04-18 00:02:22 +02:00
Benoit Marty
ecd1bf76e2
Use RoomId and RoomAlias in MatrixRoomInfo
2024-04-18 00:02:10 +02:00
Benoit Marty
bd12ff737b
Introduce value class RoomAlias
2024-04-18 00:02:09 +02:00
Benoit Marty
68346dd782
Add MatrixClient.getRoomPreview method.
2024-04-18 00:00:36 +02:00
Benoit Marty
37fa6548c4
Add MatrixClient.resolveRoomAlias method.
2024-04-18 00:00:36 +02:00
ganfra
0cda5b9e90
Merge pull request #2714 from element-hq/feature/fga/room_list_invites
...
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
ganfra
90e273cd65
Room list invites: address some remarks and add small tests
2024-04-17 22:02:44 +02:00
ganfra
83e7c13618
Timeline : start reworking timeline apis
2024-04-17 21:32:02 +02:00
Benoit Marty
f2ff326938
Observe ignoredUsersFlow to have live data about blocked user.
...
This will also ensure that blocking a user will work even if the user is not a member of the room (preparatory work for user permalink)
2024-04-17 13:21:52 +02:00
ganfra
2ae6931486
Timeline : expose new pagination status api
2024-04-16 21:18:54 +02:00
ganfra
e72983f1b8
RoomList invites : update and remove tests
2024-04-16 15:45:57 +02:00
ganfra
3e13191153
RoomList : make invite filter truly exclusive
2024-04-16 11:53:40 +02:00
ganfra
43e336cb72
RoomList : add invite filter
2024-04-15 22:50:43 +02:00
Benoit Marty
9ee36e9ca4
Remove unnecessary tests.
2024-04-15 17:57:15 +02:00
Benoit Marty
3df328b1ab
Parse permalink using parseMatrixEntityFrom.
...
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
ganfra
9d87240f4c
Room list : activate merged invites in Client
2024-04-15 16:58:07 +02:00