Benoit Marty
22329b9678
Provide serverNames when available and fix issue around analytics
2024-05-14 15:58:10 +02:00
Valere
6ad40fc6e0
Code review - more tests
2024-05-07 09:38:26 +02:00
Valere
a761215e31
Add support for Verification state analytics
2024-05-06 19:06:54 +02:00
SpiritCroc
6e2d163dcf
Fix compile with noop analytics provider
2024-04-12 21:12:44 +02:00
Benoit Marty
5a0e76677b
Improve ScreenTracker.
2024-04-02 18:12:36 +02:00
Benoit Marty
5e27c54deb
FakeStringProvider: Ensure parameter are included in the result of getString()
2024-04-02 16:15:03 +02:00
Benoit Marty
ef48c2b5a3
Track NotificationTroubleshoot screen
2024-04-02 16:15:02 +02:00
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.
2024-03-28 12:13:49 +01:00
Benoit Marty
a9e67c070d
Improve UtdTracker test.
2024-03-15 12:33:54 +01:00
Benoit Marty
73f80b314f
Add extra properties "cryptoSDK" to Error.CryptoSDK.Rust to all events and screen sent to PostHog.
2024-03-15 11:27:53 +01:00
ganfra
66030aeb64
Analytics : add analytics on read status and favorite toggles
2024-02-19 17:38:17 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
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>
2024-01-10 16:22:24 +01:00
Benoit Marty
2b764a1e56
Migrate to PostHog 3.0.0
2023-12-05 16:12:17 +01:00
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
2023-11-27 16:44:47 +01:00
Benoit Marty
628d02beb1
Add test for DefaultBugReporter
2023-11-24 16:30:06 +01:00
Benoit Marty
ec459165db
Add tests for NotifiableEventResolver
2023-11-23 17:36:23 +01:00
Benoit Marty
21200df294
Konsist: check that if sealed interface is used in parameter of Composable, it has the @Stable or @Immutable annotation
2023-11-03 15:19:55 +01:00
Benoit Marty
b4cc11ec1e
Test coverage: Add test on DefaultNavigationStateService
2023-10-24 17:17:15 +02:00
jonnyandrew
f1b142f002
Add voice message recording duration indicator and limit ( #1628 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-24 11:44:53 +00:00
Benoit Marty
510bdd47af
Remove AppNameProvider, we have buildMeta now.
2023-10-20 10:41:39 +02:00
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
2023-10-10 15:39:22 +02:00
ganfra
5ec6d7c235
Navigation: fix test and update log.
2023-09-26 11:06:49 +02:00
ganfra
e285e01673
NavigationStateService : do not throw error but just log and returns
2023-09-25 20:45:29 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
2819448cd4
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Benoit Marty
cbb27cb5e5
Class annotated with @ContributesMultibinding cannot be internal.
2023-09-11 12:03:17 +02:00
Benoit Marty
3ff7b752a1
Ensure Posthog data are sent to " https://posthog.element.io " for release build.
2023-09-11 11:35:19 +02:00
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>
2023-09-07 15:21:29 +00:00
jonnyandrew
c44b7eb81c
Fix crash in error tracking ( #1248 )
2023-09-07 15:05:11 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
5f7c1e9545
Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location.
2023-08-28 14:31:36 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Benoit Marty
4e41566847
Use dns for element-x-android project.
2023-07-24 11:36:51 +02:00
Benoit Marty
9d9a0c744e
Disable Sentry auto-init
2023-07-21 19:28:52 +02:00
Benoit Marty
c1d6c0c360
Implement Sentry module as an AnalyticsProvider.
2023-07-21 18:58:10 +02:00
Benoit Marty
69dcd47e22
Update tag value and make it internal.
2023-07-21 18:35:47 +02:00
Benoit Marty
587f615730
Restore NoopAnalyticsService (not used but can be useful for forks).
2023-07-21 18:27:10 +02:00
Benoit Marty
d4156653fd
No need to sort AnalyticsProvider (it was copied from PushProvider)
2023-07-21 18:12:17 +02:00
Benoit Marty
2928073e22
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
86756dbc09
Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code.
2023-07-20 17:48:56 +02:00
Benoit Marty
24ece8c454
Enable detekt rule UnusedPrivateMember and cleanup the code.
2023-07-20 17:44:14 +02:00
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
Benoit Marty
7207afebcc
When clearing cache, also reset some data store in prefs/datastore.
2023-07-18 01:35:12 +02:00
Jorge Martin Espinosa
9247cd765a
Fix: make sure we ignore notifications for open rooms ( #867 )
...
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
2023-07-17 17:02:06 +02:00
Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451 .
2023-07-05 15:47:53 +02:00
Marco Romano
fd467c2451
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
2023-07-05 13:58:24 +02:00
Yoan Pintas
962d92ae1a
Add ViewRoom posthog event ( #669 )
2023-06-27 21:44:54 +00:00
Yoan Pintas
710c3b279a
Add JoinedRoom posthog event ( #687 )
2023-06-27 16:32:20 +00:00
yostyle
5c7cd01ba1
Consent thread safe
2023-06-23 16:11:45 +02:00