Skip to content

Commit ce2a389

Browse files
author
markzegarelli
authored
Add Actions destinations to Category Compare page (#3474)
* Hide hidden destinations from list * Add actions destinations to category compare
1 parent 9db6e56 commit ce2a389

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/styles/Vocab/Docs/accept.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,6 @@ waitlist
116116
WebKit
117117
Wootric
118118
Xcode
119-
Zendesk
119+
Zendesk
120+
Leanplum
121+
Aircall

src/_includes/components/available-actions.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
</thead>
1111
<tbody>
1212
{% for dest in actionsDests %}
13+
{% unless dest.hidden == true %}
1314
{% if dest.actions.size > 0 || dest.actions.presets.size > 0%}
1415
<tr>
1516
<td><a href="/docs/{{dest.url}}">{{dest.name}}</a></td>
1617
<td>{% if dest.status == "PUBLIC_BETA" %}Beta {% else %} GA {%endif%}</td>
1718
</tr>
19+
1820
{% endif %}
21+
{%endunless%}
1922
{% endfor %}
2023
</tbody>
2124
</table>

src/connections/destinations/category-compare.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ This page collates information about each destination, organized by category for
2525
</tr>
2626
{% for destination in site.data.catalog.destinations.items %}
2727
{% if destination.categories contains category.display_name %}
28-
{% unless destination.connection_modes.cloud.web == false and destination.connection_modes.cloud.mobile == false and destination.connection_modes.cloud.server == false and destination.connection_modes.device.web == false and destination.connection_modes.device.mobile == false %}
28+
{% if destination.actions[0] %}
29+
<tr>
30+
<td>**[{{ destination.display_name }}](/docs/{{ destination.url }})**</td>
31+
<td colspan=5 style="border-left: 1px solid gray;">This destination uses the <a href="/docs/connections/destinations/actions">Actions</a> framework.</td>
32+
</tr>
33+
{%else%}
2934
<tr>
3035
<td>**[{{ destination.display_name }}](/docs/{{ destination.url }})**</td>
3136
{% if overridesList contains destination.slug %}{% assign thisDestname = destination.slug %}{% assign thisDest = site.data.catalog.overrides.items | where: "slug", thisDestname | first%}
@@ -43,7 +48,7 @@ This page collates information about each destination, organized by category for
4348
<td style="border-left: 1px solid gray;">{% if destination.connection_modes.device.web %}✅{% else %}⬜️{% endif %} </td>
4449
<td>{% if destination.connection_modes.device.mobile %}✅{% else %}⬜️{% endif %} </td>
4550
{%endif%}</tr>
46-
{% endunless %}
51+
{%endif%}
4752
{% endif %}
4853
{% endfor %}
4954
</table>

0 commit comments

Comments
 (0)