Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [RUMF-794] Add isActive attribute to view events #648

Merged
merged 6 commits into from
Dec 21, 2020

Conversation

webNeat
Copy link
Contributor

@webNeat webNeat commented Dec 14, 2020

Motivation

Adds a new attribute isActive to view events, indicating if the view is currently active or not.

Changes

Testing


I have gone over the contributing documentation.

@webNeat webNeat requested a review from a team as a code owner December 14, 2020 17:06
@webNeat webNeat force-pushed the amine.benhammou/view-is-active branch from fc4014d to 35580e3 Compare December 14, 2020 17:24
Co-authored-by: Bastien Caudan <bastien.caudan@datadoghq.com>
;({ handler, getViewEvent } = spyOnViews())

setupBuilder = setup()
.withFakeClock()
Copy link
Member

Choose a reason for hiding this comment

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

NIT: the fake clock is not used here, it could be removed

@codecov-io
Copy link

codecov-io commented Dec 15, 2020

Codecov Report

Merging #648 (74506ba) into master (a9935a2) will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #648   +/-   ##
=======================================
  Coverage   87.75%   87.75%           
=======================================
  Files          55       55           
  Lines        2531     2531           
  Branches      524      524           
=======================================
  Hits         2221     2221           
  Misses        310      310           
Impacted Files Coverage Δ
.../domain/rumEventsCollection/view/viewCollection.ts 100.00% <ø> (ø)
packages/rum/src/rawRumEvent.types.ts 100.00% <ø> (ø)
packages/rum/test/fixtures.ts 100.00% <ø> (ø)
.../src/domain/rumEventsCollection/view/trackViews.ts 96.55% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9935a2...74506ba. Read the comment docs.

@webNeat webNeat merged commit e4c5dc8 into master Dec 21, 2020
@webNeat webNeat deleted the amine.benhammou/view-is-active branch December 21, 2020 16:02
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.

4 participants