Benoit Marty
25768c7e87
Move `RoomListRoomSummary` factory to a dedicated file, more tests will be added.
9 months ago
Benoit Marty
9d461a4917
Add ability mark as unread / mark as read a room.
9 months ago
Benoit Marty
a55d3d0ace
Move `clearFocusOnTap` to the designsystem library to reduce code duplication.
9 months ago
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.
9 months ago
Jorge Martin Espinosa
d06e5c23cb
Move migration screen to within the room list ( #2361 )
...
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
fa52ff54c8
Add tests on `MessagesView`
9 months ago
Benoit Marty
7910ae5bed
Add parameter to functions which create states, to avoid copy.
9 months ago
ganfra
5dcc9fba29
RoomListFilters : first iteration on the design
9 months ago
Benoit Marty
688c4dae22
Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog.
9 months ago
Benoit Marty
afc2e6c7fe
Remove LogCompositions.
...
It was used at the beginning of the project, but is not useful anymore.
9 months ago
Benoit Marty
0b3a0fd6a3
Use appName from BuildMeta in the crash detection dialog.
9 months ago
Benoit Marty
ff608c9581
Use Kdoc.
9 months ago
Benoit Marty
b25509a611
Add test for TimelineItemPollView
9 months ago
Benoit Marty
80c474e1a6
Format file
9 months ago
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