Skip to content

[RUMM-3448] Remove tracking of view loading time and fix unit tests#1545

Merged
plousada merged 7 commits into
developfrom
plousada/RUMM-3448/remove_view_loading
Jul 24, 2023
Merged

[RUMM-3448] Remove tracking of view loading time and fix unit tests#1545
plousada merged 7 commits into
developfrom
plousada/RUMM-3448/remove_view_loading

Conversation

@plousada

@plousada plousada commented Jul 14, 2023

Copy link
Copy Markdown
Member

What does this PR do?

Eliminates view.loading_time from the SDK.
Alongside this introduced a view update event following a new view scope creation created via startView event.

Motivation

We're removing view.loading_time as it was causing customer confusion with its current implementation.
We'll rework and re-introduce this feature in a more holistic manner once we come to a product decision.

Additional Notes

I also altered the process priority for Kiosk integration tests in order to align with the other existing scenarios.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch from 7a29fca to fbd9aef Compare July 20, 2023 09:47
@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch from fbd9aef to bbaa2ae Compare July 20, 2023 11:18
@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch 3 times, most recently from 0bb0ce2 to 5bd2ca6 Compare July 21, 2023 12:56
@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch from 5bd2ca6 to 294bfd0 Compare July 21, 2023 12:56
@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch from 471c0fd to 2d7ca96 Compare July 21, 2023 13:31
@plousada
plousada force-pushed the plousada/RUMM-3448/remove_view_loading branch from 2d7ca96 to 78955db Compare July 21, 2023 13:47
@codecov-commenter

codecov-commenter commented Jul 21, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1545 (78955db) into develop (4be13fb) will decrease coverage by 0.23%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1545      +/-   ##
===========================================
- Coverage    83.55%   83.31%   -0.23%     
===========================================
  Files          438      437       -1     
  Lines        14877    14746     -131     
  Branches      2246     2219      -27     
===========================================
- Hits         12429    12285     -144     
- Misses        1867     1874       +7     
- Partials       581      587       +6     
Impacted Files Coverage Δ
...g/android/rum/internal/domain/scope/RumRawEvent.kt 100.00% <ø> (ø)
.../android/rum/internal/monitor/DatadogRumMonitor.kt 86.64% <ø> (-0.12%) ⬇️
...nternal/tracking/OreoFragmentLifecycleCallbacks.kt 90.62% <ø> (-4.11%) ⬇️
...droid/rum/tracking/ActivityViewTrackingStrategy.kt 86.96% <ø> (-8.96%) ⬇️
...droid/rum/tracking/FragmentViewTrackingStrategy.kt 87.04% <ø> (+6.00%) ⬆️
...d/rum/internal/domain/scope/RumViewManagerScope.kt 96.88% <100.00%> (+0.02%) ⬆️
.../android/rum/internal/domain/scope/RumViewScope.kt 95.32% <100.00%> (-0.08%) ⬇️
...nal/tracking/AndroidXFragmentLifecycleCallbacks.kt 92.86% <100.00%> (-3.14%) ⬇️
...oid/rum/tracking/NavigationViewTrackingStrategy.kt 86.76% <100.00%> (+0.28%) ⬆️

... and 11 files with indirect coverage changes

@plousada
plousada marked this pull request as ready for review July 21, 2023 14:26
@plousada
plousada requested a review from a team as a code owner July 21, 2023 14:26

@0xnm 0xnm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@plousada
plousada merged commit 01ece69 into develop Jul 24, 2023
@plousada
plousada deleted the plousada/RUMM-3448/remove_view_loading branch July 24, 2023 09:52
@xgouchet xgouchet added this to the 2.0.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants