Commit graph

2527 commits

Author SHA1 Message Date
Benoit Marty
5213849f8b Typing notification: disable rendering when the user preference isRenderTypingNotificationsEnabled is false. 2024-02-09 09:35:52 +01:00
Benoit Marty
d27df29452 Typing notification: fix test compilation issue after rebase. 2024-02-08 18:31:37 +01:00
Benoit Marty
656ef9d6d0 Typing notification: reduce horizontal padding. 2024-02-08 18:17:57 +01:00
Benoit Marty
7b809ac507 Add a way to hide the Jump to Bottom button for coherent preview 2024-02-08 17:38:59 +01:00
Benoit Marty
dfaf4ab8c8 Typing: add some specific MessagesView preview. 2024-02-08 17:38:59 +01:00
Benoit Marty
5d6716da67 Rendering typing notification #2242 2024-02-08 17:38:59 +01:00
Benoit Marty
d5c123622b
Merge pull request #2354 from element-hq/feature/bma/markUnread
Mark room as unread
2024-02-08 17:36:29 +01:00
Benoit Marty
860ac595ec
Merge pull request #2366 from element-hq/feature/bma/removeModifierParameterInPrivateMethods
Remove modifier parameter in private methods
2024-02-08 15:36:42 +01:00
Benoit Marty
5527c9634b
Merge pull request #2365 from element-hq/feature/bma/testRoomList
Add Unit tests on MessagesView
2024-02-08 15:02:47 +01:00
Benoit Marty
e63e5bd739 Remove patch on ActionListView and ensure all the test are passing. 2024-02-08 14:38:44 +01:00
Benoit Marty
3e34461007 Mark as unread: add a feature flag, disabled on release build. 2024-02-08 11:49:14 +01:00
Benoit Marty
f79e0cd56a Fix test in release. 2024-02-08 11:34:54 +01:00
Benoit Marty
75b0a12a81 Remove extra new lines 2024-02-08 11:34:54 +01:00
Benoit Marty
69acc684b5 Introduce RoomListBottomSheetEvents "scope" for Events from the Room List Bottom Sheet. 2024-02-08 11:34:54 +01:00
Benoit Marty
b6dcadd980 Simplify a bit the API. 2024-02-08 11:34:54 +01:00
Benoit Marty
3c38201b2c Add test for RoomListContextMenu 2024-02-08 11:34:54 +01:00
Benoit Marty
e304913030 Introduce function aContextMenuShown to create RoomListState.ContextMenu.Shown 2024-02-08 11:34:54 +01:00
Benoit Marty
525de38ee2 Fix test after default value change on parameter of createRoomListRoomSummary. 2024-02-08 11:34:54 +01:00
Benoit Marty
4dc4e5bef8 Remove unnecessary parenthesis 2024-02-08 11:34:54 +01:00
Benoit Marty
50859b62de Add more tests 2024-02-08 11:34:54 +01:00
Benoit Marty
17f23304d0 Give 0 has default value for fixtures creators.
Also increases the readability of tests.
2024-02-08 11:34:54 +01:00
Benoit Marty
c4f72ecfbc Add test to check behavior of isMarkedUnread parameter 2024-02-08 11:34:54 +01:00
Benoit Marty
25768c7e87 Move RoomListRoomSummary factory to a dedicated file, more tests will be added. 2024-02-08 11:34:54 +01:00
Benoit Marty
9d461a4917 Add ability mark as unread / mark as read a room. 2024-02-08 11:33:43 +01:00
Benoit Marty
a55d3d0ace Move clearFocusOnTap to the designsystem library to reduce code duplication. 2024-02-08 11:06:06 +01:00
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
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>
2024-02-08 10:01:08 +00:00
Benoit Marty
fa52ff54c8 Add tests on MessagesView 2024-02-07 23:02:32 +01:00
Benoit Marty
7910ae5bed Add parameter to functions which create states, to avoid copy. 2024-02-07 23:02:32 +01:00
Benoit Marty
688c4dae22 Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
afc2e6c7fe Remove LogCompositions.
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Benoit Marty
0b3a0fd6a3 Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
cb8698a470 Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView 2024-02-07 10:38:05 +01:00
Benoit Marty
ff608c9581 Use Kdoc. 2024-02-07 10:31:08 +01:00
Benoit Marty
022d309eb6
Merge pull request #2349 from element-hq/feature/bma/disableTyping
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
ad71e2a301
Merge pull request #2353 from element-hq/feature/bma/removeDuplicate
Do not use a key for the LazyColumn.
2024-02-07 09:47:02 +01:00
Benoit Marty
b25509a611 Add test for TimelineItemPollView 2024-02-06 18:30:27 +01:00
Benoit Marty
80c474e1a6 Format file 2024-02-06 17:57:18 +01:00
Benoit Marty
69f0c9935f Add type hierarchy on TimelineEvents.
It is not really OK that a Event was able to invoke `LoadMore` for instance.
2024-02-06 17:57:11 +01:00
Benoit Marty
e66f53f64c Add test to ensure that TimelineView loads more Events. 2024-02-06 17:12:14 +01:00
Benoit Marty
dd7050b92d
Merge pull request #2350 from element-hq/feature/bma/improveSendProblemUx
Improve send problem ux
2024-02-06 16:11:16 +01:00
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. 2024-02-06 15:33:03 +01:00
Benoit Marty
8c56f0bd92 Fix API break and change from SDK 0.1.97 2024-02-06 09:18:35 +01:00
Benoit Marty
07d13fc981 Fix test now that the send button is always enabled but can fail if description is too short. 2024-02-06 09:01:59 +01:00
Benoit Marty
d7b6c39eb0 Small rework: create classical createPresenter() method to reduce code duplication. 2024-02-06 08:54:49 +01:00
Benoit Marty
9cef656d20 Fiw formatting error. 2024-02-05 18:33:35 +01:00
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. 2024-02-05 16:00:29 +01:00
Benoit Marty
cbf7e9cfce Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle) 2024-02-05 13:07:27 +01:00
Benoit Marty
5747453505 Take into account the setting isSendTypingNotificationsEnabled to not send typing notification when it's been disabled by the user. 2024-02-05 13:07:27 +01:00
Benoit Marty
23fb7811f3 Update advanced settings screen. Replace Read Receipt private mode by Share presence. 2024-02-05 13:07:27 +01:00