* 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>
* 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>
* Change sign up button to browser-side only
* Remove console.log
* Try removing components/context/DotComAuthenticatedContext.tsx, I don't think anything else is using it
* Revert "Try removing components/context/DotComAuthenticatedContext.tsx, I don't think anything else is using it"
This reverts commit 64d72c5dcb2efc67273a84fed371ff2ecc6c6f43.
* upgrade primer/react
* upgrade
* using deprecated
* remove lib"
* Upgrade primer/react: Upgrade Label (#28502)
update Label to primer/react 35.2.2
* fix merge conflicts
* primer/react v35: update ActionList (#28467)
* Update to v35 ActionList for LearningTrack
* Update to v35 ActionList for ArticleList
* Update to v35 ActionList for ProductArticleList
* Update to v35 ActionList for TableOfContents
* Update to v35 ActionList for ProductCollapsibleSection
* Update to v35 ActionList for RestCollapsibleSection
* Update to v35 ActionList for SidebarHomepage
* Update to v35 ActionList for MiniTocs
* Update to v35 ActionList for Search
* Extra div for rendering test
* One less div for rendering test
* All the style updates for v35 ActionList
* Works without setting as an li which is already the default (didn't before for some reason)
* Use deprecated ItemInput for now
* Picker update for primer/react (#28485)
* update picker
* inline picker for mobile
* set width to auto
* Update components/ui/Picker/Picker.tsx
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* update
* Update Picker.tsx
* update onselect
* checking language code
* move language cookie setting to language picker
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Resolve package merge conflicts
* fresh npm install
* Primer update UnderlineNav (#28582)
* update underlinenav for primer/react update
* update tests
* update switches test
* update one last label
* update header test"
* remove href in underlinenav
* update rendering tests
* update cursor
* primer/react v35: update DropDownMenu to ActionMenu (#28576)
* Update to v35 ActionMenu for ArticleCards
* Update to v35 ActionMenu for Search
* Set button to inline-block
* Put the props on the overlay
* Update test for ActionMenu markup
* update package
* update package lock
* primer/react v35: CodeLanguagePicker update from SelectMenu to ActionMenu (#28625)
* Use octicon for menu down arrow
* Update to v35 ActionMenu for CodeLanguagePicker
* update to SubNav
Co-authored-by: Grace Park <gracepark@github.com>
* update package-lock
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* removing search from home page and adding to header
* remove homepage search
* adding description
* update to f5
* remove homepage search test
* removing homepage search rendering test
* showing preview of larger font
* update wording at breakpoint
* update to short description everywhere
* Update components/homepage/HomePageHero.tsx
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
* remove unnecessary stylesheet
* Update data/ui.yml
Co-authored-by: Janice <janiceilene@github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Janice <janiceilene@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>
* rewrite search state from useRouter (take 2)
* fix the problem with isHeaderSearch
* cleaning ups
* updating mobile search results ui (#22841)
* remove useCallback
Co-authored-by: Grace Park <gracepark@github.com>
* updating search icon
* remove no fill
* update fill color
* using ActionList and Overlay
* update to ActionList, Overlay, add Label to Breadcrumbs, and change Mark
* add search-results test data and move header search results to right
* make search results scrollable and fix max-width in header search
* update header search and styling updates
* add highlight
* update styling
* styling and lint errors
* fix lint error and fetch
* Update components/Search.tsx
* update label color
* remove bottom margin
Co-authored-by: Rachael Sewell <rachmari@github.com>
* Move version picker next to product picker
* Always render in header
* Inline variant
* Remove topper-sidebar
* Handle breadcrumb length
* Have breadcrumbs use Primer breakpoint
* Make a breadcrumbs scss module
* Update Breadcrumbs.tsx
* Update Breadcrumbs.module.scss
* Update Breadcrumbs.module.scss
* Update server.js
* Use responsive classes for hide/show breadcrumb
* moving breadcrumbs to sticky header
* update scroll
* update color-bg-primary to color-bg-default
* change back to primary since were on primer 17
* add effect dependency
* not changing
* clip left box shadow of header and unmount
* update to default
* update breadcrumbs tests
* sticky editor
* Create migrate-colors-primer-18.js
* Update colors round 1
* upgrade primer packages
* Update index.scss
* Replace auto colors
* remove btn-primary-matte
* Turns out the class names and variables names DONT LINE UP... ugh....
* Check for allowed var colors
* close Language and ArticleVersion pickers after click
* cleanup ArticleGridLayout due to VersionPicker changes
* fix tsc errors resulting from primer upgrade
* fix / update tests
* cleanup mobile pickers visual consistency
* use btn-sm on VersionPicker
* update translation and close on click for enterprise releases
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
* Package updates
* Fix up things that look broken
* Add to utils
* Lead now just sets font size, just use f3 where needed
* Update package-lock.json
* Update index.tsx
* Delete bump-link.scss
* Update trigger-error.js
* Update components/GenericError.tsx
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* Update ArticlePage.tsx
* Update ActionBar.tsx
* Changes from meeting
* Found a few more monos
* Fix from a merge conflict
* Missed a few f3s
* Update SubLandingHero.tsx
* Bye gradients
* Match up breadcrumbs
* Update SubLandingHero.tsx
* Update lists.scss
Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
* turn article.scss into a module + componentized
* Update Survey to use only component styles, add cancel button
* Update GenericError + 404 page to use only standard classes
* update LearningTrack to not use markdown-body
* remove / consolidate stylesheets
* cleanup Graphiql explorer page and scss
* Componentize Breadcrumb styles
* Componentize DeprecationBanner styles
* scope h2 a link style to markdown-body
* cleanup nav, organize page-header and page-footer components
* remove unused scroll-button.scss
* organize LanguagePicker and ProductPicker
* add declarations file
* remove featured-links.scss, update tests
* update list utility and toc test
* fix bad merge resolution
* update breadcrumbs test