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
Jorge Martin Espinosa
663362ac7f
Add forced logout flow when the proxy is no longer available ( #3458 )
...
* Add `MatrixClient.isSlidingSyncProxySupported` function
* Update localazy strings
* Modify `ErrorDialog` to have an `onSubmit` call, which will be used for the submit action.
Also make the title text optional and dismissing the dialog by tapping outside/going back configurable.
* Check if a forced migration to SSS is needed because the proxy is no longer available.
In that case, display the non-dismissable dialog and force the user to log out after enabling SSS.
* Enable native/simplified sliding sync by default.
* Refactor the login to make sure we:
1. Always try native/simplified sliding sync login first, if available.
2. Then, if it wasn't available or failed with an sliding sync not supported error, try with the proxy instead (either discovered proxy or forced custom one).
* Move logic to `LoggedInPresenter` and the UI to `LoggedInView`
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2 months ago
Benoit Marty
375ac25d8d
Migrate license to AGPL - XML files.
2 months ago
Benoit Marty
f61df38e55
Migrate license to AGPL.
...
Run script `uv run license-editor --repository ../element-x-android`
2 months ago
ganfra
0b32dbebb5
tests : refactor some classes
3 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
Jorge Martin Espinosa
b741c32e91
Add full screen intent permissions banner ( #3024 )
...
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
- Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
- Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
Benoit Marty
b68b08300a
Add test on DefaultFtueService.reset().
5 months ago
Benoit Marty
9567119e31
Ensure Posthog is only used for Element builds.
5 months ago
Benoit Marty
6fc4450c56
Analytics: track screen `MobileScreen.ScreenName.RoomCall`
5 months ago
Valere
ca660de348
Add missing impl in Sentry
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
635a88e585
Cleanup import
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
Valere
a761215e31
Add support for Verification state analytics
6 months ago
SpiritCroc
6e2d163dcf
Fix compile with noop analytics provider
7 months ago
Benoit Marty
5a0e76677b
Improve ScreenTracker.
7 months ago
Benoit Marty
5e27c54deb
FakeStringProvider: Ensure parameter are included in the result of getString()
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
73f80b314f
Add extra properties `"cryptoSDK" to Error.CryptoSDK.Rust` to all events and screen sent to PostHog.
8 months ago
ganfra
66030aeb64
Analytics : add analytics on read status and favorite toggles
9 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
Benoit Marty
2b764a1e56
Migrate to PostHog 3.0.0
11 months ago
Benoit Marty
a02c5c2b44
Add test for DefaultNotificationDrawerManager
11 months ago
Benoit Marty
628d02beb1
Add test for DefaultBugReporter
11 months ago
Benoit Marty
ec459165db
Add tests for `NotifiableEventResolver`
11 months ago
Benoit Marty
21200df294
Konsist: check that if `sealed interface` is used in parameter of `Composable`, it has the `@Stable` or `@Immutable` annotation
1 year ago
Benoit Marty
b4cc11ec1e
Test coverage: Add test on DefaultNavigationStateService
1 year ago
jonnyandrew
f1b142f002
Add voice message recording duration indicator and limit ( #1628 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
510bdd47af
Remove AppNameProvider, we have buildMeta now.
1 year ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
1 year ago
ganfra
5ec6d7c235
Navigation: fix test and update log.
1 year ago
ganfra
e285e01673
NavigationStateService : do not throw error but just log and returns
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
Benoit Marty
2819448cd4
Use `DayNightPreview`
1 year ago
Benoit Marty
cbb27cb5e5
Class annotated with `@ContributesMultibinding` cannot be internal.
1 year ago
Benoit Marty
3ff7b752a1
Ensure Posthog data are sent to " https://posthog.element.io " for release build.
1 year 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
jonnyandrew
c44b7eb81c
Fix crash in error tracking ( #1248 )
1 year ago