-
Notifications
You must be signed in to change notification settings - Fork 2
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
Instance/newsletter #30
Conversation
@@ -111,17 +111,21 @@ | |||
<div class="developer-site-nav"> | |||
|
|||
{{#each data.nav}} | |||
<hr /> | |||
{{#unless this.options.suppressInNav}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This level of suppression suppresses the entire category from displaying.
<h3 class="developer-site-nav-header developer-site-nav-title" >{{this.section}}</h3> | ||
<ul class="developer-site-nav-list"> | ||
{{#each this.links}} | ||
{{#unless this.options.suppressInNav}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This level of suppression only suppresses this item within the category.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
app/content/newsletter-manual.md
Outdated
|
||
const availableInterventions = await subscriptions.getAvailableInterventions(); | ||
|
||
const prompt = availableInterventions.find(({intervention}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: same issue
This PR adds a set of examples for the newsletter api.
Note
The code in this PR has been updated to include the final API.
This PR is available for preview here.
In addition, this PR adds a few new capabilities: