Jorge Martin Espinosa
366db4791b
Upgrade Kotlin to v2.0 ( #3594 )
...
* Bump Kotlin to v2.0
* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
3 weeks ago
ganfra
5afa7f6437
misc: extract toSelectRoomInfo method
3 weeks ago
ganfra
eeb6b6f4bf
misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo.
3 weeks ago
renovate[bot]
3001efb525
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50 ( #3565 )
...
* Adapt to changes in the SDK
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.50
* Use lambda instead of overriding the `EventDebugInfoProvider` interface
* Fix test proposal.
We may find a better way to compare data class instance if we need to do more comparison in the future...
---------
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 month ago
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
renovate[bot]
6b8dba6bb2
Update dependency io.nlopez.compose.rules:detekt to v0.4.8 ( #3254 )
...
* Update dependency io.nlopez.compose.rules:detekt to v0.4.8
* Fix new lint issues
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
3 months ago
renovate[bot]
68efc918ba
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31 ( #3145 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.31
* Use new Rust client side sorting API
* Make `RoomListEntriesUpdate.describe()` an extension function
* Remove `RoomListSummary.Filled` and `RoomListSummary.Empty`
* Fix icon sizes to pass the lint checks
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 months ago
Benoit Marty
7d0323d708
Create extension `RoomSummaryDetails.getAvatarData` to avoid code duplication.
4 months ago
Benoit Marty
33c76dfd2d
Use extension MatrixUser.getAvatarData and fix compilation issue.
4 months ago
Benoit Marty
ad02e05bf4
Use heroes to render room avatars
4 months ago
Benoit Marty
9ae0107172
Incoming share
5 months ago
Benoit Marty
c37d9ca6a4
Add doc on RoomSelectSearchDataSource
5 months ago
Benoit Marty
73b2e925b5
Ensure that room where is user is invited are not listed when forwarding a message.
5 months ago
Benoit Marty
ec8cb2e32f
Change Test class suffix.
5 months ago
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
5 months ago
Benoit Marty
5951182bdf
Fix issue when building previews, roomId must be unique
6 months ago
Benoit Marty
8272b7a16c
Use fallback name in this case.
6 months ago
Benoit Marty
ce7bb11724
Ensure roomId are not rendered in the UI.
...
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
6 months ago
Benoit Marty
8327ea306f
Increase usage of `RoomAlias`
7 months ago
Benoit Marty
04eb59bd07
Ensure SearchBar are displayed with max width.
7 months ago
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
8 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
Benoit Marty
f8f100ccc8
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
10 months ago
Benoit Marty
2c691d527b
Remove `RoomSummaryDetails.lastMessageTimestamp` and replace by a getter on `lastMessage`
10 months ago
Benoit Marty
d1c7520065
Rename `avatarURLString` to `avatarUrl`
10 months ago
Benoit Marty
4c86126eae
Rename `aRoomSummaryDetail` to `aRoomSummaryDetails`
10 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
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>
10 months ago
ganfra
a0ba83c863
Rename SearchBarResultState.Empty to SearchBarResultState.Initial
10 months ago
ganfra
c6b3387b62
User search : show a loader when fetching results
10 months ago
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges"
11 months ago
Benoit Marty
f2c989cbd6
Iterate on indicators on room list #2079
11 months ago
Benoit Marty
1d3669f144
Fix wrong color alias usage.
11 months ago
Benoit Marty
8378500a25
Change name to match use case.
11 months ago
Benoit Marty
5ea59feb6f
Do not render `roomId` if the room has no canonical alias #1970
11 months ago
Benoit Marty
5e5662f194
Extract RoomList select to its own module
11 months ago