* 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
* indexing records into Elasticsearch
* @elastic/elasticsearch@8.2.0
* mv
* fix the code
* pipe
* lfs
* use sha
* change how index names work
* search api with Elasticsearch
* works
* refactor client
* better snowballing
* remove dbg
* wip
* highlights and fuzzy search
* improvements and upgrade
* also upgrade
* wip
* index more explicitly
* better validation
* change max size
* popularity by ordinal ranking instead
* playing
* fix package-lock
* rearranging
* catchMiddlewareError
* fix indexing
* match_phrase_prefix on wrapped search
* refactorings
* escape html in content
* wip
* search by URL
* update lock file
* v1 api
* inroads on jest testing the search
* valid yaml hopefully
* index fixtures into local elasticsearch
* specific versions to index only
* small fixes
* feedbacked
* fix tests
* use the npm script
* 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>
* Remove theme from HTML
* update for linting error
* Fix for overriding default color modes
Co-authored-by: Grace Park <lugraciecy@gmail.com>
Co-authored-by: Grace Park <gracepark@github.com>
* Add translation frontmatter to the schema
* Drop frontmatter in reusables.
Co-authored-by: Sarah Schneider <sarahs@github.com>
* Delete 'ms' property from data/ui.yml
Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
* Let be the caller, so events doesnt 403 on the first call
* Declare function
* Call all s so that the lang banner shows up consistently
* Update get-session.ts
* 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.
* simplify table-of-contents
* key
* fix rendering tests
* Not so much top margin
* Map topic ToC links are spans
* use p tag
* Back to span for the article title
* Update comment to match markup
* remove hack
* use h2 instead
* fix tests
* fix use of key
* use regular className instead
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>