Jorge Martín
165032ea02
Make sure we don't upload any user ids in tags either
2025-12-18 14:08:38 +01:00
Jorge Martín
515f7f4946
Add more tests to SentryAnalyticsProviderTest
2025-12-18 14:08:38 +01:00
Jorge Martín
69eda26235
Check computeCacheSize function in DeveloperSettingsPresenterTest
2025-12-18 14:08:38 +01:00
Jorge Martín
b5d6843725
Inject SentryDsn the same way we do with SentrySdkDsn so we can fake it for tests
2025-12-18 14:08:38 +01:00
Jorge Martín
de694cecdb
Add tests for RustMatrixClient.getDatabaseSizes()
2025-12-18 14:08:38 +01:00
Jorge Martín
9a9e84f6c8
Add tests for SentryAnalyticsProvider
2025-12-18 14:08:38 +01:00
Jorge Martín
4ef0dfed8c
Try fixing UI test (it works locally)
2025-12-18 14:08:38 +01:00
Jorge Martín
88f45517ca
Fix test
2025-12-18 14:08:38 +01:00
Jorge Martín
7fe3b18699
Distinguish between indexable and non-indexable extra data
2025-12-18 14:08:38 +01:00
Jorge Martín
5c6fee08fd
Fix tests
2025-12-18 14:08:38 +01:00
Jorge Martín
b201b40639
Add a new entry in the developer settings to check the store sizes
2025-12-18 14:08:38 +01:00
Jorge Martín
20c0d0190e
Add extra code to make sure we can't upload a session/user id as an extra by mistake
2025-12-18 14:08:38 +01:00
Jorge Martín
a4b908bc18
Integrate the new use case with Sentry
...
We'll upload the store sizes as different fields so we can later use them to filter transaction/issues
2025-12-18 14:08:38 +01:00
Jorge Martín
b064b35c93
Create GetDatabaseSizesUseCase so we don't have to expose the while MatrixClient to get these values
2025-12-18 14:08:38 +01:00
Jorge Martín
b4d2f322ad
Rename ByteSize.to to ByteSize.into
...
This method could clash the the `a to b` operator.
2025-12-18 14:08:38 +01:00
Jorge Martín
dc0b508b08
Add MatrixClient.getDatabaseSizes
...
This returns a `SdkStoreSizes` object, with the possible SDK database sizes.
2025-12-18 14:08:38 +01:00
Jorge Martín
18482a99e3
Add AnalyticsUserData, with keys for several extras we want to upload to Sentry.
...
Add the `HOMESERVER` extra, with a hashed homeserver value. This is only so we can identify devices using a problematic HS (like matrix.org under heavy load).
2025-12-18 14:08:38 +01:00
Jorge Martín
367bbc7e4b
Create addUserData method in the analytics providers
...
This allows us to globally add arbitrary data to the events and transactions
2025-12-18 14:08:38 +01:00
renovate[bot]
8057bda977
fix(deps): update activity to v1.12.2 ( #5924 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:21:39 +00:00
renovate[bot]
432b7b8cd7
fix(deps): update metro to v0.9.1 ( #5920 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 12:00:20 +01:00
renovate[bot]
d362e33821
chore(deps): update plugin sonarqube to v7.2.1.6560 ( #5905 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:48:12 +01:00
renovate[bot]
2bd6730e90
fix(deps): update dependency com.posthog:posthog-android to v3.27.2 ( #5871 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:46:45 +01:00
renovate[bot]
c3f4b09270
chore(deps): update peter-evans/create-pull-request action to v8 ( #5878 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:45:58 +01:00
renovate[bot]
6b64f865d7
fix(deps): update haze to v1.7.1 ( #5712 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-18 11:45:16 +01:00
Benoit Marty
c5b2aa00f7
Merge pull request #5919 from element-hq/feature/bma/fixPreviewName
...
Fix preview name
2025-12-17 22:16:48 +01:00
renovate[bot]
75022f4018
fix(deps): update dependency com.google.firebase:firebase-bom to v34.7.0 ( #5915 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 16:41:13 +01:00
renovate[bot]
e953ff3137
fix(deps): update dependency io.sentry:sentry-android to v8.29.0 ( #5918 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 16:40:17 +01:00
renovate[bot]
10b85ec1ff
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.17 ( #5912 )
...
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.12.17
* Fix changes in the SDK:
`LatestEventValue.Local` doesn't have an `isSending` property anymore, now it has `state: LatestEventValueLocalState`. If this is `HAS_BEEN_SENT`, it's equivalent to a `LatestEventValue.Remote`, we just haven't received the updated value from the SDK yet.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-12-17 15:08:41 +00:00
renovate[bot]
24e1514fc3
fix(deps): update activity to v1.12.1 ( #5770 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 15:39:18 +01:00
ElementBot
1f7c6c86d2
Update screenshots
2025-12-17 14:21:11 +00:00
renovate[bot]
d905dfd7ff
fix(deps): update kotlin ( #5417 )
...
* fix(deps): update kotlin
* No need for compat.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoitm@element.io >
2025-12-17 14:12:42 +00:00
Benoit Marty
0e6a0c7f2f
Fix how we compute screenshot files.
...
`AttachmentsPreviewViewPreview` was wrongly converted to `AttachmentsView` instead of `AttachmentsPreviewView`
2025-12-17 15:05:11 +01:00
renovate[bot]
5c4d11c21f
fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.2 ( #5911 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 14:39:10 +01:00
renovate[bot]
4ad568ecd6
Update lifecycle to v2.10.0 ( #5240 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-17 14:27:39 +01:00
Benoit Marty
121dc04490
Merge pull request #5913 from element-hq/feature/bma/compound_6.4.3
...
Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.3
2025-12-17 12:57:58 +01:00
ElementBot
9e23d9f451
Update screenshots
2025-12-17 11:26:22 +00:00
Benoit Marty
8be152644c
Use BackspaceSolid Icon from Compound
2025-12-17 12:07:23 +01:00
Benoit Marty
095801af89
Icon Backspace and BackspaceSolid must be auto-mirrored.
2025-12-17 12:03:04 +01:00
Benoit Marty
538a309a1a
Import Compound tokens from release v6.4.3
...
https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.3
2025-12-17 11:59:16 +01:00
Benoit Marty
f39da829a7
Merge pull request #5179 from element-hq/feature/bma/compose2025.08.00
...
Update Compose BOM to version 2025.12.00.
2025-12-17 11:33:49 +01:00
Benoit Marty
90d71f5e66
Fix issue detected by lint.
2025-12-17 10:59:48 +01:00
ElementBot
15bb74a8f7
Update screenshots
2025-12-17 08:46:11 +00:00
Benoit Marty
758378b17a
Compose 2025.12.00
2025-12-17 08:51:15 +01:00
Benoit Marty
e5d48db40f
Compose 2025.11.01
2025-12-17 08:33:17 +01:00
Benoit Marty
b6991c05cb
Fix colors again
2025-12-17 08:33:16 +01:00
Benoit Marty
fe78c70625
Make sure preview contains the two themes.
2025-12-17 08:33:16 +01:00
Benoit Marty
868108d725
Fix SearchBar colors.
...
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=1992-8350
2025-12-17 08:33:15 +01:00
Benoit Marty
3aa7966e2c
Update Compose BOM version to 2025.10.00
2025-12-17 08:33:15 +01:00
Benoit Marty
0fde8a9b59
Fix compilation errors and warnings.
2025-12-17 08:33:14 +01:00
Benoit Marty
771277b1aa
Update Compose BOM version to 2025.09.01
2025-12-17 08:33:14 +01:00