Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one ( #3564 )
...
* Use Anvil KSP instead of the Square KAPT one
* Fix several configuration cache, lint and test issues
* Allow incremental kotlin compilation in the CI
* Workaround Robolectric + Compose issue that caused `AppNotIdleException`
* Update the `enterprise` commit hash
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
4 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
f89463c3a1
Remove `runCancellableScopeTest` and `runCancellableScopeTestWithTestScope`, we can use `TestScope.backgroundScope` instead.
1 month ago
ganfra
269889da83
Pinned messages analytics : branch analytics
1 month ago
ganfra
d0f363bf7d
Pinned messages analytics : introduce LocalAnalyticsService so we can easily inject it in views
1 month ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
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
b68b08300a
Add test on DefaultFtueService.reset().
4 months ago
Benoit Marty
6fc4450c56
Analytics: track screen `MobileScreen.ScreenName.RoomCall`
5 months ago
Valere
920293ea83
Test | Fix missing updateSuperProperties impl
5 months ago
Valere
bf6ad4c5ca
Analytics | Add support for SuperProperties
5 months ago
Benoit Marty
7156dab7dc
Make anId a const.
5 months ago
Benoit Marty
edded63473
Fix compilation issue
5 months ago
Benoit Marty
15dc423345
Add test on DefaultAnalyticsService
5 months ago
Benoit Marty
5a1896ae3d
Remove dead code `AnalyticsService.onSignOut`.
...
DefaultAnalyticsService is observing the Session.
5 months ago
Benoit Marty
011aba4887
Make AnalyticsStore an interface and create DefaultAnalyticsStore
5 months ago
Benoit Marty
22329b9678
Provide serverNames when available and fix issue around analytics
6 months ago
Valere
6ad40fc6e0
Code review - more tests
6 months ago
SpiritCroc
6e2d163dcf
Fix compile with noop analytics provider
7 months ago
Benoit Marty
5a0e76677b
Improve ScreenTracker.
7 months ago
Benoit Marty
ef48c2b5a3
Track NotificationTroubleshoot screen
7 months ago
Benoit Marty
46008c2887
Fix analytics: spaceId have the same syntax as roomId. Use MatrixRoom.isSpace instead of MatrixPatterns.isSpaceId ( #2612 )
...
Also remoce useless orFalse() calls.
7 months ago
Benoit Marty
a9e67c070d
Improve UtdTracker test.
8 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
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
5f7c1e9545
Move module `features.analytics.test` to `services.analytics.test`. `FakeAnalyticsService` was not implemented at the correct location.
1 year ago
Benoit Marty
587f615730
Restore NoopAnalyticsService (not used but can be useful for forks).
1 year ago
Benoit Marty
d4156653fd
No need to sort AnalyticsProvider (it was copied from PushProvider)
1 year ago
Benoit Marty
7207afebcc
When clearing cache, also reset some data store in prefs/datastore.
1 year ago
Yoan Pintas
962d92ae1a
Add ViewRoom posthog event ( #669 )
1 year ago
Yoan Pintas
710c3b279a
Add JoinedRoom posthog event ( #687 )
1 year ago
yostyle
5c7cd01ba1
Consent thread safe
1 year ago
yostyle
3b4bff61e9
Init or stop posthog based on user consent
1 year ago
Yoan Pintas
f534ecda96
Init analytics modules ( #350 )
1 year ago
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Jorge Martin Espinosa
ecc73dd325
[Room Details] Implement room details screen ( #256 )
...
* Implement Room Details screen
* Add option to create permalink from room id and alias, add share room action
2 years ago
Benoit Marty
ec6004a9a8
Cleanup after PR review.
2 years ago
Benoit Marty
89657e0a35
Add `:services:analytics` modules. For now import the current plan.
...
This will allow to import existing class from EA and not break compatibility with existing analytics call.
2 years ago