Implement a user-friendly 'Report an Issue' feature with the following workflow:
- Add a flag button to the UI. When clicked, it opens a dialog asking the user to describe their issue.
- If the user is working with a draft, provide a checkbox to include the draft folder in the report. If checked, zip the draft folder files.
- On submit, allow the user to either:
- POST the issue description and any zipped draft files to a new
/api/report_issue endpoint in the Pulse Vault app, which will be responsible for handling the report and deciding if a GitHub ticket should be created for it.
- OR save the zipped draft and issue description locally in files (so the user can store them, email them, or move them as needed).
- After submitting, optionally allow the user to:
- download the zipped draft to their local folder,
- send it to their desktop (if applicable),
- or manually email/share the file as needed.
This approach centralizes issue artifacts in Pulse Vault when submitted there, allows for local manual workflows, and streamlines further actions (e.g., escalation/ticket creation, security review).
Additional notes:
- Please coordinate endpoint design and security review with the Pulse Vault team.
Implement a user-friendly 'Report an Issue' feature with the following workflow:
/api/report_issueendpoint in the Pulse Vault app, which will be responsible for handling the report and deciding if a GitHub ticket should be created for it.This approach centralizes issue artifacts in Pulse Vault when submitted there, allows for local manual workflows, and streamlines further actions (e.g., escalation/ticket creation, security review).
Additional notes: