Consolidate duplicate "Access Lens" and "Save" steps into shared snippets across all 13 chart pages#7020
Merged
Conversation
…ippets - Create explore-analyze/_snippets/access-lens.md with generic Access Lens step content - Create explore-analyze/_snippets/save-visualization.md with canonical Save step content - Replace duplicate step bodies in all 13 chart pages with include directives - Fix double-period typo in metric-charts.md - Standardize wording variations (e.g. "offers you to add" → "lets you add", "be able to add it to other dashboards later" → "reuse it later") Follows the existing lens-prerequisites.md snippet pattern already used across all chart pages. Closes #6884
Copilot
AI
changed the title
[WIP] Fix duplicate content in charts documentation
Consolidate duplicate "Access Lens" and "Save" steps into shared snippets across all 13 chart pages
Jun 19, 2026
Contributor
Elastic Docs AI PR menuCheck the box to run an AI review for this pull request.
Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team. |
Contributor
Contributor
✅ Elastic Docs Style Checker (Vale)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. |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

All 13 Lens chart pages repeated identical (or near-identical) "Access Lens" and "Save the chart" step content inline, diverging in minor wording over time. This follows the existing
lens-prerequisites.mdsnippet pattern already in use on these pages.New snippets
explore-analyze/_snippets/access-lens.md— generic "Access Lens" step body (only variation was chart type name, replaced with "the visualization")explore-analyze/_snippets/save-visualization.md— canonical "Save" step body with consistent wordingAll 13 chart pages updated
Inline content replaced with
:::{include}directives::::::{step} Access Lens :::{include} ../../_snippets/access-lens.md ::: ::::: :::::{step} Save the chart :::{include} ../../_snippets/save-visualization.md ::: :::::Wording standardized
"offers you to add"→"lets you add"(gauge, heat-map)"be able to add it to other dashboards later"→"reuse it later"(bar, metric, tables)line-charts.mdtruncated save instructions restored to full canonical textmetric-charts.md