Commit graph

186 commits

Author SHA1 Message Date
Benoit Marty
b104dba845 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
Benoit Marty
5fa396d616 View Folders and files
Add test

Add test
2024-01-24 23:11:52 +01:00
Jorge Martin Espinosa
da4825aa44
Return cached room members before fetching new ones, do it in batches (#2274)
* Use cached users from the Rust SDK.

Also lazy load received users by batches.

* Create `RoomMemberListFetcher` to wrap all the room member loading logic

* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
2024-01-23 18:23:20 +01:00
Benoit Marty
ce20b5f518 Add a report problem text button to the OnBoarding screen #2275. 2024-01-23 15:55:32 +01:00
Benoit Marty
a7c21a8c98 Better log. 2024-01-17 18:12:57 +01:00
Benoit Marty
a831f05f6e Fix ktlint issues 2024-01-10 19:33:39 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
ganfra
b04287bf81 Fix room transition animation happens twice #2084 2024-01-02 16:13:46 +01:00
Benoit Marty
dd4aa681c6 Remove now useless ExperimentalLayoutApi opt in 2023-12-28 12:41:02 +01:00
ganfra
c4dc024c63 Fix detekt 2023-12-19 12:59:13 +01:00
ganfra
78bd6915c7 BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
ganfra
cbd5b24e26 Improve back-navigation for invitations 2023-12-14 12:18:01 +01:00
Benoit Marty
4ec2c84241 Load avatar for notification when there is no active imageLoader. (#1991) 2023-12-12 15:29:54 +01:00
Benoit Marty
de1a3dd3bb Ignore Launcher intent (was printing a warning). 2023-12-06 17:12:37 +01:00
ganfra
e55fab29e4 Branch StartDM in the RoomMemberDetails screen 2023-11-30 13:07:50 +01:00
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to compound-android library (#1888)
* Replace tokens & icons with the external Compound ones

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
Benoit Marty
ae0c3edd24 Remove default value for lambda.
We enforce a value to be provided and it's better for code coverage.
2023-11-22 17:28:23 +01:00
ganfra
97bbc37f6c LockScreen : avoid removing from composition the LoggedInFlowNode.Children when LockScreen is displayed. 2023-11-14 20:59:17 +01:00
Jorge Martin Espinosa
355ee95964
[Element Call] Keep MatrixClient alive while the call is working (#1695)
* Element Call: keep MatrixClient alive to get event updates
2023-10-31 16:58:33 +01:00
Jorge Martin Espinosa
5757789d29
Add extra logs to help debug session restoration failures (#1701) 2023-10-31 10:13:00 +00:00
Benoit Marty
9807ebf649 Secure backup 2023-10-27 12:18:40 +02:00
ganfra
5d98f645d2 Merge branch 'develop' into feature/fga/pin_settings 2023-10-26 11:13:52 +02:00
ganfra
f1988e3093 PIN : branch the mandatory flow 2023-10-24 18:13:41 +02:00
ganfra
587cfcd886 Lock settings : branch the flow 2023-10-23 18:11:02 +02:00
David Langley
5adcaef569 Add new ui for room notifications screen
- Add new ui for room notifications screen
- Fix error when changing default notification setting.
2023-10-20 21:08:44 +01:00
David Langley
87b8bfe99d Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list 2023-10-18 22:07:14 +01:00
ganfra
8436806571 Pin: rename feature pin to lockscreen 2023-10-17 21:15:01 +02:00
David Langley
eadaa2f65c List user define room notification settings
- List user define room notification settings
- Add new user defined style of the room notification settings view
- Add navigation to expose room notification settings ui to the global settings
- Add Progress indicators
- Improve error handing
2023-10-17 16:08:08 +01:00
Benoit Marty
3fc520160a Fix issue detected by Konsist. 2023-10-13 15:44:34 +02:00
ganfra
5d0eb3d693
Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock
[Pin code] : setup the feature
2023-10-13 12:38:41 +02:00
ganfra
087142224c Pin setup: PR review 2023-10-12 16:19:24 +02:00
ganfra
a3e6d691a5 Pin setup : clean up 2023-10-12 12:29:53 +02:00
ganfra
588565995c Pin code : add simple grace period 2023-10-11 20:52:19 +02:00
ganfra
bdcd2714cc Pin : rename PinStateDataSource by PinStateService 2023-10-11 20:38:41 +02:00
ganfra
304ec0b740 Pin unlock : hides behind feature flag (disabled by default) 2023-10-11 20:36:30 +02:00
ganfra
ea0963c0c8 Pin: use moveTaskToBack instead of finish 2023-10-11 20:25:51 +02:00
ganfra
2d5a3a473c Pin setup with fake lock 2023-10-11 18:09:16 +02:00
Benoit Marty
88ca37984f
Merge pull request #1520 from vector-im/feature/bma/sessionDb
Improve session db and improve deleted session behavior
2023-10-11 16:56:54 +02:00
Benoit Marty
8f1ccfccf2 Move SignedOut classes to their own module. 2023-10-10 20:05:07 +02:00
Benoit Marty
8929a90970 Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
Benoit Marty
c3a0deb201 Code quality. 2023-10-10 10:20:49 +02:00
Benoit Marty
266f93cc28 Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout) 2023-10-10 10:20:31 +02:00
Benoit Marty
124d6bf95f SignedOut mode - WIP 2023-10-10 10:20:31 +02:00
ganfra
330ed73dab Appyx : quick management of PermanentChild 2023-10-06 11:44:09 +02:00
ganfra
74735605e4 Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count 2023-09-28 20:16:19 +02:00
ganfra
da21e8ba63 Navigation: put RoomList SingleTop when navigating from permalink 2023-09-25 20:56:04 +02:00
Benoit Marty
0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
ganfra
6c296c1cf8 DI: rework how components are created and provided 2023-09-19 17:51:36 +02:00
Benoit Marty
2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty
9c9a6ce7be Add a way to configure tracing when the session does not exist yet. 2023-09-11 09:58:40 +02:00