Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ t:
steps: Workflow steps
deployments: Deployments
contribute: Contributing
legacy: LEGACY
deprecated: Deprecated
ja-jp:
basic: 基本的な概念
advanced: 応用コンセプト
Expand All @@ -51,8 +51,7 @@ t:
deployments: Deployments
reference: リファレンス
contribute: 貢献
# TODO: translate these titles
legacy: LEGACY
deprecated: 非推奨

# Metadata
repo_name: bolt-js
Expand Down
6 changes: 3 additions & 3 deletions docs/_includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
<a href="{{ site.url | append: site.baseurl | append: localized_base_url }}/concepts#steps">
<li class="title">
{{ site.t[page.lang].steps }}
<!--UNCOMMENT AFTER GA <span class="label-legacy">
{{ site.t[page.lang].legacy }}
</span> -->
<span class="label-deprecated">
{{ site.t[page.lang].deprecated }}
</span>
</li>
</a>
{% assign workflow_steps = site.steps | sort: "order" | where: "lang", page.lang %} {% for step in workflow_steps %}
Expand Down
7 changes: 6 additions & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ <h3 id="{{section.slug}}">{{ section.title }}</h3>
{% assign workflow_steps = site.steps | sort: "order" | where: "lang", page.lang %} {% for section in
workflow_steps %}
<div class="section-wrapper">
<h3 id="{{section.slug}}">{{ section.title }}</h3>
<h3 id="{{section.slug}}">
{{ section.title }}
<span class="label-deprecated">
{{ site.t[page.lang].deprecated }}
</span>
</h3>
{{ section.content | markdownify }}
<hr />
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/_steps/workflow_steps_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ order: 1

<div class="section-content">

**⚠️ Workflow Steps from Apps are a legacy feature, not to be confused with workflows that are part of the next generation Slack platform. They are not interchangeable features. We encourage those who are currently publishing Workflow Steps from apps to consider the new [automation features](https://api.slack.com/automation).**
**⚠️ Workflow Steps from Apps are a deprecated feature, not to be confused with workflows that are part of the next generation Slack platform. They are not interchangeable features. We encourage those who are currently publishing Workflow Steps from apps to consider the new [automation features](https://api.slack.com/automation) and [custom steps for bolt](https://api.slack.com/automation/functions/custom-bolt).**

Workflow Steps from apps allow your app to create and process custom workflow steps that users can add using [Workflow Builder](https://api.slack.com/workflows).

Expand Down
4 changes: 2 additions & 2 deletions docs/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ body {
font-weight: 600;
}

.panel .sidebar-content ul.sidebar-section .label-legacy {
.panel .sidebar-content ul.sidebar-section .label-deprecated {
line-height: 1em;
vertical-align: middle;
color: var(--white);
Expand Down Expand Up @@ -234,7 +234,7 @@ body {
padding-bottom: 1em;
}

.tutorial .label-legacy {
.tutorial .label-deprecated {
line-height: 1em;
vertical-align: middle;
color: var(--white);
Expand Down