Benoit Marty
9cef656d20
Fiw formatting error.
9 months ago
Benoit Marty
87f14d8bab
Make the button to send problem enable, but show an error if the decription is too short to prevent users from being blocked.
9 months ago
Benoit Marty
cbf7e9cfce
Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle)
9 months ago
Benoit Marty
5747453505
Take into account the setting `isSendTypingNotificationsEnabled` to not send typing notification when it's been disabled by the user.
9 months ago
Benoit Marty
23fb7811f3
Update advanced settings screen. Replace Read Receipt private mode by Share presence.
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
ganfra
d9017a098c
Favorite : rework and add tests
9 months ago
Jorge Martín
5f064a4b27
Only display placeholder list when the room list hasn't loaded yet
9 months ago
Jorge Martín
02fe07a6bd
Tweak room list behaviour:
...
- Instead of an extra item, use `contentPadding`.
- Make sure each item has an unique id.
9 months ago
Jorge Martín
e9c0aee96e
Fix full placeholder screen
9 months ago
Jorge Martín
aa32123c82
Make the `RoomListRoomSummaryFactory.createPlaceholder` and `RoomListRoomSummaryFactory.createFakeList` functions static ones
9 months ago
Jorge Martín
49646f2bef
Add an empty state to the room list.
...
- Make `RoomListDataSource.allRooms` a `SharedFlow` so we can know when we don't have a value yet.
- Map its output in `RoomListPresenter` to `AsyncData`.
- Display the new empty state when the room list has loaded and has no items.
9 months ago
Marco Antonio Alvarez
8351b89da8
fix spacing between continue and report problem
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
9 months ago
Jorge Martín
5c59ecbaa6
Use `MatrixRoom.isEncrypted` value to enable encryption in room calls
9 months ago
ganfra
b15597509d
favorite : branch RoomNotableTags methods
9 months ago
jmartinesp
f7abfb2f5a
Sync Strings from Localazy
9 months ago
Jorge Martin Espinosa
c2fc6db423
Add missing device id to settings screen ( #2320 )
...
* Add missing device id to settings screen
* Extract footer component
* Restore `@PreviewWithLargeHeight` logic
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Jorge Martin Espinosa
0f5038af8f
Make the whole items in advanced settings screen clickable, standarize paddings ( #2314 )
...
* Make sure the whole item in advanced settings screen triggers the toggle action
* Fix UI changes when setting `onChecked` actions to null.
* Fix padding in invite member list items
* Remove redundant `CheckableUserRow` alternatives.
* Use 4dp for padding instead
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
05cc526be9
Fix: ensure the effect is restarted on each sync update.
9 months ago
Benoit Marty
6406477fef
Ensure that `canUserJoinCall` is "live"
9 months ago
Benoit Marty
96bae05184
Remove useless `suspend` modifier.
9 months ago
Benoit Marty
4f7d26eef0
Cleanup: no need to provide a `CurrentSessionIdHolder`, the sessionId can be retrieved from the room.
9 months ago
bmarty
7b0dcbe6a5
Sync Strings from Localazy
9 months ago
Benoit Marty
bfb6b32740
Send typing notification #2240
9 months ago
Benoit Marty
7efbee8f86
Add preview for Rust logs (and fix a bug!)
9 months ago
Benoit Marty
d6ed2a40f5
Extract colors to avoid duplication and for more clarity.
9 months ago
Benoit Marty
f55cfd1160
Rename `ColorationMode.Logs` to `ColorationMode.RustLogs`.
9 months ago
Benoit Marty
80d49543ef
FileViewer: fix coloration issue for logs files.
9 months ago
Jorge Martin Espinosa
7e58f719fe
Add 'send private read receipts' option in advanced settings ( #2290 )
...
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
732ec3f263
Ensure login and password exclude `\n`. #2263
9 months ago
Benoit Marty
c5fc45e7fb
Fix test compilation issue.
9 months ago
Benoit Marty
6933eb51df
Fix test, there is a new data sent.
9 months ago
Benoit Marty
c9392818a6
Remove extra new line.
9 months ago
Benoit Marty
c7f29bfe8e
Ensure the icon stay grey if the global setting is set to mention only.
...
Implement the iOS logic #2282
9 months ago
Benoit Marty
429effc706
Rework: improve OnGoingCallIcon API.
9 months ago
Benoit Marty
78bd91de2f
Rework: extract sub fun composable.
9 months ago
Benoit Marty
6ea76d9acd
Map `roomInfo.numUnreadNotifications` to `RoomSummaryDetails.numUnreadNotifications`
9 months ago
Benoit Marty
502f35787a
Move `FakeVersionFormatter` to the test sourceSet.
9 months ago
Benoit Marty
30df153a00
Add test for `DefaultVersionFormatter`
9 months ago
Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
9 months ago
Benoit Marty
4eb10a2422
Fix Compose issues.
9 months ago
Benoit Marty
4601e2acd3
Change type of `ViewFileState.lines` from `ImmutableList<String>` to `AsyncData<List<String>>` to properly handle loading and error states.
9 months ago
Benoit Marty
bed9fcfae1
Add some Divider around the "View logs" item.
9 months ago
Benoit Marty
a6932c6c64
Fix test compilation issue.
9 months ago
Benoit Marty
5fa396d616
View Folders and files
...
Add test
Add test
9 months ago
Jorge Martin Espinosa
15e3ecc88e
Update timeline items read receipts when the room members are loaded ( #2194 )
...
* Update timeline items' sender info and read receipts when the room members info is loaded
* Only update this info if we have loaded the room members
9 months ago
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
9 months ago
Benoit Marty
eb51b49aef
Always use the `latest...` fix.
9 months ago
Benoit Marty
3ced570b3c
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
9 months ago
Benoit Marty
1c1cf60ba0
Change type of `SecureBackupEnableState.enableAction` from `AsyncData` to `AsyncAction`
9 months ago