Repository navigation
[Episode Chat] Rate answers with thumbs up or down - #6142
Conversation
|
Claude finished @sztomek's task in 1m 2s —— View job No blocking issues. Ratings are keyed by the persisted message uuid, so they stay stable as Non-blocking
|
|
Claude finished @sztomek's task in 20s —— View job No new commits since the last review, and nothing blocking. One non-blocking point is still open. Non-blocking
|
595a7ea to
3f4f3eb
Compare
7fc7418 to
8e7d943
Compare
|
Claude finished @sztomek's task in 34s —— View job This push is a rebase onto Non-blocking
|
3f4f3eb to
6b18b41
Compare
8e7d943 to
4c534b6
Compare
|
Claude finished @sztomek's task in 23s —— View job The new commit ( Non-blocking
|
|
Version |
6b18b41 to
a1245f2
Compare
4c534b6 to
1058010
Compare
|
Claude finished @sztomek's task in 23s —— View job This push rebases the PR onto the new Non-blocking
|
a1245f2 to
946e6eb
Compare
1058010 to
162e5b5
Compare
|
Claude finished @sztomek's task in 17s —— View job This push is another rebase. The base Non-blocking
|
294ce3e to
77eb6db
Compare
162e5b5 to
128e302
Compare
|
Claude finished @sztomek's task in 22s —— View job This push only rebases the PR onto |
128e302 to
51ae9bb
Compare
|
Claude finished @sztomek's task in 58s —— View job The four new commits ( |
Generated by 🚫 Danger |
0e73311 to
31c7a96
Compare
|
Claude finished @sztomek's task in 33s —— View job The only new commit is |
Description
Adds 👍/👎 under every answer in Ask about this episode, as in the P2 ("Users can leave feedback for each response by tapping the Thumbs up or down icon") and the Figma designs. This PR is based on #6127.
Behaviour
How it works
ChatViewModel.rateAnswer()keeps the ratings inChatUiState.answerRatings, keyed by the uuid of the answer's first message.childFragmentManagerwith a newTrigger.ResponseRating. It sends back a fragment result on submit, so the thanks message shows inside the chat.episode_chat_response_rated) come in [Episode Chat] Send the missing chat analytics properties #6141, which will be rebased on top of this PR.Open for design / product
Fixes POC-955 https://linear.app/a8c/issue/POC-955/add-thumbs-updown-reactions-for-answers
Testing Instructions
Use a debug build with "Episode Chat" on in Beta features.
episode_chat_feedback_form_shownwithtrigger=response_rating.Screenshots or Screencast
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...