Skip to content
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

Fixes #1131 improve view_submission listener documents #1154

Merged
merged 5 commits into from
Oct 13, 2021
Merged

Fixes #1131 improve view_submission listener documents #1154

merged 5 commits into from
Oct 13, 2021

Conversation

wongjas
Copy link
Member

@wongjas wongjas commented Oct 13, 2021

Summary

Fixes #1131. Adding information on what to do on view_submission.

Requirements (place an x in each [ ])

@wongjas wongjas requested a review from seratch October 13, 2021 06:13
@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #1154 (99e4e18) into main (a55ec4c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1154   +/-   ##
=======================================
  Coverage   71.71%   71.71%           
=======================================
  Files          15       15           
  Lines        1354     1354           
  Branches      402      402           
=======================================
  Hits          971      971           
  Misses        312      312           
  Partials       71       71           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a55ec4c...99e4e18. Read the comment docs.


<code>view()</code> メソッドは、文字列型または <code>RegeExp</code>型 の <code>callback_id</code> を必要とします。
`view()` メソッドは、文字列型または `RegExp`型 の `callback_id` を必要とします。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you always have a space before/after backtick?

Suggested change
`view()` メソッドは、文字列型または `RegExp`型 の `callback_id` を必要とします。
`view()` メソッドは、文字列型または `RegExp` 型 の `callback_id` を必要とします。


`view_submission` リクエストに対してモーダルを更新するには、`update`型の `response_action` と新しく作成した `view` を指定すると確認を示します。

`view_submission` リクエストに対してモーダルを更新するには、リクエストの確認の中で `update` を指定した `response_action` と新しく作成した `view` を指定します。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I mentioned in slackapi/bolt-python#494, we would like to avoid repeating 指定する in a sentence.

Suggested change
`view_submission` リクエストに対してモーダルを更新するには、リクエストの確認の中で `update` を指定した `response_action` と新しく作成した `view` を指定します。
`view_submission` リクエストに対してモーダルを更新するには、リクエストの確認の中で `update` という `response_action` と新しく作成した `view` を指定します。


##### モーダル送信でのビューの更新

`view_submission` リクエストに対してモーダルを更新するには、`update`型の `response_action` と新しく作成した `view` を指定すると確認を示します。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that this line should be removed

Suggested change
`view_submission` リクエストに対してモーダルを更新するには、`update`型の `response_action` と新しく作成した `view` を指定すると確認を示します。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🤦

@seratch seratch added the docs M-T: Documentation work only label Oct 13, 2021
@seratch seratch added this to the 3.8.0 milestone Oct 13, 2021
@wongjas wongjas marked this pull request as ready for review October 13, 2021 23:33
@seratch seratch merged commit b696c72 into slackapi:main Oct 13, 2021
@wongjas wongjas deleted the jwong_add_view_submissions_to_jp_docs branch October 14, 2021 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs M-T: Documentation work only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Japanese: Improve view_submission listener document to mention ack() + response_action patterns
2 participants