fix(slack): set depends on for slack channel channel subblock#1177
fix(slack): set depends on for slack channel channel subblock#1177icecrasher321 merged 4 commits intostagingfrom
Conversation
There was a problem hiding this comment.
Greptile Summary
This PR adds a dependsOn property to the Slack channel selector configuration in the Slack block. The change establishes a dependency relationship between the channel selector and two other form fields: 'credential' (OAuth token) and 'authMethod' (authentication method selection).
The Slack block supports multiple authentication methods - OAuth integration and custom bot tokens - and includes a channel selector that dynamically fetches available channels based on the current authentication context. When users switch between authentication methods or update their credentials, the channel selector needs to refresh its data to show channels accessible with the new authentication context.
This change integrates with the broader block configuration system that manages form field dependencies and UI state. The dependsOn property is a standard pattern used throughout the codebase to ensure form fields are properly invalidated and refreshed when their dependent fields change, maintaining data consistency in dynamic form interfaces.
Confidence score: 5/5
- This PR is safe to merge with minimal risk
- Score reflects a simple, well-understood UI dependency fix with clear purpose and minimal scope
- No files require special attention
1 file reviewed, no comments
…dioai#1177) * fix(slack): set depends on for slack channel * use foreign credential check * fix * fix clearing of block
Summary
Add dependsOn for Slack channel selector.
Type of Change
Testing
Manually
Checklist