Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
* 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>
* 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
* fix(content): apostrophe in title renders incorrectly in production only
* fix(ProductArticlesList): use renderedFullTitle to display childNodes
* fix(lint): run prettier
* sync serialize sitedata to disk
* use os.tmpdir
* refactor tests
* debugging
* use log
* debugging
* louder about syntax errors
* warn-before-tests
* louder about disk-caching redirects
* less loud
* only in development again
* throw if no value not found in indented_data_reference
* better comment
* deliberate writer-error saple
* all strings are truthy'ish
* undo
* fix tests
* Track category child types
* Test that category children are all of the same type
* Add custom error message
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Grace Park <gracepark@github.com>