Benoit Marty
b5d15ee787
Fix issue detected by lint.
2025-12-17 10:59:48 +01:00
Benoit Marty
eb31505dc7
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
07b6148035
Remove context(parentNode: Node) and provide the parent Node as a parameter.
2025-10-31 12:04:57 +01:00
Benoit Marty
f174084942
Use context parameter for the parentNode
2025-10-30 16:32:53 +01:00
Benoit Marty
02dc71c4c3
Remove NodeBuilder to ensure that Params and Callback are always provided.
2025-10-30 16:32:52 +01:00
Benoit Marty
be03c50aaf
Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes.
2025-10-30 16:32:51 +01:00
Benoit Marty
43972dba68
Rename fun in Callback for clarity.
2025-10-30 16:32:48 +01:00
Benoit Marty
263e761907
Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding
2025-10-22 18:52:37 +02:00
Benoit Marty
67c9daa0bf
Add Konsist test to check that toPersistentList() is not used.
...
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
renovate[bot]
5b9ce7a210
Update metro to v0.6.7 ( #5416 )
...
* Update metro to v0.6.7
* Replace `@Inject` with `@AssistedInject` where needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-26 08:16:36 +00:00
Benoit Marty
e89d21b1b2
Fix issue after rebase.
2025-09-16 14:41:00 +02:00
Benoit Marty
4d7d0ac8d0
Avoid using AndroidJUnit4 runner to test Entrypoint implementations.
2025-09-16 14:38:32 +02:00
Benoit Marty
a1aeb24f23
Add test on DefaultEntryPoints
2025-09-16 14:38:32 +02:00
Benoit Marty
0955866dcd
Rename to follow naming convention
2025-09-16 10:36:35 +02:00
Benoit Marty
e3f7865193
Compute the content in the LaunchEffect
2025-09-08 17:09:23 +02:00
Benoit Marty
c8bf49dde7
Improve rendering of title of the folder view
2025-09-08 16:56:59 +02:00
Benoit Marty
88f38a0523
Format files.
2025-09-08 16:45:54 +02:00
Benoit Marty
f0291b21da
Restore commented out code.
...
Fix regression from #5253
2025-09-08 16:42:58 +02:00
Benoit Marty
e88743bd6a
Rename anvil modules to annotations and codegen
2025-09-05 14:26:27 +02:00
Jorge Martín
e8328858ab
Fixes after rebase
2025-09-04 16:49:21 +02:00
Jorge Martín
29a97fc0d9
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
b76a71ebf5
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
Benoit Marty
70aa31df00
[a11y] Ensure that heading() is applied to all screen titles.
2025-07-04 12:15:42 +02:00
Jorge Martin Espinosa
efdc10e60a
Add catchingExceptions method to replace runCatching ( #4797 )
...
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
Benoit Marty
1904631702
Remove blank line
2025-03-18 12:31:41 +01:00
Benoit Marty
6609001040
i18n
2025-03-18 11:43:13 +01:00
Benoit Marty
29f416bda2
Extract FileContent to its own file.
2025-03-18 11:38:36 +01:00
Benoit Marty
3eb92a7849
Render txt files content.
...
PdfViewer increase the top padding.
2025-03-14 16:51:57 +01:00
Benoit Marty
eda18f8b78
Replace Material icons with Compound icons wherever it's possible
2025-02-26 22:19:19 +01:00
Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01: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
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