flarum / flarum/issue-archive

Add a Go-To Action to community emails

Open
#90 1 comment 0 reactions 0 assignees View on GitHub
type/feature
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

It would be cool to add a Gmail Go-To Action to the community emails that users receive like the image below.

![Preview](https://developers.google.com/gmail/markup/images/actions-go-to-action.png)

### Implementation

Implementing this would require adding the code given below to the email body.

```html

{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"name": "View Discussion",
"url": "https://discuss.flarum.org/d/27394"
},
"description": "Flarum 1.0.0 Released"
}

```

The `url` and `description` would vary.

Source: [Go-To Actions | Email Markup | Google Developers](https://developers.google.com/gmail/markup/reference/go-to-action#view_action)

Contributor guide

Open the contributing guide

Research direction

No file or test entry point is named in the issue. Start by locating the templates or code that assembles community email bodies, then compare the requested JSON-LD with Google's Go-To Actions reference; done means applicable community emails include the appropriate discussion URL and description.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.