Benoit Marty
c1c9f53015
Fix other API change: `body` renamed to `filename`
2 weeks ago
Benoit Marty
920dc2b0d7
Improve mapping regarding filename, caption and formattedCaption
3 weeks ago
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
4 weeks ago
Benoit Marty
acae30b1f9
Stop ignoring 2 tests and fix them.
1 month ago
Benoit Marty
3c3781d5d3
Fix visibility issue.
1 month ago
Benoit Marty
55704f0227
Less ugly code.
1 month ago
Benoit Marty
92834e8985
Fix crash when pdf cannot be opened.
...
https://sentry.tools.element.io/organizations/element/issues/1570011/events/efcaaf7382194fd4b7991ca6b05e7532/
1 month ago
ganfra
8102aa4744
media viewer: fix glitch when transition from thumbnail to fullview
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
Benoit Marty
f2b38e50e3
Add test on function name which may start or end with spaces and fix existing issues.
2 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
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
6f44ef7a8f
Rename class (code quality)
5 months ago
Benoit Marty
c6c00a60d4
Need a default value for Modifier.
8 months ago
Benoit Marty
7b1e57c9f4
Fix preview error of MediaVideoView.
8 months ago
Benoit Marty
e90b09b9cf
Fix import order.
8 months ago
Benoit Marty
f484be0e0b
Renaming function for code clarity.
8 months ago
Benoit Marty
43b5b2196e
Add test on MediaViewerView
8 months ago
ganfra
3a5f3c04d2
MediaViewer : fix konsist
8 months ago
ganfra
22676cc5eb
MediaViewer : introduce fullscreen and flick to dismiss behavior
8 months ago
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>
9 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
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
Benoit Marty
7b2341aec7
Rename Async to AsyncData
10 months ago
Benoit Marty
95b922c272
Remove unused import.
11 months ago
Benoit Marty
b7a6d8996a
Add unit test for AndroidLocalMediaActions
11 months ago
Benoit Marty
0dcb9202d3
Add unit test for AndroidLocalMediaFactory
11 months ago
Benoit Marty
c3908e7a6c
Add unit test for FileExtensionExtractor
11 months ago
Benoit Marty
3e2ff5113d
Let package match namespace
11 months ago
Jorge Martin Espinosa
ab8402a4dc
Open room member avatar in a media viewer ( #1911 )
...
* Open room member avatar in viewer.
The `MediaViewer` was extracted to its own library module.
* Update screenshots
* Restore KSP processor in `:libraries:mediaviewer:api`, this should generate Showkase components again.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago