Skip to content

feat: support conversation filter object on conversations select elements#346

Merged
abdolence merged 1 commit into
abdolence:masterfrom
toptal:conversation-filter
Mar 19, 2026
Merged

feat: support conversation filter object on conversations select elements#346
abdolence merged 1 commit into
abdolence:masterfrom
toptal:conversation-filter

Conversation

@paneq

@paneq paneq commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Slack's conversation_filter composition object lets callers restrict which conversation types appear in a conversations_select picker — e.g. only public/private channels, excluding DMs and bot users. This is needed downstream to prevent users from selecting incorrect conversations.

A separate SlackConversationFilterInclude enum is introduced because the filter API uses "public"/"private" while the existing SlackConversationType serializes to "public_channel"/"private_channel".


Disclaimer: I am not an experienced Rust dev and this is generated with Claude help. I am willing to improve the PR if necessary.

…ents

Slack's conversation_filter composition object lets callers restrict
which conversation types appear in a conversations_select picker —
e.g. only public/private channels, excluding DMs and bot users. This
is needed downstream to prevent users from selecting incorrect
conversations.

A separate SlackConversationFilterInclude enum is introduced because
the filter API uses "public"/"private" while the existing
SlackConversationType serializes to "public_channel"/"private_channel".
@abdolence

Copy link
Copy Markdown
Owner

Hey, thanks for the contributions, the changes looks good, have you tested them with a real Slack workspace?

@abdolence abdolence merged commit 84aabf0 into abdolence:master Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants