Skip to content

docs: add dashboard design best practices to existing pages (#5445)#6330

Closed
florent-leborgne wants to merge 5 commits into
mainfrom
docs-issue-5445-dashboard-design-best-practices
Closed

docs: add dashboard design best practices to existing pages (#5445)#6330
florent-leborgne wants to merge 5 commits into
mainfrom
docs-issue-5445-dashboard-design-best-practices

Conversation

@florent-leborgne
Copy link
Copy Markdown
Member

@florent-leborgne florent-leborgne commented May 6, 2026

Summary

This PR addresses #5445 by adding explicit ## Best practices H2 sections to three pages users naturally read while building dashboards, instead of scattering tip blocks. Each section is placed where the reader is already looking for that topic:

  • explore-analyze/dashboards/create-dashboard.md — new ## Best practices between Requirements and Create a new dashboard, covering information hierarchy (KPIs at top, charts in the middle, detail tables at the bottom). Sits before the steps so readers think about layout before clicking through them. Cross-references the panel-sizing best practices added in docs: document the dashboard 48-column grid (#5449) #6329.
  • explore-analyze/visualize/lens.md — new ## Best practices directly after the chart-type comparison table, covering descriptive panel titles and hiding redundant axis titles via the Axis title dropdown set to None.
  • explore-analyze/visualize/text-panels.md — new ## Best practices right after the page intro, listing what text panels are good for (descriptions, instructions, links, images) and pointing readers to collapsible sections and descriptive chart titles for section headers instead.

Guidance is sourced from the kibana-dashboards agent skill in elastic/agent-skills-sandbox and kept qualitative. The 48-column grid mechanics and exact panel widths from the skill are documented separately in #6329.

The Axis title dropdown label and its None option were verified against the current Lens source (x-pack/platform/plugins/shared/lens/public/shared_components/vis_label.tsx and axis/title/toolbar_title_settings.tsx on main).

Resolves

Closes #5445

Merge order

Land #6329 first. This PR contains a cross-link from create-dashboard.md to arrange-panels.md#arrange-panels-best-practices, an anchor created in #6329. Once #6329 is on main, this PR can merge with the link resolved.


AI-generated draft — created with Claude Sonnet 4.6.
Review all generated content for factual accuracy before merging.

Bake design guidance into the pages where users already work, instead of
adding a standalone best-practices page:

- create-dashboard: new "Plan your information hierarchy" step between
  populating and organizing panels (KPIs at top, charts in middle,
  detail tables at bottom).
- arrange-panels: new "Tips for sizing panels" subsection covering
  height by content type, row consistency, and using collapsible
  sections to separate primary from secondary content.
- lens: new "Tips for clear visualizations" tip about descriptive
  panel titles and hiding redundant axis titles via the Axis title
  dropdown (None).
- text-panels: tip clarifying that text panels are for context and
  links, not section headers — prefer collapsible sections and
  descriptive chart titles for structure.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

✅ Vale Linting Results

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide.

To use Vale locally or report issues, refer to Elastic style guide for Vale.

florent-leborgne and others added 3 commits May 6, 2026 19:21
Replace the inline tip blocks and the mid-stepper insertion with
top-level "Best practices" H2 sections placed where readers naturally
land for that topic:

- create-dashboard: H2 between Requirements and the create steps,
  covering information hierarchy. Original step numbering restored.
- arrange-panels: H2 at the end of the page covering panel sizing
  and arrangement habits.
- lens: H2 right after the chart-type comparison table covering
  panel titles and axis titles.
- text-panels: H2 right after the page intro covering when text
  panels add value and what to use instead for section headers.

Best-practices sections cross-reference each other bidirectionally.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Shorten H2 to `## Best practices` to match the other three pages
  in this PR and parallel #6329's noun-phrase style.
- Cross-link the width bullet to the new `Dashboard grid layout`
  section added in #6329 so readers can find concrete column widths
  in one click.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move the panel sizing/arranging best-practices section to PR #6329
so it lives inside the new "Dashboard grid layout" section instead
of as a standalone section at the bottom of the page.

The cross-link in `create-dashboard.md` still points at
`#arrange-panels-best-practices`, which #6329 will create.

Co-authored-by: Cursor <cursoragent@cursor.com>
florent-leborgne added a commit that referenced this pull request May 6, 2026
Adds an H3 Best practices subsection inside the new Dashboard grid
layout H2, covering:

- Match panel height to content type
- Keep heights consistent within a row
- Use width to signal importance (refers to the column reference
  table above)
- Separate primary from secondary content with collapsible sections

Cross-references back to Best practices for dashboard design in
`create-dashboard.md` (added in PR #6330).

Originally drafted in #6330, moved here so all panel sizing /
arranging guidance lives in a single section with the grid mechanics.

Co-authored-by: Cursor <cursoragent@cursor.com>
florent-leborgne added a commit that referenced this pull request May 6, 2026
The link from `arrange-panels.md` Best practices to
`create-dashboard.md#create-dashboard-best-practices` pointed at an
anchor that only exists in #6330. Removing it lets this PR merge
independently.

The reverse direction (`create-dashboard.md` → `arrange-panels.md`
Best practices) is kept in #6330 and will resolve once this PR lands.

Co-authored-by: Cursor <cursoragent@cursor.com>
The target section was renamed to 'Dashboard grid layout and best
practices' in #6329, with the H2 anchor 'dashboard-grid-layout'. The
old 'arrange-panels-best-practices' anchor no longer exists, so update
the link target and label to match.

Co-authored-by: Cursor <cursoragent@cursor.com>
@florent-leborgne
Copy link
Copy Markdown
Member Author

Closing in favor of a new PR that consolidates the dashboard design best practices into a single dashboards-best-practices.md page. The pointers from create-dashboard.md, lens.md, and text-panels.md will be re-added in the new PR. The new PR will close both #5445 and #5449.

@florent-leborgne
Copy link
Copy Markdown
Member Author

Superseded by #6340, which consolidates this PR and #6329 into a single comprehensive Best practices for creating dashboards page that closes both #5445 and #5449.

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.

Add dashboard design best practices to existing dashboard pages

1 participant