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

v1.22.1 #864

Merged
merged 3 commits into from
Jun 29, 2021
Merged

v1.22.1 #864

merged 3 commits into from
Jun 29, 2021

Conversation

tmeyer2115
Copy link
Collaborator

Bug Fixes

This PR ensures that for all result cards, when an RTF link is clicked, the correct `AnalyticsEvent` is fired. This code is largely taken from the SDK's `CardComponent` class. The only difference is in how some of the event options are computed.

J=SLAP-1403
TEST=manual

Tested the following:
- Event was properly fired for a link click on vertical.
- Event was properly fired for a link click on universal.
- Clicking elsewhere on an RTF value (not a link) did not cause an event to fire.
This PR ensures that all Direct Answer cards in the Theme support RTF link
click analytics. The code was taken largely from the SDK. The main difference
is the source of some of the event options.

J=SLAP-1405
TEST=manual

Built a local test site with the new base `card_component`. Saw the correct
`AnalyticsEvent`s getting fired when I clicked on a RTF DA's links. Verified
that clicking plain text in the RTF value did not cause an event to be
fired.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 6.352% when pulling 5207b6e on hotfix/v1.22.1 into 6402079 on develop.

@tmeyer2115 tmeyer2115 merged commit 8f9b9cc into develop Jun 29, 2021
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.

None yet

3 participants