Jorge Martín
2907cef47e
Some cleanup:
...
- Remove unnecessary `GlobalScope`.
- Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`.
- Rename component builders to factories, where necessary.
2025-09-04 16:49:21 +02:00
Jorge Martín
fc3153bd26
Fix lint issues and restore commented out code
2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b
Start migrating Anvil KSP to Metro
2025-09-04 16:48:34 +02:00
Benoit Marty
05fc76822a
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
2b016227e9
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
d3830af78b
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
7e9cda3aa9
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>
2024-01-10 16:22:24 +01:00
Marco Romano
c69d610b6c
Rename params in NodeFactories for clarity ( #1916 )
...
- `context` is now `buildContext` to reflect that it's of type `BuildContext` (and not an android `Context`).
- `NODE` generic type param is now `N` to stick with Java convention: https://docs.oracle.com/javase/tutorial/java/generics/types.html .
2023-11-29 10:01:07 +01:00
ganfra
1a14a18a29
DI: rework how components are created and provided
2023-09-19 17:51:36 +02:00
Benoit Marty
ca4fd631da
Format file.
2023-08-29 10:05:59 +02:00
Benoit Marty
04bab22f62
Introduce LoggedInAppScopeFlowNode. It's a Node just responsible to set up the Dagger SessionScope.
...
This allow to inject objects with SessionScope in the node `LoggedInFlowNode` and all it's dependency (in my case `FtueState` and `MatrixClient`)
2023-08-25 13:52:32 +02:00
ganfra
4aafddebac
Room : rename the flows
2023-07-06 12:00:45 +02:00
ganfra
1fd493a76c
Room : small refactoring
2023-07-05 16:10:47 +02:00
ganfra
476ddd6d8e
Node: fix compilation after changes
2023-06-12 11:39:28 +02:00
ganfra
f57a2a694d
Dagger: makes sure to not remove an active component when navigating
2023-06-09 23:04:33 +02:00
Benoit Marty
0874c076d6
Deeplink: handle notification click to open a room.
2023-04-13 15:35:01 +02:00
ganfra
9d91fb06cc
Merge branch 'develop' into feature/fga/improve_node_architecture
2023-03-07 12:10:20 +01:00
ganfra
5b16f8c4b0
[Architecture] : create appnav module so we can use only api feature modules
2023-03-06 20:30:48 +01:00
ganfra
b9febcd8d7
[Architecture] experiments to remove DI graph managements from navigation flow nodes
2023-03-04 14:14:47 +01:00