Add a dedicated print preview dialog for Electron apps

Open
#704 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
electron, javascript
Domain
desktop

Research direction

The issue does not name files, tests, or entry points. Start by locating the Electron app's existing email printing workflow and its Electron-specific UI; then trace how selected email content reaches printing. Done means Electron has the described configurable, paginated preview with Print and Save as PDF actions, while browser printing remains unchanged.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
Currently, email printing in the Electron desktop application lacks a dedicated print preview interface with configurable settings, paginated output, and integrated PDF export.

This feature would apply exclusively to the Electron desktop application, leaving the existing browser-based printing experience unchanged.

Describe the solution you'd like

  • I'd like to propose introducing a dedicated Electron print preview dialog with the following features:
  • Display configurable print settings on the left and a paginated email preview on the right.
  • Include both Print and Save as PDF actions directly within the preview.
  • Allow users to print only highlighted email content when selected before opening the preview.
  • Use the new dialog exclusively in Electron, preserving the existing printing workflow in web browsers.

Describe alternatives you've considered

  • Continuing to use Electron's existing print functionality without an integrated preview.
  • Opening emails in an external browser for printing or PDF export.
  • Relying entirely on Electron's native print dialog.

However, a dedicated print preview would provide a more consistent desktop experience with better control over printing and PDF exports.

Additional context
I've already implemented the proposed Electron print preview dialog in my fork and fully tested it in both development and production environments.

I have a few suggested adjustments from @maathimself to make before I make another PR but here are some screenshots of what is make so far.

Image Image

I'm open to further feedback or suggestions before submitting the updated PR.

Dominant language
JavaScript
Stars
518
Forks
50
Avg merge
4d 45m
Merged PRs (30d)
43

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from maathimself/mailflow

All issues in maathimself/mailflow

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.