Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI v2: Document row #891

Open
20 tasks
Tracked by #885
apyrgio opened this issue Aug 8, 2024 · 0 comments
Open
20 tasks
Tracked by #885

GUI v2: Document row #891

apyrgio opened this issue Aug 8, 2024 · 0 comments
Labels
enhancement New feature or request gui-v2 Issues that target the redesign of the Dangerzone GUI

Comments

@apyrgio
Copy link
Contributor

apyrgio commented Aug 8, 2024

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:

  • 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.
    • ⏹ 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.
      • ❗ 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 ( ❗ we don't have a widget for the logs yet)

Design material

Successful conversion

image

Failed conversion

image

Pending conversion

image

Stopped conversion

image

More details

(See above for correction on the design)

image

Current document row

image

@apyrgio apyrgio added enhancement New feature or request gui-v2 Issues that target the redesign of the Dangerzone GUI labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gui-v2 Issues that target the redesign of the Dangerzone GUI
Projects
None yet
Development

No branches or pull requests

1 participant