Benoit Marty
69f0c9935f
Add type hierarchy on `TimelineEvents`.
...
It is not really OK that a Event was able to invoke `LoadMore` for instance.
9 months ago
Benoit Marty
e66f53f64c
Add test to ensure that TimelineView loads more Events.
9 months ago
ganfra
f3c1eb6738
Use the new setIsFavorite api
9 months ago
Benoit Marty
706ce1d0cd
Do not use a key for the LazyColumn, or the scroll will not behave as expected if a room is moved to the top of the list.
9 months ago
Benoit Marty
8c56f0bd92
Fix API break and change from SDK 0.1.97
9 months ago
Benoit Marty
07d13fc981
Fix test now that the send button is always enabled but can fail if description is too short.
9 months ago
Benoit Marty
d7b6c39eb0
Small rework: create classical createPresenter() method to reduce code duplication.
9 months ago
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