python-slack-sdk icon indicating copy to clipboard operation
python-slack-sdk copied to clipboard

Minor update: max elements in ActionsBlock to 25

Open YSaxon opened this issue 3 years ago • 2 comments

It seems from practical testing with the slack block kit builder that the (new?) max number of elements allowed in an ActionsBlock is 25, rather than 5 as previously enforced in the code.

Category (place an x in each of the [ ])

  • [ ] slack_sdk.web.WebClient (sync/async) (Web API client)
  • [ ] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • [ ] slack_sdk.socket_mode (Socket Mode client)
  • [ ] slack_sdk.signature (Request Signature Verifier)
  • [ ] slack_sdk.oauth (OAuth Flow Utilities)
  • [X] slack_sdk.models (UI component builders)
  • [ ] slack_sdk.scim (SCIM API client)
  • [ ] slack_sdk.audit_logs (Audit Logs API client)
  • [ ] slack_sdk.rtm_v2 (RTM client)
  • [ ] /docs-src (Documents, have you run ./scripts/docs.sh?)
  • [ ] /docs-src-v2 (Documents, have you run ./scripts/docs-v2.sh?)
  • [ ] /tutorial (PythOnBoardingBot tutorial)
  • [ ] tests/integration_tests (Automated tests for this library)

Requirements (place an x in each [ ])

YSaxon avatar Aug 05 '22 20:08 YSaxon

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 05 '22 20:08 CLAassistant

Screen Shot 2022-08-05 at 4 41 46 PM (slack block kit builder showing max elements in an actionblock = 25)

YSaxon avatar Aug 05 '22 20:08 YSaxon

Merged by https://github.com/slackapi/python-slack-sdk/commit/623ace0c18865eea4d60d9432df383eac835c047 - I've added a commit to apply corresponding changes to the existing unit tests. Thanks again fro your contribution!

seratch avatar Aug 15 '22 04:08 seratch