Commit Graph

11 Commits

Author SHA1 Message Date
Benoit Marty
2b016227e9 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Jorge Martin Espinosa
950e502ca6 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>
2024-07-03 13:05:06 +02:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Jorge Martin Espinosa
973c57d401 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
Benoit Marty
465748d26f Add preview for Rust logs (and fix a bug!) 2024-01-26 14:55:53 +01:00
Benoit Marty
407d1cab24 Extract colors to avoid duplication and for more clarity. 2024-01-26 14:49:45 +01:00
Benoit Marty
52e0137904 Rename ColorationMode.Logs to ColorationMode.RustLogs. 2024-01-26 14:46:51 +01:00
Benoit Marty
feed0ada86 FileViewer: fix coloration issue for logs files. 2024-01-26 11:45:01 +01:00
Benoit Marty
66ed3f2e3f Fix Compose issues. 2024-01-25 11:10:01 +01:00
Benoit Marty
647c431f59 Change type of ViewFileState.lines from ImmutableList<String> to AsyncData<List<String>> to properly handle loading and error states. 2024-01-25 10:21:28 +01:00
Benoit Marty
4f8edce538 View Folders and files
Add test

Add test
2024-01-24 23:11:52 +01:00