-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
feat(embedding-sdk): emit data-mask events through embedded sdk to iframe parent #31331
base: master
Are you sure you want to change the base?
feat(embedding-sdk): emit data-mask events through embedded sdk to iframe parent #31331
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f5d42c0
to
438c989
Compare
This seems like a reasonable feature, but leaves me with a couple of questions:
|
Hey @rusackas, thanks for the initial followup. To answer your questions:
I'll come up with a small list of data to emit, and If we are in agreement I'll add that data as well (possibly configured through SDK), for now I feel this amount is enough. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #31331 +/- ##
===========================================
+ Coverage 60.48% 70.95% +10.47%
===========================================
Files 1931 2000 +69
Lines 76236 80874 +4638
Branches 8568 9213 +645
===========================================
+ Hits 46114 57387 +11273
+ Misses 28017 21247 -6770
- Partials 2105 2240 +135
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
SUMMARY
Added the ability to emit data-mask events to the parent. Still need to figure out how to define what events can be emitted and if this should be a middleware/some other redux operation instead of subscribe
TESTING INSTRUCTIONS
EMBEDDED_SUPERSET_EMIT_DATA_MASKS
feature flaggetDataMasks
and pass in a callbackADDITIONAL INFORMATION
EMBEDDED_SUPERSET_EMIT_DATA_MASKS