Commit graph

12 commits

Author SHA1 Message Date
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
Benoit Marty
f61df38e55 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
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>
2024-07-03 13:05:06 +02:00
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
2024-05-29 12:18:23 +02: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
Benoit Marty
7efbee8f86 Add preview for Rust logs (and fix a bug!) 2024-01-26 14:55:53 +01:00
Benoit Marty
d6ed2a40f5 Extract colors to avoid duplication and for more clarity. 2024-01-26 14:49:45 +01:00
Benoit Marty
f55cfd1160 Rename ColorationMode.Logs to ColorationMode.RustLogs. 2024-01-26 14:46:51 +01:00
Benoit Marty
80d49543ef FileViewer: fix coloration issue for logs files. 2024-01-26 11:45:01 +01:00
Benoit Marty
4eb10a2422 Fix Compose issues. 2024-01-25 11:10:01 +01:00
Benoit Marty
4601e2acd3 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
5fa396d616 View Folders and files
Add test

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