Skip to content

docs: Document Form-mode Policies notification channel dropdowns (Inherit / Disabled / channel)#747

Open
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/policies-editor-notification-channel-select
Open

docs: Document Form-mode Policies notification channel dropdowns (Inherit / Disabled / channel)#747
promptless[bot] wants to merge 1 commit into
mainfrom
promptless/policies-editor-notification-channel-select

Conversation

@promptless

@promptless promptless Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Documents how notification channels behave in the dashboard's Form-mode Policies editor, mirroring the YAML tri-state contract. Adds a "Set notification channels in Form mode" subsection to the Configuration Reference explaining the per-channel dropdown options (Inherit from default, Disabled — no Slack/Teams notifications, or a channel), the default policy's "No Slack/Teams notifications" option, and the Teams paste-fallback limitation (inherit/route but not disable → use YAML msteams_channel: null).

Closes a gap left by merged docs PR #648, which documented the YAML null tri-state but not the dashboard editor a Form-mode user would reach. Grounded against the live dashboard Policies editor.

Trigger Events


Tip: Use Vale? Point your collection at your vale.ini in Configuration.

@promptless promptless Bot requested a review from hawkeyexl as a code owner July 14, 2026 21:13
### Set notification channels in Form mode

On the **Policies** tab, both the default policy and each rule expose a dropdown per notification channel—Slack and Microsoft Teams—rather than a free-text field. On a rule, the option you pick maps directly to the tri-state resolution described under [Policy fields](#policy-fields):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #3773 made each Form-mode notification channel a single NotificationChannelSelect in PoliciesSection.tsx with Inherit (omit the field), Disabled (→ null), or a channel; the default overlay shows "No notifications". The option labels documented here (channelInheritLabel, channelDisabledLabel, channelNoneLabel, msteamsNoneLabel) come from policyValidation.ts's POLICY_COPY, and the Teams paste-fallback supporting inherit/route but not disable is called out in the PR's dashboard-mirror notes.

Source: https://github.com/Promptless/promptless/pull/3773

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptless-docs Ready Ready Preview, Comment Jul 14, 2026 9:13pm

Request Review

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.

0 participants