Add `Options` / `initial_options` validation
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 40/100
Research direction
Start in slack_sdk.models and locate the UI component definitions for Options and initial_options. Read the surrounding model behavior to determine how option values are represented, then add validation for an exact match and verify that mismatches are reported to SDK users.
Written by the indexing model from the issue text.
Description
Suggestion raised in: https://github.com/slackapi/python-slack-sdk/issues/1509
Behavior:
initial_options options must contain an exact match of options provided, or users experience issues with properly updating forms. Suggestion has been raised to update this SDK to notify developers when an option provided does not exactly match an initial_options selection.
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.models (UI component builders)
- slack_sdk.oauth (OAuth Flow Utilities)
- slack_sdk.socket_mode (Socket Mode client)
- slack_sdk.audit_logs (Audit Logs API client)
- slack_sdk.scim (SCIM API client)
- slack_sdk.rtm (RTM client)
- slack_sdk.signature (Request Signature Verifier)
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
- Dominant language
- Python
- Stars
- 4k
- Forks
- 874
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 64
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/python-slack-sdk
-
`WebClient` raises `JSONDecodeError` instead of `SlackApiError` on a malformed JSON body when retry handlers are setPossibly taken @agustin18 claimed this 13 days ago. Openbug semver:major web-client
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
slackapi/python-slack-sdk#2070 ·
Maintainers usually reply within 1 day
-
SignatureVerifier.is_valid raises instead of returning False for a malformed timestamp, signature or bodyPossibly taken @AmyScript claimed this 13 days ago. Openbug security semver:patch
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
slackapi/python-slack-sdk#2067 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 42/100
slackapi/python-slack-sdk#2066 ·
Maintainers usually reply within 1 day
-
Add missing Web API methods that are documented on docs.slack.dev to WebClientPossibly taken @zimeg claimed this 19 days ago. Openenhancement web-client
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slackapi/python-slack-sdk#2014 · 2 comments · 2 reactions · 2 assignees ·
Maintainers usually reply within 1 day
-
Installation and Bot reject ISO 8601 timestamps with a negative UTC offset or a Z suffixPossibly taken @hello-ashleyintech claimed this 44 days ago. Openauto-triage-stale bug
slackapi/python-slack-sdk#1989 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in slackapi/python-slack-sdk
Similar issues
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getcommunityone/open-navigator#1658 ·
Maintainers usually reply within 1 day
-
review-panel severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kristovatlas/coin-accounting#636 ·
Maintainers usually reply within 1 day