Skip to content

Add search syntax section to Dashboard List docs#37376

Open
archana-asokan wants to merge 5 commits into
masterfrom
archana.asokan/DASHB-987-dashboard-search-syntax-docs
Open

Add search syntax section to Dashboard List docs#37376
archana-asokan wants to merge 5 commits into
masterfrom
archana.asokan/DASHB-987-dashboard-search-syntax-docs

Conversation

@archana-asokan

@archana-asokan archana-asokan commented Jun 9, 2026

Copy link
Copy Markdown

What does this PR do? What is the motivation?

Search syntax (new section)
The "Syntax Help" link in the search bar points to an internal Confluence page. This adds the public version: a search syntax section on the Dashboard List docs page covering free-text queries, key:value filters (author:, team:, favorites:true, type:, widgets.*, and more), boolean/range operators, wildcards, and quoted phrases.

All syntax was checked against the actual dashbooks-search-query implementation and dashboards_v3 ES index, not the wiki.

Preset lists cleanup
Removes "Frequently Viewed By You" — that list is no longer supported.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

  • Companion PR DataDog/web-ui#317359 updates DEFAULT_SEARCH_HELP_URL to point to https://docs.datadoghq.com/dashboards/list/#search-syntax. Merge this first so the anchor is live before the feature flag rolls out.
  • Vale needs the datadog-vale styles repo to run locally — CI will cover it.

Document the full query syntax supported by the v2 dashboard search:
free-text search, key:value filters, boolean operators, range comparisons,
wildcards, quoted phrases, and the Favorites UI toggle.
… entry

- Remove Frequently Viewed By You from preset lists (no longer supported)
- Add New callout banner to Search syntax section
- Add favorites:true to key:value filters table
- Remove team: tag note
- Remove Favorites UI toggle subsection (replaced by favorites:true syntax)
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@archana-asokan archana-asokan self-assigned this Jun 9, 2026
@archana-asokan archana-asokan changed the title [DASHB-987] Add search syntax section to Dashboard List docs Add search syntax section to Dashboard List docs Jun 9, 2026
@archana-asokan archana-asokan marked this pull request as ready for review June 9, 2026 15:35
@archana-asokan archana-asokan requested a review from a team as a code owner June 9, 2026 15:35
@dd-octo-sts-4191dd

Copy link
Copy Markdown

🐑 PR Shepherd is maintaining this PR

I watch your PR and automatically fix CI failures, rebase your branch, handle flaky tests, and push it to the merge queue when it's ready.

More about what I do → Guide

To pause me on this PR, add the flow-skip label.

@rtrieu rtrieu self-requested a review June 9, 2026 18:59
@rtrieu

rtrieu commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

/review

@github-actions github-actions Bot left a comment

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.

🤖 Automated review by Claude. AI-generated; verify before acting.

Nice addition — the new Search syntax section is well-organized and the tables are easy to scan. A few minor style and clarity suggestions inline; nothing blocking.

Reviewed f51d5cabe99004b10685e9d01d335708aa5290bbworkflow run

Comment thread content/en/dashboards/list/_index.md Outdated
Comment thread content/en/dashboards/list/_index.md Outdated
Comment thread content/en/dashboards/list/_index.md Outdated
| `description:<value>` | Dashboard description | `description:latency` |
| `team:<value>` | Team tag | `team:dashboards-backend` |
| `favorites:true` | Dashboards you have starred | `favorites:true` |
| `type:<value>` | Dashboard type. Use `custom`, `integration`, or concrete values such as `custom_timeboard`, `custom_screenboard`, `integration_timeboard`, `integration_screenboard`. | `type:integration` |

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.

Suggestion: This cell mixes the high-level values (custom, integration) with four concrete values in a long sentence, making the table row hard to scan. Consider splitting into separate rows, or moving the concrete-value list to a short sentence above the table.

Comment thread content/en/dashboards/list/_index.md Outdated
|--------|-------------|---------|
| `widgets.count:<N` | Fewer than N widgets | `widgets.count:<3` |
| `widgets.count:>=N` | N or more widgets | `widgets.count:>=10` |
| `popularity:>=N` | Popularity at or above threshold | `popularity:>=0.2` |

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.

Suggestion: This Range operators table largely duplicates the widgets.count and popularity rows already in the Key:value filters table. Consider either removing those rows from the upper table (and pointing readers here for range syntax) or replacing this table with a short prose paragraph that shows the operator forms once, to avoid two sources of truth.

@rtrieu rtrieu left a comment

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.

some minor feedback for your review

Comment thread content/en/dashboards/list/_index.md Outdated
## Search syntax

{{< callout url="#" btn_hidden="true" header="New" >}}
Dashboard search syntax is available on the updated Dashboard List 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.

Suggested change
Dashboard search syntax is available on the updated Dashboard List page.

Comment thread content/en/dashboards/list/_index.md Outdated
Comment thread content/en/dashboards/list/_index.md
Comment thread content/en/dashboards/list/_index.md Outdated
Comment thread content/en/dashboards/list/_index.md Outdated
archana-asokan and others added 2 commits June 9, 2026 15:42
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
@datadog-prod-us1-3

This comment has been minimized.

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