Skip to content

fix(block-kit): match the context actions block example to the docs - #359

Merged
mwbrooks merged 2 commits into
mainfrom
docs-drift-context-actions
Nov 5, 2026
Merged

mwbrooks merged 2 commits into
mainfrom
docs-drift-context-actions

Conversation

@zimeg

@zimeg zimeg commented Nov 5, 2026

Copy link
Copy Markdown
Member

Summary

This pull request matches the context actions block example docstring to the context actions block docs description.

Changes

  • Docstring first line: "Holds interactive elements like feedback buttons and icon buttons." → "Displays actions as contextual info, which can include both feedback buttons and icon buttons."

The new line is the docs description as listed on the blocks reference and already used in the block-kit/README.md entry. ruff check, ruff format --check, mypy and pytest pass in block-kit.

🤖 Generated with Claude Code

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@zimeg zimeg added documentation Improvements or additions to documentation python Pull requests that update python code labels Nov 5, 2026
@zimeg zimeg self-assigned this Nov 5, 2026
@zimeg
zimeg marked this pull request as ready for review November 5, 2026 19:36
@zimeg
zimeg requested a review from a team as a code owner November 5, 2026 19:36

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

✅ Thanks @zimeg! The Python example now opens with the same line as the README and the blocks reference.

def example01() -> ContextActionsBlock:
"""
Holds interactive elements like feedback buttons and icon buttons.
Displays actions as contextual info, which can include both feedback buttons and icon buttons.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

praise: Good call borrowing the blocks reference wording here, since this page has no description of its own yet.

@mwbrooks
mwbrooks merged commit a4b2bab into main Nov 5, 2026
16 checks passed
@mwbrooks
mwbrooks deleted the docs-drift-context-actions branch November 5, 2026 22:38
@zimeg

zimeg commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

🌟 Thanks for the kind review and merge @mwbrooks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants