Skip to content

Commit

Permalink
Add dynamic features table
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Apr 1, 2020
1 parent cb4e688 commit 1addbfb
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 11 deletions.
1 change: 1 addition & 0 deletions docs/_includes/features/feature-row-amplitude.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Analytics (Amplitude) | :heavy_check_mark: | Fine-grained analytics is processed in real-time (1mn graph latency on free plans) |
2 changes: 2 additions & 0 deletions docs/_includes/features/feature-row-gcms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| GraphQL API (GraphCMS) | :heavy_check_mark: | Advanced GraphCMS support |
| Dynamic i18n support (GraphCMS) | :heavy_check_mark: | Content from GraphCMS is localised (db records) |
1 change: 1 addition & 0 deletions docs/_includes/features/feature-row-locize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Static i18n support (Locize) | :heavy_check_mark: | Content for the platform is localised using Locize (menu, links, etc.) |
1 change: 1 addition & 0 deletions docs/_includes/features/feature-row-mst.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Tenancy | **MST** (Hybrid MT/ST) | Deploys 2 tenants on different domains (ST), sharing the same DB and API endpoint (MT) |
1 change: 1 addition & 0 deletions docs/_includes/features/feature-row-sentry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| Monitoring (Sentry) | :heavy_check_mark: | Errors are sent to Sentry in real-time (both frontend and backend) |
1 change: 1 addition & 0 deletions docs/_includes/features/feature-row-ssr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| SSR vs SSG | **SSR** | SSR by default for all pages (through `pages/_app`), SSG not available |
3 changes: 3 additions & 0 deletions docs/_includes/features/features-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| Feature | Availability | Notes |
|:--------|:-------------|:------|
{% if include.rendering == ssr%}{% include features/feature-row-ssr.md %}{% endif %}{% if include.tenancy == mst%}{% include features/feature-row-mst.md %}{% endif %}{% if include.gql-api == gcms%}{% include features/feature-row-gcms.md %}{% endif %}{% if include.monitoring == sentry%}{% include features/feature-row-sentry.md %}{% endif %}{% if include.analytics == amplitude%}{% include features/feature-row-amplitude.md %}{% endif %}
File renamed without changes.
18 changes: 8 additions & 10 deletions docs/getting-started/select-preset.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ You can get metadata at `/api/status` on any demo, because all presets provide t
---

{% capture preset %}v1-ssr{% endcapture %}
{% capture rendering %}ssr{% endcapture %}
{% capture tenancy %}mst{% endcapture %}
{% capture gql-api %}gcms{% endcapture %}
{% capture monitoring %}sentry{% endcapture %}
{% capture analytics %}amplitude{% endcapture %}
## `{{preset}}` - **Default preset**

DEFAULT
Expand All @@ -69,15 +74,8 @@ The plan is to release simpler presets soon.

> [Reminder: Terminology](../reference/terminology)
| Feature | Availability | Notes |
|:--------|:-------------|:------|
| SSR vs SSG | **SSR** | SSR by default for all pages (through `pages/_app`), SSG not available |
| Tenancy | **MST** (Hybrid MT/ST) | Deploys 2 tenants on different domains (ST), sharing the same DB and API endpoint (MT) |
| GraphQL API (GraphCMS) | :heavy_check_mark: | Advanced GraphCMS support |
| Dynamic i18n support (GraphCMS) | :heavy_check_mark: | Content from GraphCMS is localised (db records) |
| Static i18n support (Locize) | :heavy_check_mark: | Content for the platform is localised using Locize (menu, links, etc.) |
| Monitoring (Sentry) | :heavy_check_mark: | Errors are sent to Sentry in real-time (both frontend and backend) |
| Analytics (Amplitude) | :heavy_check_mark: | Fine-grained analytics is processed in real-time (1mn graph latency on free plans) |
{% include features/features-table.md preset=preset %}


### Demo

Expand All @@ -101,7 +99,7 @@ Of course, if the DB itself gets down, all tenants would be impacted (browser ca

### Built-in 3rd party vendors

{% include vendors/vendor-table.md preset=preset zeit=true graphcms=true locize=true amplitude=true sentry=true %}
{% include vendors/vendors-table.md preset=preset zeit=true graphcms=true locize=true amplitude=true sentry=true %}

### Clone locally

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/vendors.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ We have worked with all those vendors over months, if not years. Here is our fee

## Pricing overview

{% include vendors/vendor-table.md preset=preset zeit=true graphcms=true locize=true amplitude=true sentry=true %}
{% include vendors/vendors-table.md preset=preset zeit=true graphcms=true locize=true amplitude=true sentry=true %}

0 comments on commit 1addbfb

Please sign in to comment.