MAINT: Simplifying GUI Feedback Buttons - #2526
MAINT: Simplifying GUI Feedback Buttons#2526Richard Lundeen (rlundeen2) wants to merge 4 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 213b9228-bbd2-4dc8-a9b5-93cc6504e69c
| proprietary information. Do not use this form to report a security | ||
| vulnerability. Follow the{' '} | ||
| <Link | ||
| href="https://github.com/microsoft/PyRIT/issues" |
There was a problem hiding this comment.
i think the point of this link was to show people wehre there feedback was going to be posted (bc we have a bit of a hacky system in that it really just automates creating github issues), not to give the security policy but obviously this PR is indicative that that isn't clear (as in it might make sense to remove the link that indicates where the feedback is being aggregated). It makes sense to me to add the security policy link here but also the policy isn't specific to posting feedback so idk if we necessarily want to move it entirely. wdyt ?
There was a problem hiding this comment.
I like having it as one place and not separated. Users think in terms of "I need to tell the project something". And that might be a feature, security issue, etc. I've had two moments of minor confusion. 1) I thought the security icon meant security settings or something. 2) I was wondering where we'd report security issues and clicked on the feedback button first. I am pretty confident that people will think "security issue" or "bug" or "feature" and click on the right place.
But you're so right that it does put some cognitive burden after they open the feedback dialog and it made the form itself more confusing. I updated this to make the form better. I'm adding a "vulnerability" in the drop down, and then made it clear to follow the right process. WDYT about this?
There was a problem hiding this comment.
I think part of the problem is (i think) they shared the same icon which does not read privacy policy at all imo so yeah 100% confusing. I think this makes sense but can you update the screenshots ?
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 213b9228-bbd2-4dc8-a9b5-93cc6504e69c
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 213b9228-bbd2-4dc8-a9b5-93cc6504e69c
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 213b9228-bbd2-4dc8-a9b5-93cc6504e69c
Summary
There were two ways to create feedback in the past, which was a bit confusing in the side panel. This PR adds the security link to the form itself.
Before
After
Testing
npm test -- --runInBand src/components/Sidebar/Navigation.test.tsx src/components/Feedback/FeedbackDialog.test.tsxuv run --no-sync pre-commit run --all-files