Skip to content

Commit

Permalink
[DOP-3290]: Search the current drivers docs site by default (#763)
Browse files Browse the repository at this point in the history
* [DOP-3290]: Grab path values for searchParams

* [DOP-3290]: Update path params value

* [DOP-3290]: Update comment

* [DOP-3290]: Add version and project to determine searchProperty

* [DOP-3290]: Add logic to only add searchParam if in drivers page

* [DOP-3290]: Rename variables

* [DOP-3290]: Refactor project manifest to be created only when project includes drivers

* [DOP-3290]: Update consistent-nav library

* [DOP-3290]: Add set for drivers pages

* [DOP-3290]: Remove hardcoded searchProperty

* [DOP-3290]: Remove logs, and comment code

* [DOP-3290]: add comment for drivers set

* [DOP-3290]: Use urlSlug instead of versionSelectorLabel and use snootyMetadata for branch

* [DOP-3290]: Add new line

* [DOP-3290]: Small refactor

* [DOP-3290]: Remove drivers set

* [DOP-3290]: Add search context for search manifests

* [DOP-3290]: Remove search context as it is not needed and simplify header

* [DOP-3290]: Remove unused imports, add check for docs landing

* [DOP-3290]: Use marian manifest hook to get search manifests

* [DOP-3290]: Remove console log

* [DOP-3290]: Use projectManifest as key to check for in searchPropertyMapping obj

* [DOP-3290]: Use projectManifest as key to check for in searchPropertyMapping obj

* [DOP-3290]: Use correct property name

* [DOP-3290]: Address comments left by PR
  • Loading branch information
branberry authored Feb 28, 2023
1 parent 17b52b4 commit f68802d
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 225 deletions.
226 changes: 9 additions & 217 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@leafygreen-ui/tooltip": "^7.1.0",
"@leafygreen-ui/typography": "^13.0.0",
"@loadable/component": "^5.14.1",
"@mdb/consistent-nav": "1.2.27",
"@mdb/consistent-nav": "1.2.32",
"@mdb/flora": "^0.20.5",
"@mdx-js/react": "^1.6.22",
"adm-zip": "^0.5.9",
Expand Down
Loading

0 comments on commit f68802d

Please sign in to comment.