Commit Graph

418 Commits

Author SHA1 Message Date
Benoit Marty
c882cab67f Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ganfra
b2436a9d7c Merge pull request #913 from vector-im/feature/fga/avoid_spamming_sync_flow
Avoid spamming sync flow by checking item origin
2023-07-19 15:03:38 +02:00
Benoit Marty
c04fcfc352 Make SyncState values match SyncServiceState values. 2023-07-19 14:44:53 +02:00
ganfra
4bc6909aa8 TimelineDiff: use firstOrNull even if it shouldn't never be empty 2023-07-19 14:39:23 +02:00
Jorge Martín
f7f6fdc770 Don't blindly retry fetching pending or failed event details 2023-07-19 13:14:45 +02:00
Marco Romano
278f8ae4c6 Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
babb25d45f Avoid spamming sync flow by checking item origin 2023-07-19 11:48:05 +02:00
Benoit Marty
494e00dcb1 Merge pull request #901 from vector-im/feature/fga/power_level
Feature/fga/power level
2023-07-18 23:39:52 +02:00
ganfra
236ac40942 Merge pull request #907 from vector-im/feature/fga/fix_room_list_scroll_position
RoomList: introduce RoomListDataSource
2023-07-18 23:31:34 +02:00
Benoit Marty
2a260a9160 Merge pull request #903 from vector-im/feature/bma/sessionDeleted
React to session deletion (from another session)
2023-07-18 23:30:30 +02:00
ganfra
d4ee9fd9d3 Merge branch 'develop' into feature/fga/fix_room_list_scroll_position 2023-07-18 23:07:10 +02:00
Benoit Marty
456f4fba6b Format files. 2023-07-18 23:05:50 +02:00
Benoit Marty
403530a069 Fix typo in comments. 2023-07-18 23:02:55 +02:00
ganfra
888ca1c86b Merge branch 'develop' into feature/fga/power_level 2023-07-18 22:54:33 +02:00
ganfra
c7d0bbc174 Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34
Feature/fga/update rust sdk 0.1.34
2023-07-18 22:52:48 +02:00
ganfra
42c3e21b3d Fix tests 2023-07-18 22:27:44 +02:00
ganfra
cd19436924 RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack. 2023-07-18 22:09:50 +02:00
ganfra
9e4888c4ab Update rust sdk to 0.1.34 2023-07-18 20:12:51 +02:00
Benoit Marty
2fa7559c1c React to session deletion (from another session) 2023-07-18 18:00:12 +02:00
ganfra
f7c55f8d04 Merge branch 'develop' into feature/fga/better_media_handling 2023-07-18 15:13:59 +02:00
ganfra
e00462900e PowerLevel: use new api exposed from rust which doesn't need to load members. 2023-07-18 15:10:44 +02:00
ganfra
1a9f0732e1 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.32 2023-07-18 10:12:19 +02:00
Jorge Martín
aeaec5cb73 Merge remote-tracking branch 'origin/develop' into feature/fga/better_timeline_scroll 2023-07-18 07:46:02 +02:00
ganfra
92db07ff83 Merge branch 'develop' into feature/fga/better_timeline_scroll 2023-07-17 23:35:41 +02:00
ganfra
ae3c0c7e32 RoomFlowNode: use newRoot instead of safeRoot as in this case it can create a race condition where we end up not switching node 2023-07-17 23:27:18 +02:00
ganfra
c7406de5e2 Update rust sdk : start branching new SyncService (wip) 2023-07-17 22:26:21 +02:00
Benoit Marty
b15484933d Merge branch 'develop' into fix/jme/880-sliding-sync-loop-expires-and-restarts 2023-07-17 22:18:59 +02:00
Benoit Marty
ddf432bb72 Change return type (mostly for clarity) 2023-07-17 22:03:21 +02:00
ganfra
9846db6338 Rework a bit MatrixClientHolder and reintroduce cacheIndex... 2023-07-17 18:34:50 +02:00
Jorge Martin Espinosa
280b7e32e0 Hide encryption history + FTUE flow (#839)
* First attempt at implementing encrypted history banner and removing old UTDs

* Get the right behavior in the timeline

* Implement the designs

* Extract post-processing logic, add tests

* Add encryption banner to timeline screenshots

* Create FTUE feature to handle welcome screen and analytics

* Move classes to their own packages, add tests for `DefaultFtueState`.

* Remove unnecessary private MutableStateFlow

* Move some FTUE related methods and classes back to the `impl` module

* Handle back press at each FTUE step

* Remove unneeded `TestScope` receiver for `createState` in tests.

* Use light & dark previews for the banner view.

* Move color customization from `TextStyle` to `Text` component.

* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.

* Cleanup MatrixClient.

* Fix copy&paste error

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix typo

* Fix Maestro tests

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-07-17 18:34:36 +02:00
Benoit Marty
c70dedba13 Map ClientException. 2023-07-17 15:50:08 +02:00
Jorge Martín
ded1518f0b Try to centralise session restoration through MatrixClientsHolder 2023-07-17 15:05:13 +02:00
Benoit Marty
dafc8d5ebe Merge pull request #859 from vector-im/feature/bma/transactionId
Create value class for transactionId
2023-07-17 11:28:42 +02:00
ganfra
7e5d339922 Media: render audio content 2023-07-13 18:09:58 +02:00
ganfra
231f278adb Timeline: fix some tests and a one more 2023-07-13 17:09:20 +02:00
ganfra
d7aef3818a Timeline: introduce origin on timeline items 2023-07-13 13:05:56 +02:00
ganfra
313b3a29b6 Merge pull request #863 from vector-im/feature/fga/timeline_pagination
Feature/fga/timeline pagination
2023-07-13 11:58:10 +02:00
ganfra
1a0dc8266b Timeline: rename file 2023-07-12 22:50:14 +02:00
ganfra
9784d8c874 Timeline: split the initial item list in small chunks to post items asap 2023-07-12 22:44:42 +02:00
ganfra
635e9b9edd Timeline: avoid pagination when timeline is not ready 2023-07-12 22:43:35 +02:00
Benoit Marty
771a4ecdd3 Create value class for transactionId. There is no validation on the format, but validation is a bonus for userId, roomId, etc.
The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.
2023-07-12 18:15:17 +02:00
ganfra
bd04b579c6 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.31 2023-07-12 17:36:05 +02:00
Benoit Marty
d56a686b60 Merge pull request #850 from vector-im/feature/bma/fixTests
Ensure CI run all the tests.
2023-07-12 16:59:37 +02:00
ganfra
3d0440c580 Update rust sdk to 0.1.31: fix build 2023-07-12 16:50:40 +02:00
Benoit Marty
2206f70acc Merge pull request #847 from vector-im/feature/bma/blockUserUx
Improve block/unblock user ux
2023-07-12 16:33:12 +02:00
ganfra
ec04250a9b Update rust sdk to 0.1.31: new app service 2023-07-12 16:05:51 +02:00
ganfra
d3a86bffee Update rust sdk to 0.1.31: new notification api 2023-07-12 16:05:36 +02:00
ganfra
655c5a5ed5 Update rust sdk to 0.1.31: new uniqueId on timeline 2023-07-12 16:04:10 +02:00
Benoit Marty
2b84e7adc0 Fix warning (rename the base parameter name). 2023-07-12 14:11:26 +02:00
Benoit Marty
c0d2de26db Improve logs. 2023-07-12 12:39:41 +02:00