Skip to content

Collect feedback from screener users on the accuracy of AI label#6203

Open
embarnard wants to merge 3 commits intomainfrom
GYR1-873-collect-feedback-from-screener-users-on-the-accuracy-of-ai-label
Open

Collect feedback from screener users on the accuracy of AI label#6203
embarnard wants to merge 3 commits intomainfrom
GYR1-873-collect-feedback-from-screener-users-on-the-accuracy-of-ai-label

Conversation

@embarnard
Copy link
Contributor

Link to pivotal/JIRA issue

Is PM acceptance required? (delete one)

  • Yes - don't merge until JIRA issue is accepted!

Reminder: merge main into this branch and get green tests before merging to main

What was done?

  • collect feedback on the accuracy of the AI label on the edit doc page
  • save in the DocAssessmentFeedback model
  • if they select no then show a text box to allow them to provide more details
  • doesn't display if feedback is already given for that assessment

How to test?

  • go to a clients document page and select a document with a doc assessment

Screenshots (for visual changes)

Screenshot 2026-02-23 at 8 02 25 PM

after selecting the red X
Screenshot 2026-02-23 at 8 02 30 PM

@github-actions
Copy link

Heroku app: https://gyr-review-app-6203-5f1946a4f662.herokuapp.com/
View logs: heroku logs --app gyr-review-app-6203 (optionally add --tail)

redirect_back fallback_location: edit_hub_client_document_path(client_id: @document.client.id, id: @document)
end

private
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want to add a spec under the controller spec?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point! just added one

Copy link
Contributor

@tahsinaislam tahsinaislam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me but maybe you need a test?

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.

2 participants