Commit graph

2593 commits

Author SHA1 Message Date
Benoit Marty
4bc977d8dc Introduce SecurityBannerState to replace Boolean set.
Also get the sessionVerificationService from the matrixClient, instead of injecting it separately.
2024-02-21 18:30:08 +01:00
Benoit Marty
7ec876bc8a Rename isLastSession to isLastDevice, to match SDK naming. 2024-02-21 18:25:45 +01:00
ganfra
747a61968a RoomList : allow to show empty state and invites. 2024-02-21 16:31:12 +01:00
Jorge Martin Espinosa
598bf96208
Do not display empty room list state before the loading one (#2402)
* Do not display empty room list state before the loading one
2024-02-21 12:16:00 +01:00
ganfra
7532f96c4f
Merge pull request #2416 from element-hq/feature/fga/add_some_analytics
Analytics : add analytics on read status and favorite toggles
2024-02-20 13:51:33 +01:00
Jorge Martin Espinosa
e68139bf46
Display banned users in room member list (#2415)
* Display banned users in room member list

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-20 10:07:06 +01:00
ganfra
e69b62bfa1 Merge branch 'develop' into feature/fga/add_some_analytics 2024-02-19 17:52:16 +01:00
ganfra
66030aeb64 Analytics : add analytics on read status and favorite toggles 2024-02-19 17:38:17 +01:00
Benoit Marty
354e82d489
Merge pull request #2413 from element-hq/feature/bma/unitTests
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
0a6f00e9df
Sort the room member list and display member roles (#2412)
* Sort the room member list and display member roles

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-19 15:03:36 +00:00
Benoit Marty
4fc9947a9e Remove extra new line. 2024-02-19 14:17:18 +01:00
Benoit Marty
973aef4c72 Add test for RoomListEvents.ToggleSearchResults. 2024-02-19 13:52:01 +01:00
Benoit Marty
8961147844 Add test for MessageComposerEvents.SendUri 2024-02-19 13:42:15 +01:00
Benoit Marty
1734c43951 Add test for MessagesEvents.HandleAction(TimelineItemAction.EndPoll) 2024-02-19 13:42:15 +01:00
Benoit Marty
1d10796625 Add first tests for BlockUserDialogs 2024-02-19 13:42:15 +01:00
Benoit Marty
f372fd27cf Add test for RoomListEvents.DismissRecoveryKeyPrompt.
Also get the encryptionService from the matrixClient, instead of injecting it separately.
2024-02-19 13:36:08 +01:00
Benoit Marty
3cbbde7c3e Add first tests for ShowLocationView 2024-02-19 13:36:08 +01:00
Benoit Marty
367e4bdbda Introduce fun aShowLocationState to reduce boilerplate code. 2024-02-19 13:35:24 +01:00
Benoit Marty
1e7c9b2256 Remove warning in tests 2024-02-19 13:35:24 +01:00
ganfra
4f4a73fe64
Merge pull request #2405 from element-hq/feature/fga/room_list_refact_search
RoomList : rework how search is done to prepare for later filtering
2024-02-19 12:31:52 +01:00
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
a5faa56dc8 RoomList: try to fix the test in ci... 2024-02-17 00:46:41 +01:00
ganfra
939f24cec5 RoomList : remove direct dependency to the RoomListSearchPresenter 2024-02-16 23:41:59 +01:00
ganfra
ec162b5f90 RoomList : fix formatting 2024-02-16 19:46:56 +01:00
ganfra
ebb07de8a4 RoomList : rework how search is done to prepare for later filtering 2024-02-16 19:35:03 +01:00
ganfra
3893db3c21 favorites : fix formating 2024-02-15 16:23:05 +01:00
ganfra
25047f7093 favorite : use distinctUntilChanged 2024-02-15 15:54:53 +01:00
ganfra
6ef50081bd favorite : apply pr review remarks 2024-02-15 13:25:37 +01:00
ganfra
fc706bb9d6 favorite : fix CI 2024-02-15 12:24:32 +01:00
ganfra
e5e147af47 favorites : clean up 2024-02-15 11:20:58 +01:00
ganfra
182b8c951b favorite : simplify and branch live data again 2024-02-15 11:07:49 +01:00
ganfra
00f8e32df6 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-15 10:16:43 +01:00
Jorge Martin Espinosa
aaa9b72308
Merge pull request #2389 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.1

* read : use the new apis

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-02-14 13:38:09 +01:00
Jorge Martín
5ce5b17d28 Do some cleanup 2024-02-14 12:35:25 +01:00
Jorge Martín
431b11731f Fix tests 2024-02-14 12:06:09 +01:00
ganfra
6dc0d8706c read : use the new apis 2024-02-14 11:09:46 +01:00
Jorge Martin Espinosa
1b690c17c1
Improve typing notification animations (#2386)
Only modify the layout for typing notifications when the first one is displayed: after that, just show/hide them using a fade animation, but keep the empty space there ready to be reused.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-14 08:05:55 +00:00
ganfra
cfe9f7e38b Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-13 15:23:39 +01:00
Benoit Marty
3bdfb505b3 Extract fun to create VideoInfo in test. 2024-02-13 00:05:37 +01:00
Benoit Marty
d33f5543b6 Test that blurhash is correctly used and fix issue on StickerContent. 2024-02-13 00:01:57 +01:00
Benoit Marty
9af112aa30 Add missing test for StickerContent 2024-02-12 23:52:45 +01:00
Benoit Marty
9a21070a0f Remove text from parent interface. 2024-02-12 23:45:40 +01:00
Benoit Marty
8aa16074a5 Add missing tests 2024-02-12 22:02:54 +01:00
Benoit Marty
f356004f95 remove unused import 2024-02-12 21:28:04 +01:00
Benoit Marty
fe81d0e9f5 Endure methods annotated with PreviewsDayNight contains ElementPreview (reported by Konsist test) 2024-02-12 18:22:42 +01:00
Benoit Marty
73abf548ea Render correctly in reply to data when Event cannot be decrypted or has been redacted 2024-02-12 17:58:16 +01:00
ganfra
949ffc6f8a Favourite : add ui test on click 2024-02-12 17:46:25 +01:00
ganfra
5ad08c3279 Favourite : use localized string 2024-02-12 17:45:52 +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