* Scaffold files for migration
* Move user-agent into unit suite
* Nothing to move from browser suite
* Migrate tests to translations/content
* Migrate existing translation test to meta
* No graphql tests to migrate
* Migrate lint-translation-reporter
* Migrate lint-translation-reporter
* Remove languages-schema, unused
* Restore languages-schema
* Restore languages-schema
* Migrate rendering
* Migrate routing
* Migrate most of unit
* Remove dead files, comment out tests that aren't expected to work yet
* Migrate from get-redirect
* Migrate page and pages
* Migrate linting code
* Fix lint issues
* Found a few more
* Run prettier
* Move crowdin-config test and helper
* Update crowdin-config.js
* Remove translation linting, crowdin config lint, reduce file count
* Remove test that's been skipped for a year
* Restore linting with note to remove later
* Update lint-translation-reporter.js
* Clean up rendering suite
* Update rendering.js
* Remove excessive describe blocks
* Redirect tests
* Clean up unit
* Remove test that's never called
* Don't compare early access
* Rename test suites
* Update "content" tests
* Update files.js
* Update search.js
* Update files.js
* Update files.js
* 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>
* remove comments that no longer apply
* remove unused matrix variables
* remove CrowdIn-specific step of resetting broken files
* udpate link to Microsoft-specific log
* bring back reset script still in use
* add acceptable ja translation of TOS to rendering test
* add ability to remove files that have been translated but don't exist (wip)
* document what `languageFiles()` returns
* fix path issues for removed translations
* cleaner script execution
* add removed files to CSV report
* add workflow link to PR body for better troubleshooting
* catch missing regex for reporting file removals
* fix capturing groups in regex for csv reporting
* fix link to CSV file for PR
* fix formatting for PR
* pass in branch name from workflow
* put back helper scripts, make msft-specific copies
* 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>
* Prepare render-page for re-enabling HTML caching
* Prepare render-page for re-enabling HTML caching
* Prepare render-page for re-enabling HTML caching
* Update healthz.js
* Pre calculate cache control directives
* Update render-page.js