Update the existing row in the Dangerzone GUI that holds the info for the document conversion. The new row should show the following:
[ ] Filename: should be just the name of the file, and truncated with ellipses to fit, if necessary
[ ] Actions:
[ ] View: shown only the conversion has finished successfully. Opens the sanitized document. Can co-exist with the setting that opens documents by default.
[ ] Preview: shown unless the document has been sanitized.
:exclamation: Placeholder for now, until we nail #758.
[ ] ⏹ Stop: shown only when the conversion is pending. Aborts any ongoing conversion process.
[ ] ⭮ Restart: shown only when the conversion is stopped. Restarts the conversion for the document.
[ ] 🗑 Delete: always shown. Delete the document and the row. Implicitly stops ongoing conversions.
:exclamation: We don't have content for a confirmation message
[ ] Progress bar:
[ ] Color codes:
orange means that conversion is underway
green means that the conversion has completed successfully
red means there's an error (keep the last progress percentage)
gray means that the conversion was stopped (keep the last progress percentage)
[ ] Estimated conversion time: the time it will take the conversion to finish in short form (1h2m3s)
[ ] Error indication: Visual indication that an error has occurred (other than relying on the color of the bar, which is not accessible)
[ ] Maybe the conversion can be retried with the "Restart" button.
[ ] Show error message on hover
[ ] Maybe add a red notification bubble in the more details icon, to point the user to the logs.
[ ] More details:
[ ] Expandable widget
[ ] Show if OCR is used, and what was the language
[ ] Show full safe file path (clickable if finished, else plain)
[ ] Show full unsafe file path (never clickable)
[ ] View logs ( :exclamation: we don't have a widget for the logs yet)
Main issue: #885
Update the existing row in the Dangerzone GUI that holds the info for the document conversion. The new row should show the following:
Design material
Successful conversion
Failed conversion
Pending conversion
Stopped conversion
More details
(See above for correction on the design)
Current document row