Skip to content

Note Slack channel membership for alerts and deliveries, document Incomplete periods, and add a top-N recipe - #1639

Merged
jpetey75 merged 7 commits into
mainfrom
cloudy/docs-2026-10-30-2
Oct 30, 2026
Merged

jpetey75 merged 7 commits into
mainfrom
cloudy/docs-2026-10-30-2

Conversation

@lightdash-bot

@lightdash-bot lightdash-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Docs changes Cloudy's docs writer made from support threads on Friday 30 October 2026. One commit per change, described below in order; review by commit and comment on any to drop or change. Every commit builds on current main, so merge whenever it is green, including midday for an urgent fix: later changes that day start a new PR.


Note Slack app channel membership for alerts and delivery recipients

Pages

What changes

  • Saved chart alerts in Slack notes the same channel-membership requirement as deliveries, with a link
  • Scheduled deliveries (explore) links to the Slack channel-membership requirement for recipients
  • Alerts (explore) links to the same requirement under Send to

Why

Readers creating a Slack alert or adding a Slack recipient to a scheduled delivery had no pointer to the requirement that the Lightdash app already be a channel member, so they only learned it after hitting the missing channels:join scope error.

Checked against

Cloudy found this docs gap while working a support thread. Started from this internal Slack thread (Lightdash workspace only).


Document the Incomplete periods checkbox in the Series tab

Pages

What changes

  • New Incomplete periods subsection under Series: eligible x-axis grains and dashed-line/hatched-bar styling
  • Documents the layout.showIncompletePeriod chart-as-code key
  • Explains new charts default it on while saved charts keep their stored setting
  • Adds a bullet for it to the Series tab's top-of-section list

Why

The Series tab's Incomplete periods checkbox (dashed lines on line/area, hatched bars on bar charts) had no documentation anywhere on the site.

Checked against

Cloudy found this docs gap while working a support thread. Started from this internal Slack thread (Lightdash workspace only).


Add a top-N recipe to the table calculations docs

Pages

What changes

  • New Show only the top N rows or groups section on the table calculations page
  • Recipe: a RANK/ROW_NUMBER table calculation ordered descending, filtered to N or fewer
  • Notes PARTITION BY gives top N per group vs. top N overall
  • Notes there's no built-in top N filter or "group the rest into Other" chart option

Why

Readers coming from other BI tools look for a top-N filter or chart option, and the pieces needed to build one with table calculations (RANK/ROW_NUMBER, then a filter) existed on separate pages with no recipe connecting them.

Checked against

Cloudy found this docs gap while working a support thread. Started from this internal Slack thread (Lightdash workspace only).


Document what the AI Router sees, and a group-based way to skip it

Pages

What changes

  • Routing instructions: notes the router can't see the pinned dashboard/chart, so rules naming one won't match
  • New Keep teams or brands on separate agents without routing instructions section on per-team groups

Why

The AI Router page never said the router ignores the dashboard or chart a question is asked from, so admins wrote routing instructions that referenced a dashboard name and got the picker instead of automatic routing, with no documented alternative.

Checked against

Cloudy found this docs gap while working a support thread. Started from this internal Slack thread (Lightdash workspace only).


Review pass: drop AI router grouping section and move chart-as-code reference

Pages

Removed

  • From AI Router, "- Fewer than two agents? You can still write and save instructions, but the… (+13 lines)": dropping the section as requested in review

What changes

  • Reverts the new AI Router routing-instructions bullet and grouping section, per reviewer request
  • Configure your charts no longer mentions chart-as-code for incomplete periods
  • Content as code chart YAML example now notes layout.showIncompletePeriod

Why

A reviewer asked to drop the new AI router section entirely and to move the chart-as-code field reference out of the chart configuration page into the content-as-code reference page.

Checked against

Review closely

This is a larger change than usual:

  • agents/enable-ai-router.mdx: removes or rewords 14 of the 79 lines the page has on main, starting with "- Fewer than two agents? You can still write and save…", "- **Instructions can't reference the dashboard or chart a…", "## Keep teams or brands on separate agents without routin…" and 11 more
  • agents/enable-ai-router.mdx: drops or retitles the headings "## Keep teams or brands on separate agents without routin…", "## Router and Slack"

A reviewer's comments on this pull request asked for this change. Started from this internal Slack thread (Lightdash workspace only).


Review pass: restore the Fewer than two agents bullet and Router and Slack heading

Pages

What changes

  • Restores the Fewer than two agents? bullet and Router and Slack heading dropped by mistake

Why

An earlier cleanup commit removed the Fewer than two agents bullet and the Router and Slack heading along with the text the reviewer asked to drop; this restores them as main has them.

A reviewer's comments on this pull request asked for this change. Started from this internal Slack thread (Lightdash workspace only).

@mintlify

mintlify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
lightdash 🟢 Ready View Preview Oct 30, 2026, 9:09 PM

@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Documentation validation

✅ All blocking checks passed.

Component system

0 finding(s) across the corpus.

Findings on lines this pull request touched are annotated inline in Files changed.

View the validation run.

@lightdash-bot lightdash-bot changed the title Note Slack app channel membership for alerts and delivery recipients Document the Incomplete periods checkbox in the Series tab (+1 more) Oct 30, 2026
@lightdash-bot lightdash-bot changed the title Document the Incomplete periods checkbox in the Series tab (+1 more) Add a top-N recipe to the table calculations docs (+2 more) Oct 30, 2026
@lightdash-bot lightdash-bot changed the title Add a top-N recipe to the table calculations docs (+2 more) Document what the AI Router sees, and a group-based way to skip it (+3 more) Oct 30, 2026
@jpetey75 jpetey75 reopened this Oct 30, 2026
@jpetey75 jpetey75 closed this Oct 30, 2026
@jpetey75 jpetey75 reopened this Oct 30, 2026
Comment thread agents/enable-ai-router.mdx Outdated
- **Fewer than two agents?** You can still write and save instructions, but the router won't run in that project until at least two accessible agents exist. Lightdash shows a note when this is the case.
- **Instructions can't reference the dashboard or chart a question is asked from.** The router only receives the typed question, your routing instructions, and each agent's description, instructions, data access, and verified questions — it never sees which dashboard or chart the question is pinned to. A rule like *"route questions asked from the Acme dashboard to the Acme agent"* has nothing to match, and the question falls through to the picker. Write rules against words that appear in the question itself.

## Keep teams or brands on separate agents without routing instructions

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove this whole change - don't touch this page

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove

Comment thread explore/configure-charts.mdx Outdated

New charts have this on by default, whether you create them in the UI, through the API, from chart-as-code, or with an agent. A chart you already saved keeps its stored setting instead of picking up that default, so tick **Indicate incomplete periods** to turn it on for an existing chart.

In chart-as-code, this is `layout.showIncompletePeriod` (boolean).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove the charts as code reference - add it to the "as code" doc instead if it's not there already

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is correct

Comment thread agents/enable-ai-router.mdx Outdated
- **Rules are advisory.** They guide the router's choice but **never override an agent's access restrictions**. A rule can only point to agents the user can already access.
- **Tagged agents must belong to the project.** You can only tag agents that exist in the selected project.
- **Fewer than two agents?** You can still write and save instructions, but the router won't run in that project until at least two accessible agents exist. Lightdash shows a note when this is the case.
- **Instructions can't reference the dashboard or chart a question is asked from.** The router only receives the typed question, your routing instructions, and each agent's description, instructions, data access, and verified questions — it never sees which dashboard or chart the question is pinned to. A rule like *"route questions asked from the Acme dashboard to the Acme agent"* has nothing to match, and the question falls through to the picker. Write rules against words that appear in the question itself.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes remove

@lightdash-bot

Copy link
Copy Markdown
Collaborator Author

Pushed Review pass: drop AI router grouping section and move chart-as-code reference for the review comments above.

  • Updates the existing AI Router, Configure your charts and Content as code pages
    • Reverts the new AI Router routing-instructions bullet and grouping section, per reviewer request
    • Configure your charts no longer mentions chart-as-code for incomplete periods
    • Content as code chart YAML example now notes layout.showIncompletePeriod

Removed:

  • From AI Router, "- Fewer than two agents? You can still write and save instructions, but the… (+13 lines)": dropping the section as requested in review

Review closely, this is a larger change than usual: agents/enable-ai-router.mdx: removes or rewords 14 of the 79 lines the page has on main, starting with "- Fewer than two agents? You can still write and save…", "- **Instructions can't reference the dashboard or chart a…", "## Keep teams or brands on separate agents without routin…" and 11 more; agents/enable-ai-router.mdx: drops or retitles the headings "## Keep teams or brands on separate agents without routin…", "## Router and Slack"

Comment again to change more, or merge when it is right.

@lightdash-bot

Copy link
Copy Markdown
Collaborator Author

Pushed Review pass: restore the Fewer than two agents bullet and Router and Slack heading for the review comments above.

  • Updates the existing AI Router page
    • Restores the Fewer than two agents? bullet and Router and Slack heading dropped by mistake

Comment again to change more, or merge when it is right.

@lightdash-bot

Copy link
Copy Markdown
Collaborator Author

The comment on the chart configuration page's "Incomplete periods" section ("this is correct") is an approval, not a change request — the current branch state already matches what the reviewer is confirming: the section is in place, and the chart-as-code field reference now lives on the content-as-code page per their earlier request. No edit needed, so no commit opened for this pass.

@jpetey75 jpetey75 changed the title Document what the AI Router sees, and a group-based way to skip it (+3 more) Note Slack channel membership for alerts and deliveries, document Incomplete periods, and add a top-N recipe Oct 30, 2026
@jpetey75
jpetey75 merged commit cab0d93 into main Oct 30, 2026
9 checks passed
@jpetey75
jpetey75 deleted the cloudy/docs-2026-10-30-2 branch October 30, 2026 23:19

This branch was successfully deployed

1 active deployment
staging — 30b7a483 Deployed Oct 30, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cloudy-needs-review Created by Cloudy; human review is outstanding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants