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

Add generic thumbs up/down #973

Merged
merged 4 commits into from
Oct 12, 2021
Merged

Add generic thumbs up/down #973

merged 4 commits into from
Oct 12, 2021

Conversation

nmanu1
Copy link
Contributor

@nmanu1 nmanu1 commented Oct 12, 2021

Add generic thumbs up/down feedback buttons and analytics to all cards (#938, #939, #940).

  • Include a feedback config option in dataForRender so user can specify if feedback buttons should appear on the card or not.
  • Create a shared partial for the buttons that is used in all cards, including direct answer cards
  • Update analytics for direct answer feedback with additional event attributes.

J=SLAP-1544, 1545
TEST=manual

Smoke testing to see if thumbs up/down buttons function as expected on all cards and send analytics.

Add thumbs up/down feedback buttons to all cards without doing card-specific styling yet. Created a shared partial for the buttons, as well as a new config option in 'dataForRender', called 'feedback' that controls whether or not the buttons appear. Used the shared partial in all cards, including direct answers cards.

J=SLAP-1544
TEST=manual

Smoke testing to see if thumbs up/down buttons appear on each card
Add analytics for the thumbs up/down feedback buttons on cards. Update the analytics on direct answer cards to include additional event attributes that are consistent with those for results cards.

J=SLAP-1545
TEST=manual

Smoke testing to see if clicking feedback buttons on each card sent the correct analytics event and displayed the feedback submission message
Add card-specific styling for thumbs up/down feedback buttons on all results cards.

J=SLAP-1544
TEST=manual

Smoke testing to see if buttons match mock for each card
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 9.19% when pulling 4c68894 on feature/feedback-buttons into c288da5 on develop.

@tmeyer2115 tmeyer2115 self-requested a review October 12, 2021 15:52
@nmanu1 nmanu1 merged commit d3d591b into develop Oct 12, 2021
nmanu1 added a commit that referenced this pull request Oct 13, 2021
cea2aj added a commit that referenced this pull request Oct 14, 2021
@nmanu1 nmanu1 mentioned this pull request Nov 16, 2021
nmanu1 added a commit that referenced this pull request Nov 16, 2021
## Version 1.26.0
### Features
- Add support for the auth token, with a new global_config `token` field  (#976)
- Add support for the visitor, which can be set or changed at runtime (#970)
- Add support for generic thumbs up/down feedback buttons to all cards (#973, #1005)
- Handle page and template names with spaces (#988)

### Changes
- Update styling of navigation ‘More’ menu (#989)
- Update hover color of search bar buttons (#1000)
- Internal repo changes (automate WCAG testing (#987))

### Bugfixes
- Fix console error which would appear on google maps (#955)
- Fix extra query when loading in iframe integrations (#986)
- Fix bug that displayed links that didn’t exist (#990)
- Allow microphone access for voice search in iframe (#991)
- Fix issue with custom search icon size (#992)
- Fix bug with new prop comments not being added (#1004)
- Fix distance alignment on location cards (#1006)
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