After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755596 - Support schema.org one-click and go-to actions on e-mails
Support schema.org one-click and go-to actions on e-mails
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
3.18.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-09-24 21:56 UTC by Philip Withnall
Modified: 2021-05-26 12:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GMail screenshot — see the ‘View Pull Request’ link (28.60 KB, image/png)
2015-09-25 10:59 UTC, Philip Withnall
Details
Evolution screenshot (55.08 KB, image/png)
2015-09-25 10:59 UTC, Philip Withnall
Details
Example e-mail containing meta itemprop tag (5.57 KB, text/plain)
2015-09-25 11:00 UTC, Philip Withnall
Details

Description Philip Withnall 2015-09-24 21:56:04 UTC
GMail now shows inline links in its e-mail list for things like ‘View pull request’ on GitHub e-mails.

This is powered by schema.org markup in the e-mail, documented here:
 • https://developers.google.com/gmail/markup/reference/one-click-actionhttps://developers.google.com/gmail/markup/reference/go-to-action
as well of a variety of others.

It would be quite cool if Evolution supported this too.
Comment 1 Milan Crha 2015-09-25 10:34:43 UTC
Thanks for a bug report. Do you have a test email and screen-shot how it looks in the GMail and how in the evolution (ideally one screenshot with one side from GMail and the other from the Evolution), to notice the difference and such, please?
Comment 2 Philip Withnall 2015-09-25 10:59:14 UTC
Created attachment 312127 [details]
GMail screenshot — see the ‘View Pull Request’ link
Comment 3 Philip Withnall 2015-09-25 10:59:29 UTC
Created attachment 312128 [details]
Evolution screenshot
Comment 4 Philip Withnall 2015-09-25 11:00:19 UTC
Created attachment 312129 [details]
Example e-mail containing meta itemprop tag
Comment 5 Milan Crha 2015-09-29 07:12:45 UTC
Aha, if I read it correctly, then the clickable "#2" or "View it on github" gives the same result. So it would just double the links to use, no?

The way google offers it, in the message list, is not the way evolution would be able to do it. It would be add a click-able something into the message body, probably as part of the headers (I do not know what to do if more meta tags would be included in one email), but again, the HTML part contains the link already, twice. Evolution cannot detect it without using the HTML part (if you think of "Only ever show plain text" feature).
Comment 6 Philip Withnall 2015-09-29 08:17:45 UTC
(In reply to Milan Crha from comment #5)
> Aha, if I read it correctly, then the clickable "#2" or "View it on github"
> gives the same result. So it would just double the links to use, no?

Correct, except the 'View it on github' link is usable even without selecting the message to show in the preview pane.

Imagine I receive 20 of these e-mails from github for different pull requests: to open them all in Firefox so I can deal with them means opening each message in Evolution, finding the '#2' link for the pull request number, and clicking on it.

In GMail, I could just run down the message list and click all the 'View it on github' links without opening the e-mails.
Comment 7 Milan Crha 2015-09-29 09:01:58 UTC
Right, I see. The thing is that the message list in the evolution currently doesn't offer any such thing; furthermore, to know whether any such link exists you should have the message downloaded locally, which is not always the case (the GMail has the messages downloaded "locally", of course).

So these tow are the current main obstacles from the evolution side (not talking about the HTML content parser requirement to know the message contains any such link without viewing it in the message preview).

The obstacles make me feel like CannotFix might be the right resolution for this request, but I'll keep it open in case anyone will like to implement it in the future.
Comment 8 Philip Withnall 2015-09-29 10:15:24 UTC
(In reply to Milan Crha from comment #7)
> Right, I see. The thing is that the message list in the evolution currently
> doesn't offer any such thing; furthermore, to know whether any such link
> exists you should have the message downloaded locally, which is not always
> the case (the GMail has the messages downloaded "locally", of course).

I think it would be fine for this to only work if the message has been downloaded locally.

For parsing the HTML, you could do a heuristic check first: use strstr() to see if (for example) ‘itemprop’ appears in the HTML. If so, create the HTML parser and do a full parse to check things properly. If not, that can be avoided.

> The obstacles make me feel like CannotFix might be the right resolution for
> this request, but I'll keep it open in case anyone will like to implement it
> in the future.

I would say that feature requests should only be WONTFIX if they are fundamentally not a feature you want to support. They shouldn’t be closed just because implementing them is hard. So yes, if you think the feature is worthwhile please do leave it open. :-)
Comment 9 André Klapper 2021-05-19 11:44:40 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org (resources are unfortunately quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.
Comment 10 Philip Withnall 2021-05-26 12:53:37 UTC
Filed in gitlab as https://gitlab.gnome.org/GNOME/evolution/-/issues/1510