Skip to content

Add the product hubs to the left nav and the landing page - #4477

Merged
bmorelli25 merged 16 commits into
mainfrom
flb/hub-left-nav
Oct 27, 2026
Merged

bmorelli25 merged 16 commits into
mainfrom
flb/hub-left-nav

Conversation

@florent-leborgne

@florent-leborgne florent-leborgne commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Adds the Elastic Stack, Elasticsearch, Kibana, and Logstash product hubs to the assembled left nav, and links them from the Elastic Docs landing page so readers and search engines can find them.

Affects: Navigation, Site UI

Prompt summary: Add the new product hub pages to the docs site navigation and link them from the Elastic Docs landing page. Google indexes a new page faster when a high-traffic docs page links to it, so the landing page gets a direct link to each hub.

Why

The hub pages from elastic/docs-content#7964 have no entry point. The left nav does not list them and the landing page does not mention them, so readers can only reach them by URL and search engines have no internal link to follow. The landing page cards under "How-to guides" also follow an older order than the nav, which now puts Deploy and manage first.

What

Left nav

Elastic Stack becomes a group right after Elastic fundamentals, with the Elasticsearch, Kibana, and Logstash hubs under it. deploy-manage moves up to follow products. The docs-content://products phantom entry is removed because the toc now appears in the nav. config/navigation_preview.yml is unchanged and keeps its own phantom and the static Products dropdown.

Hub links on the landing page

A Docs by product card replaces the Release notes card in Product resources. It links to the Elasticsearch, Kibana, and Logstash hubs, and See all Elastic Stack links to the Elastic Stack hub. The change is in both landing templates, _LandingPage.cshtml and _DesignSystemLandingPage.cshtml, with the design-system styles in pages.css.

Release notes link

The release notes link moves into the "Upgrading from an earlier version?" line, next to the upgrade guide, because readers who look for either one are working out what changes between versions.

Guides section

The "How-to guides" section is now "Elasticsearch Platform guides", and its cards follow the nav order: Deploy and manage, Manage data, Explore and analyze, then Manage Cloud account. The section anchor changes from #how-to-guides to #elasticsearch-platform-guides, so an outside link to the old anchor still opens the page but no longer scrolls to the section.

Tests

LandingLayoutRenderingTests now renders the landing page with navigation preview off and on. It checks that the /docs/products/... links to the four hubs are in the HTML, and that the release notes link sits in the upgrade line with no Release notes card link on the page. A link dropped from one template fails a test.

Stack: 3 of 3, on top of elastic/docs-content#7964 (adds the hub pages) and elastic/docs-content#8870 (loads toc: products). Merge this PR last. The assembler build check fails with "Could not find navigation node for identifier" until both land, because the assembler builds the nav against the default branch of docs-content. The hub links on the landing page point to /products/... and resolve only after the same two PRs merge.

Verify

dotnet run --project src/tooling/docs-builder -- assembler navigation validate
dotnet run --project tests/Navigation.Tests -- --treenode-filter "/*/*/LandingLayoutRenderingTests/*"

To see the landing page, serve the test docset and open /landing-page. Add FEATURE_NAVIGATION_PREVIEW=true to see the design-system version.

dotnet run --project src/tooling/docs-builder -- serve --path docs-tests --port 3007

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

Tool(s) and model(s) used: Cursor and Claude Code, Claude Sonnet 5.5 (nav change, landing page change, and PR description)

@github-actions

Copy link
Copy Markdown
Contributor

@florent-leborgne
florent-leborgne marked this pull request as ready for review October 16, 2026 15:19
@florent-leborgne
florent-leborgne requested a review from a team as a code owner October 16, 2026 15:19
florent-leborgne and others added 9 commits October 16, 2026 17:19
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ection

The cards now follow the left nav order, with Deploy and manage first. The section is now titled Elasticsearch Platform guides, and the Docs by product card description ends with a period.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@florent-leborgne florent-leborgne changed the title Add the product hubs to the left nav after Elastic fundamentals Add the product hubs to the left nav and the landing page Oct 23, 2026
Both landing templates now have tests that check the four product hub links and the release notes link in the rendered HTML.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

@georgewallace georgewallace 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.

New homepage additions look great. Validated through full story that release notes moving up should have minimal impact.

The test now reads the upgrade paragraph and checks the release notes link inside it. It also fails if the old Release notes card link returns.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@bmorelli25

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	tests/Navigation.Tests/Rendering/LandingLayoutRenderingTests.cs

Co-authored-by: bmorelli25 <[email protected]>
@bmorelli25
bmorelli25 enabled auto-merge (squash) October 27, 2026 14:47
@bmorelli25
bmorelli25 merged commit c364bfb into main Oct 27, 2026
32 checks passed
@bmorelli25
bmorelli25 deleted the flb/hub-left-nav branch October 27, 2026 14:55
wajihaparvez pushed a commit to wajihaparvez/docs-content that referenced this pull request Oct 27, 2026
## Summary

Readers can reach the product hubs from the left nav. Elastic Stack is a
nav group right after Elastic fundamentals. Its page is the group's
landing page, and the Elasticsearch, Kibana, and Logstash hubs sit under
it.

Relates to
[docs-content-internal#1561](elastic/docs-content-internal#1561).

- `docset.yml`: replaces the four `hidden:` hub entries with `- toc:
products`, placed right after `get-started`. `deploy-manage` also moves
up to follow `products`, to match the order in the docs-builder
`navigation.yml`.
- `products/toc.yml`: removes the "not loaded yet" comment.
`elastic-stack.md` is the first entry, so it becomes the group's page.
The three product hubs follow as its children.

This PR is stacked on elastic#7964, so its base is `docs-hub-pages-v1`. GitHub
retargets it to `main` when elastic#7964 merges.

## Merge order

1. [elastic#7964](elastic#7964) adds the
hub pages.
2. This PR loads `toc: products` in the docset.
3.
[elastic/docs-builder#4477](elastic/docs-builder#4477)
adds the group to the assembled left nav.

Merge docs-builder#4477 last. It fails the assembler `build` check until
step 2 lands, because the assembler builds the nav against the default
branch of this repo.

## Test plan

- [ ] In the preview, the left nav shows Elastic Stack right after
Elastic fundamentals
- [ ] Elastic Stack expands to Elasticsearch, Kibana, and Logstash
- [ ] Deploy and manage follows Elastic Stack
- [ ] `/products/elastic-stack`, `/products/elasticsearch`,
`/products/kibana`, and `/products/logstash` still resolve
- [ ] Elastic Stack appears once in the nav, not nested inside itself

## Screenshots to add or update

None added. The left nav gains one group, so check it in the preview.

## Generative AI disclosure

1. Did you use a generative AI (GenAI) tool to assist in creating this
contribution?
- [x] Yes
- [ ] No

Tool(s) and model(s) used: Cursor, Claude Sonnet 5.5 (nav change and PR
description)

---------

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants