* dedicated search results page (redux)
* Update SearchResults.tsx
* adding pagination
* fix pagination
* say something on NoQuery
* better Flash
* tidying link
* small fixes for results
* debug info
* l18n the meta info
* inDebugMode
* basic jest rendering of the skeleton page
* basic jest rendering test
* fix content tests
* better document title
* fix tests
* quote query in page title
* use home page sidebar
* something when nothing is found
* parseInt no longer needs the 10
* fix linting tests
* fix test
* prettier
* Update pages/search.tsx
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Parse color_mode cookie in browser
* Update useTheme.ts
* Update use-theme.js
* Update use-theme.js
* Add support for dark_high_contrast
Per https://primer.style/css/support/theming
I also checked all the color mode options, this is the only additional working with Primer 20 so far
* Remove gray bg
* Remove type
* Use defaults instead of types for fn args
* Thicker types
* Move use session to its own hook file
* Trying useSWR
* Try one hour html cache
* blah blah lint
* Update to include loading state
* Update components/hooks/useSession.ts
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* adding to view
* updating the portal location
* add new line
* updating font styling to class
* Update components/Search.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Update components/Search.module.scss
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* update ItemInput
* using router.replace and import updates
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* run prettier
* Update components/Search.tsx
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* pull changes from docs-playground
* cleanup, add callout banner
* cleanup linting and test fixes
* add discussion link
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* start SidebarNav, enable dark mode
* wip: sidebarnav, fix primer components theme rendering
* feat: ProductSiteTree, useFeatureFlag
* feat: add new product site tree (untested)
* wire up HomepageVersionPicker, run lint
* fix: remove re-render logic, fix homepage version picker to be natural width
* fix: support css + primer/components color modes
* fix: rename categoryId -> productId
* feat: ProductSiteTree and AllArticlesProduct
* fix: cleanup warnings
* fix: use next links on ProductSiteTreeNew
* fix: use next Link on AllArticlesProduct
* fix: add tooltip to ScrollButton, remove stylesheet dependency
* feat: ProductArticlesList component
* fix: convert color_mode value from cookie when necessary
* remove comments
* replace liquid with jsx
Co-authored-by: Rachael Sewell <rachmari@github.com>