From 631f776a45bd6cfbf654ddfaabe5dbccc4479a89 Mon Sep 17 00:00:00 2001 From: Tommaso Ornato <53061271+ornato-t@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:15:13 +0200 Subject: [PATCH 1/4] docs: Fix broken link in "external select" section --- docs/_basic/listening_responding_options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_basic/listening_responding_options.md b/docs/_basic/listening_responding_options.md index 95cbc6ace..812a05aa1 100644 --- a/docs/_basic/listening_responding_options.md +++ b/docs/_basic/listening_responding_options.md @@ -12,7 +12,7 @@ an `action_id` or constraints object is required. While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to use the constraints object to filter on a `callback_id`. -To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external-select) and [dialog response examples](https://api.slack.com/dialogs#dynamic_select_elements_external) can be found on our API site. +To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external_select) and [dialog response examples](https://api.slack.com/dialogs#dynamic_select_elements_external) can be found on our API site. ```javascript From 5b19038191774e3253a7d579cdd104c162e8bafd Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Wed, 24 Jul 2024 11:17:23 -0700 Subject: [PATCH 2/4] docs(ja): Fix broken link in "external select" section --- docs/_basic/ja_listening_responding_options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_basic/ja_listening_responding_options.md b/docs/_basic/ja_listening_responding_options.md index 57560914b..1ed3e204c 100644 --- a/docs/_basic/ja_listening_responding_options.md +++ b/docs/_basic/ja_listening_responding_options.md @@ -10,7 +10,7 @@ order: 14 `external_select` メニューには `action_id` を使用することをおすすめしますが、ダイアログはまだ Block Kit をサポートしていないため、制約オブジェクトを用いて `callback_id` でフィルタリングする必要があります。 -オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external-select)や[ダイアログ応答の例](https://api.slack.com/dialogs#dynamic_select_elements_external)を参考にしてください。 +オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external_select)や[ダイアログ応答の例](https://api.slack.com/dialogs#dynamic_select_elements_external)を参考にしてください。 ```javascript From 9f5f8a5c7191efcc16691303b1770ccecd8dbb23 Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Wed, 24 Jul 2024 11:20:28 -0700 Subject: [PATCH 3/4] docs: Update redirected legacy link to dialog options --- docs/_basic/ja_listening_responding_options.md | 2 +- docs/_basic/listening_responding_options.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_basic/ja_listening_responding_options.md b/docs/_basic/ja_listening_responding_options.md index 1ed3e204c..fac4f45a3 100644 --- a/docs/_basic/ja_listening_responding_options.md +++ b/docs/_basic/ja_listening_responding_options.md @@ -10,7 +10,7 @@ order: 14 `external_select` メニューには `action_id` を使用することをおすすめしますが、ダイアログはまだ Block Kit をサポートしていないため、制約オブジェクトを用いて `callback_id` でフィルタリングする必要があります。 -オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external_select)や[ダイアログ応答の例](https://api.slack.com/dialogs#dynamic_select_elements_external)を参考にしてください。 +オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external_select)や[ダイアログ応答の例](https://api.slack.com/legacy/dialogs#dynamic_select_elements_external)を参考にしてください。 ```javascript diff --git a/docs/_basic/listening_responding_options.md b/docs/_basic/listening_responding_options.md index 812a05aa1..17186acd1 100644 --- a/docs/_basic/listening_responding_options.md +++ b/docs/_basic/listening_responding_options.md @@ -12,7 +12,7 @@ an `action_id` or constraints object is required. While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to use the constraints object to filter on a `callback_id`. -To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external_select) and [dialog response examples](https://api.slack.com/dialogs#dynamic_select_elements_external) can be found on our API site. +To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external_select) and [dialog response examples](https://api.slack.com/legacy/dialogs#dynamic_select_elements_external) can be found on our API site. ```javascript From 8bbf73f4fbd0698626a5ccd4a2dcdfcaded12813 Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Wed, 24 Jul 2024 11:21:20 -0700 Subject: [PATCH 4/4] docs: Remove trailing space from a line before the links --- docs/_basic/listening_responding_options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_basic/listening_responding_options.md b/docs/_basic/listening_responding_options.md index 17186acd1..4bc1f70ec 100644 --- a/docs/_basic/listening_responding_options.md +++ b/docs/_basic/listening_responding_options.md @@ -9,7 +9,7 @@ order: 14 The `options()` method listens for incoming option request payloads from Slack. [Similar to `action()`](#action-listening), an `action_id` or constraints object is required. -While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to +While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to use the constraints object to filter on a `callback_id`. To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external_select) and [dialog response examples](https://api.slack.com/legacy/dialogs#dynamic_select_elements_external) can be found on our API site.