Conversation
…m Yes to No and not the other way around CS-208: [Bug] - Statement of Applicability only allows you to change answers from Yes to No and not the other way around
PR SummaryMedium Risk Overview Changes the save/update flow so Written by Cursor Bugbot for commit d164c77. This will update automatically on new commits. Configure here. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
|
|
||
| const handleEditClick = () => { | ||
| setIsEditing(true); | ||
| if (isApplicable === false) { |
There was a problem hiding this comment.
Edit click no longer opens justification dialog for "No" answers
High Severity
handleEditClick no longer opens the justification dialog when isApplicable is already false. Since Radix UI's Select only fires onValueChange when the value actually changes, re-selecting "no" while it's already "no" won't trigger handleSelectChange. This means users can't access the justification dialog to edit justification text for existing "No" answers. The only workaround is switching to "Yes" first, which triggers an immediate destructive save via executeSave(true, null), wiping the previous justification.


This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.