-
Notifications
You must be signed in to change notification settings - Fork 5
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 feedback buttons to cards #938
Conversation
We can ignore the failing Translation Test for now. The Theme should not be running that test on every PR. Fixing this check will be done as part of another item. |
Based on the Percy snapshots, I think some of the feedback buttons need to be adjusted so that they are on the bottom right of the cards. We may also need to add some more padding and make the buttons a little smaller |
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.
I think the result cards and the DA cards are now using the same static text. I would expect the translation test to be passing now. Do you know why it's still failing?
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