getpatchwork / patchwork

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
http://jk.ozlabs.org/projects/patchwork/
GNU General Public License v2.0
273 stars 82 forks source link

Add magic link to open patches in user's mail client #578

Open rossburton opened 7 months ago

rossburton commented 7 months ago

Many mail clients support opening specific mails using a special URL scheme. Because engineers are engineers, obviously there is more than one standard here. For example, Evolution uses mid:<messageid> and macOS Mail uses message:<messageid>.

If the user specifies what URL scheme they prefer, then patchwork can add buttons that will open the relevant mail directly in the user's mailer (assuming they have it). It looks like this:

Screenshot 2024-01-16 at 20 23 25

Clicking the "open in new window" button opens the mail in my client like magic! This makes replying to patches actually easy, which is nice for a change.

Marking as a draft as the commit messages need work and I'd like feedback from the maintainers, but this does actually work.

jluebbe commented 7 months ago

According to https://gitlab.gnome.org/GNOME/evolution/-/issues/2618, the necessary change to Evolution's .desktop file is in 3.51.1.