Commit graph

2144 commits

Author SHA1 Message Date
Jorge Martin Espinosa
0918f9ed29
Improve how Talkback works with the timeline (#2404)
* Improve how Talkback works with the timeline

* Fix interaction test by adding test tag

* Disable reverse layout when a screen reader is enabled

This messes up with the ordering, but fixes the scrolling when a screen reader is used.
2024-02-19 11:36:15 +01:00
ganfra
6ef50081bd favorite : apply pr review remarks 2024-02-15 13:25:37 +01:00
ganfra
00f8e32df6 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-15 10:16:43 +01:00
ganfra
6dc0d8706c read : use the new apis 2024-02-14 11:09:46 +01:00
ganfra
cfe9f7e38b Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-13 15:23:39 +01:00
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
ganfra
a8bc0cb4ca Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-12 17:08:36 +01:00
Benoit Marty
c13b5566a1
Merge pull request #2376 from element-hq/feature/bma/testUi
More test on MessagesView, and harmonize preview on Dialogs
2024-02-12 10:41:46 +01:00
bmarty
a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00:00
Benoit Marty
ae1d224370 Add test on MessagesViewTest: clicking on a read receipt list emits the expected Event. 2024-02-09 22:36:50 +01:00
Benoit Marty
689ab61b23 Ensure all dialogs have the same preview format.
A combined ElementThemedPreview with PreviewGroup.Dialogs for Showkase and a regular PreviewsDayNight for code coverage
2024-02-09 22:31:35 +01:00
Benoit Marty
b8d9c89ec4
Merge pull request #2374 from element-hq/feature/bma/typingRendering
Typing notification rendering
2024-02-09 22:29:14 +01:00
Benoit Marty
3ea448e6bb Fix formatting issue. 2024-02-09 10:43:08 +01:00
Benoit Marty
7831311d14 Fix compilation warning. 2024-02-09 10:12:50 +01:00
ganfra
76cd6ecaef Rust : fix tests for the new filter api 2024-02-08 21:03:18 +01:00
ganfra
2c24a48ed7 Rust : map the new filter api, will need more rework when branching the new ui later. 2024-02-08 20:46:27 +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
Jorge Martín
e77740f1d2 Remove FilterHiddenStateEventsProcessor
The same process is already done by the Rust SDK, so it's now redundant.
2024-02-08 13:38:05 +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
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
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
cebc06aa5e Fix potential error:
Modifier factory functions must use the receiver Modifier instance
2024-02-08 11:06:06 +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
Jorge Martin Espinosa
c864adb493
Merge branch 'develop' into poljar/log-olm-trace 2024-02-08 09:50:58 +01:00
Benoit Marty
fa52ff54c8 Add tests on MessagesView 2024-02-07 23:02:32 +01:00
Benoit Marty
57d9b262d3 Extract session folder name computation from RustMatrixClient 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
Damir Jelić
1fd4075900 Enable trace logging for the Olm Account
This should help us to track down UTD sources, it ensures that we log
the state of a Olm session when we try to decrypt an `m.olm.*` to-device
message.
2024-02-07 10:46:34 +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
46ff038b98
Merge pull request #2341 from element-hq/fix/jme/forwarding-with-new-timeline-api
Fix message forwarding after SDK API change
2024-02-06 16:11:40 +01:00
ganfra
f3c1eb6738 Use the new setIsFavorite api 2024-02-06 16:04:44 +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
9d1bc5925c Avoid computing default value if it's not necessary. 2024-02-05 12:29:36 +01:00
Benoit Marty
a3716d0e0d SessionPreferencesStore: add entries for sharePresence, renderReadReceipts, sendTypingNotifications, renderTypingNotifications.
`sharePresence` should take existing value of `sendPublicReadReceipts`, which has been added first.
2024-02-05 12:27:04 +01:00
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
Jorge Martin Espinosa
eff515e544
Merge pull request #2303 from element-hq/misc/jme/remove-session-preferences-on-logout
Remove session preferences on logout.
2024-02-02 16:26:15 +01:00
ganfra
d9017a098c Favorite : rework and add tests 2024-02-02 14:54:28 +01:00
Jorge Martín
686d58ee0a Fix message forwarding after SDK API change
Created `Room.fullRoomWithTimeline` helper to always get an initialized timeline with the room object.
2024-02-02 11:34:12 +01:00
Marco Antonio Alvarez
f98cd5b99b Merge branch 'develop' of github.com:element-hq/element-x-android into align-cta-button-on-login-flow
# Conflicts:
#	features/onboarding/impl/src/main/kotlin/io/element/android/features/onboarding/impl/OnBoardingView.kt
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Day-0_1_null_4,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_0,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_1,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_2,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_3,NEXUS_5,1.0,en].png
#	tests/uitests/src/test/snapshots/images/ui_S_t[f.onboarding.impl_OnBoardingScreen_null_OnBoardingScreen-Night-0_2_null_4,NEXUS_5,1.0,en].png
2024-02-01 17:54:11 +01:00
Jorge Martin Espinosa
a189e744e7
Merge pull request #2333 from element-hq/feature/jme/use-unencrypted-room-calls-if-room-is-not-encrypted
Use `MatrixRoom.isEncrypted` value to set encryption mode in room calls
2024-02-01 16:19:42 +01:00
Benoit Marty
e946d92ec3
Merge pull request #2328 from element-hq/sync-localazy
Sync Strings
2024-02-01 15:44:42 +01:00
Jorge Martín
90e640e738 Fix test fixtures 2024-02-01 12:19:25 +01:00
SpiritCroc
f93c962509 Do not crash on UP unregistered 2024-02-01 12:04:47 +01:00
Jorge Martín
5c59ecbaa6 Use MatrixRoom.isEncrypted value to enable encryption in room calls 2024-02-01 11:49:17 +01:00