Skip to content

Conversation

@bgdeutsch
Copy link
Collaborator

@bgdeutsch bgdeutsch commented Apr 25, 2023

What does this PR do?

render both the page title and section header (when applicable) in the page hierarchy of search results.

Motivation

https://datadoghq.atlassian.net/browse/WEB-3507

Preview

do some queries from the search results page, confirm both page title and section header are present in the page hierarchy.
i.e. Documentation » Integrations » Postgres » Data Collected

https://docs-staging.datadoghq.com/brian.deutsch/integrations-search-result-header/search/?s=postgres
https://docs-staging.datadoghq.com/brian.deutsch/integrations-search-result-header/search/?s=aws
https://docs-staging.datadoghq.com/brian.deutsch/integrations-search-result-header/search/?s=synthetics

there should be no console errors, and styles should be unaffected.

Additional Notes


Reviewer checklist

  • Review the changed files.
  • Review the URLs listed in the Preview section.
  • Check images for PII
  • Review any mentions of "Contact Datadog support" for internal support documentation.

@github-actions github-actions bot added the Architecture Everything related to the Doc backend label Apr 25, 2023
@bgdeutsch bgdeutsch changed the title separate title and section header in search results include both page title and section header in search results Apr 27, 2023
@bgdeutsch bgdeutsch marked this pull request as ready for review April 27, 2023 18:51
@bgdeutsch bgdeutsch requested review from a team as code owners April 27, 2023 18:51
Copy link
Contributor

@hestonhoffman hestonhoffman left a comment

Choose a reason for hiding this comment

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

LGTM! Let me know if you need a review from @DataDog/corpweb, or if it's good to merge

@bgdeutsch
Copy link
Collaborator Author

LGTM! Let me know if you need a review from @DataDog/corpweb, or if it's good to merge

this is good to be merged, thank you @hestonhoffman !

@hestonhoffman hestonhoffman merged commit eb51748 into master Apr 27, 2023
@hestonhoffman hestonhoffman deleted the brian.deutsch/integrations-search-result-header branch April 27, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants