Commit graph

323 commits

Author SHA1 Message Date
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty
8428823c76 Add test about clicking an Avatar in a DM room detail. 2024-02-22 16:18:07 +01:00
Benoit Marty
d73f35e5ff Exclude ContentToPreview from coverage. 2024-02-22 16:12:29 +01:00
Benoit Marty
602429002a Add test on RoomDetailsView 2024-02-22 15:47:21 +01:00
Benoit Marty
bef3092e76 Add test on RoomDetailsView 2024-02-22 15:31:58 +01:00
Benoit Marty
f40a3b8f21 Use aRoomNotificationSettings. 2024-02-22 15:25:26 +01:00
Benoit Marty
3684761bcd Add test on RoomDetailsView 2024-02-22 15:23:22 +01:00
Benoit Marty
66514f7756 Add parameter to avoid copy of objects. 2024-02-22 14:43:17 +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
1d10796625 Add first tests for BlockUserDialogs 2024-02-19 13:42:15 +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
ganfra
cfe9f7e38b Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-13 15:23:39 +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
bmarty
a614b0d91e Sync Strings from Localazy 2024-02-12 00:10:26 +00: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
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
ganfra
d9017a098c Favorite : rework and add tests 2024-02-02 14:54:28 +01:00
ganfra
b15597509d favorite : branch RoomNotableTags methods 2024-01-31 21:24:37 +01:00
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>
2024-01-30 11:39:04 +00:00
bmarty
7b0dcbe6a5 Sync Strings from Localazy 2024-01-29 00:09:56 +00:00
Jorge Martin Espinosa
da4825aa44
Return cached room members before fetching new ones, do it in batches (#2274)
* Use cached users from the Rust SDK.

Also lazy load received users by batches.

* Create `RoomMemberListFetcher` to wrap all the room member loading logic

* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
2024-01-23 18:23:20 +01:00
bmarty
4914c512fe Sync Strings from Localazy 2024-01-22 00:10:44 +00:00
Jorge Martin Espinosa
69b290f6fd
Make the room settings screen update automatically (#2197)
* Make the room settings screen update automatically
2024-01-19 17:34:06 +01:00
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
ElementBot
6bc080c279
Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
d01c70a4fd Fix moar ktlint issues 2024-01-11 11:24:10 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
bmarty
9c6e511319 Sync Strings from Localazy 2024-01-08 00:10:36 +00:00
ganfra
44b6a97c90 Rename isFetchingSearchResults to showSearchLoader 2024-01-05 15:54:50 +01:00
ganfra
a0ba83c863 Rename SearchBarResultState.Empty to SearchBarResultState.Initial 2024-01-05 15:40:02 +01:00
ganfra
9fcc50e08a Rename UserSearchResults as UserSearchResultState 2024-01-05 15:34:01 +01:00
ganfra
46c7757ab8 Merge branch 'develop' into feature/fga/invite_user_loader 2024-01-05 14:02:58 +01:00
ganfra
96d02a19a9 Fix detekt 2024-01-05 13:56:59 +01:00
ganfra
8842d53038 RoomInviteMembers : add small tests 2024-01-05 13:53:02 +01:00
ganfra
109aea5ede MatrixUserRepo : fix tests 2024-01-05 13:44:59 +01:00
ganfra
c6b3387b62 User search : show a loader when fetching results 2024-01-04 21:27:44 +01:00