You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Require explicit confirmation before changing a report status #23
Frontend / Accessibility and data safety (admin.html, js/admin.js)
Description
On the staff page a report's status is saved as soon as a dropdown value changes. This can cause accidental updates, especially for keyboard users who move through the options.
Current Behavior
js/admin.js listens for the change event on each status dropdown and calls updateStatus immediately. In Chrome, pressing the arrow keys on a focused dropdown fires change for every key press. Test: focus a dropdown and press ArrowDown twice. Two PATCH requests were sent (IN_PROGRESS, then FIXED) and the report ended as FIXED without Enter being pressed. There is no confirmation and no undo.
Expected Behavior
A status is saved only after an explicit action by the user.
What Needs to Change
Add a clear way to save a new status, and make sure that changing the dropdown alone does not update the server. The design of the control is open to the contributor.
Acceptance Criteria
Changing the dropdown selection alone does not send a request to the server
The user has a clear way to save the new status
Saving is not possible (the save action is disabled) when the selection is the same as the saved status
The control is disabled while the request is in progress
Success and error feedback is shown clearly, next to the report that was changed
Hi! I'd like to work on this. Plan: changing the status dropdown no longer saves. Each row gets a Save button (disabled when unchanged or while saving) with success/error feedback next to the report. Works with keyboard only.
Activity
vegadarsiwork commentedon Nov 4, 2026
Hi! I'd like to work on this. Plan: changing the status dropdown no longer saves. Each row gets a Save button (disabled when unchanged or while saving) with success/error feedback next to the report. Works with keyboard only.