Skip to content

fix(block-kit): use in_progress status on the task card block example - #360

Merged
mwbrooks merged 2 commits into
mainfrom
docs-drift-task-card
Nov 5, 2026
Merged

mwbrooks merged 2 commits into
mainfrom
docs-drift-task-card

Conversation

@zimeg

@zimeg zimeg commented Nov 5, 2026

Copy link
Copy Markdown
Member

Summary

This pull request matches the task card block example to the task card block docs. The docs payload uses "status": "in_progress".

Changes

  • Example and test payload: $.status "pending" → "in_progress"

The example output now matches the docs JSON field for field. ruff check, ruff format --check, mypy and pytest pass in block-kit, and the block posts with chat.postMessage without errors.

🤖 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
@zimeg zimeg changed the title fix(block-kit): match the task card block example to the docs fix(block-kit): use in_progress status on the task card block example Nov 5, 2026

@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! Python and JS now agree with the docs on what a running task looks like.

task_id="task_1",
title="Fetching weather data",
status="pending",
status="in_progress",

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: Matches the docs payload, and the test moved with it.

@mwbrooks
mwbrooks merged commit 55cc221 into main Nov 5, 2026
16 checks passed
@mwbrooks
mwbrooks deleted the docs-drift-task-card branch November 5, 2026 22:39
@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