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

✨ [RUM-7572] Add get api of view specific context #3266

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

RomanGaignault
Copy link
Contributor

Motivation

After adding set view context we need to have a get view context api

Changes

Add a new api

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@RomanGaignault RomanGaignault requested a review from a team as a code owner January 8, 2025 13:14
@codecov-commenter
Copy link

codecov-commenter commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.34%. Comparing base (c4b6046) to head (a3a89c7).
Report is 285 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3266   +/-   ##
=======================================
  Coverage   93.34%   93.34%           
=======================================
  Files         287      287           
  Lines        7784     7789    +5     
  Branches     1759     1759           
=======================================
+ Hits         7266     7271    +5     
  Misses        518      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -53,6 +53,8 @@ export function createPreStartStrategy(

const trackingConsentStateSubscription = trackingConsentState.observable.subscribe(tryStartRum)

const noopContext: Context = {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

🥜 nitpick:emptyContext is more correct I think in this case (even if indeed there is no operation too)

@RomanGaignault RomanGaignault merged commit 4623045 into main Jan 14, 2025
19 checks passed
@RomanGaignault RomanGaignault deleted the romanG/get-view-context-api branch January 14, 2025 19:37
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