Open Bug 1897267 Opened 1 year ago

Do not clear the Report Broken Site dialog right away when clicking "send more info"

Categories

(Web Compatibility :: Tooling & Investigations, defect)

defect

Tracking

(Not tracked)

People

(Reporter: twisniewski, Unassigned)

References

Details

On pre-release channels, we show "send more info" on the Report Broken Site dialog, but the info on the dialog is cleared when you click on that link. If a curious user decides to not file a bug on webcompat.com, and go back to the Report Broken Site dialog, the data therein will have been cleared already. It would be nice to not clear the data in this case, until we confirm that the report was actually sent to webcompat.com.

I believe we could do this by ignoring the tab-change to webcompat.com in the clearing function, then waiting until a POST request on the webcompat.com tab is detected to submit the report before resetting the dialog (assuming it is still a report for the same URL).

You need to log in before you can comment on or make changes to this bug.