1
0
mirror of synced 2025-12-25 11:03:37 -05:00
Commit Graph

195 Commits

Author SHA1 Message Date
Kevin Heis
cad57eeca3 Create landings subject folder (#37416) 2023-06-02 17:50:08 +00:00
Grace Park
e8d75f960e Content linting dir (#36833)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-05-09 19:39:36 +00:00
Rachael Sewell
7c7ec9027e Create ghes release features (#36718) 2023-05-01 15:57:38 +00:00
Peter Bengtsson
c2bd8e5e07 Test local dev better (#36700) 2023-04-28 15:09:32 +00:00
Rachael Sewell
d49f1dab22 move graphql tests (#36475) 2023-04-18 23:42:14 +00:00
dependabot[bot]
5429974b7f Bump glob from 9.3.2 to 10.0.0 (#36325)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
2023-04-12 19:13:56 +00:00
Robert Sese
23127eb28b ajv graphql tests (#36103) 2023-04-03 20:14:34 +00:00
Kevin Heis
68e29e17f6 Move search files to src (#35822)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-04-03 17:14:26 +00:00
Rachael Sewell
2201c9bff4 move webhook tests (#36053) 2023-03-30 21:49:01 +00:00
Peter Bengtsson
31962f645f glob@9.3.2 (#35912) 2023-03-27 21:36:59 +00:00
Peter Bengtsson
5cecf691c2 Minimal tests with Playwright (#35322) 2023-03-10 21:22:51 +00:00
Sarah Schneider
3b2f426296 Update some legacy code (#35371)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-03-08 15:58:16 +00:00
Robert Sese
4673281baf use ajv for site tree + versions schema tests (#35332) 2023-03-08 00:31:21 +00:00
Peter Bengtsson
fc63361276 Be gone old api/search/legacy (#34839) 2023-02-16 16:26:13 +00:00
Rachael Sewell
790d6a94a8 Pipelines version data dir graphql (#34772) 2023-02-15 19:33:40 +00:00
Peter Bengtsson
f95d515829 Spot redirect orphans better (#34800) 2023-02-15 18:20:43 +00:00
Peter Bengtsson
909b405054 Optionally return 'intro' in v1 search API (#34754) 2023-02-15 15:48:38 +00:00
Peter Bengtsson
77cd9b3325 Store doc 'intro' separately in Elasticsearch (#34731) 2023-02-14 15:59:54 +00:00
Rachael Sewell
fe8482408b Restructure GraphQL automated content scripts (#34308) 2023-02-11 00:38:27 +00:00
Grace Park
ef2efb0636 Feature Branch: Global Nav Phase 1 (#33465)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-01-31 17:49:50 +00:00
Peter Bengtsson
13841ddb39 unbreak categories.json on more complex Liquid (#34125) 2023-01-23 20:15:55 +00:00
Peter Bengtsson
99b477478a correct some featuredLinks (I) (#33806) 2023-01-10 16:56:17 +00:00
Peter Bengtsson
59602497f6 remove leftover nocking (#33791) 2023-01-06 16:59:34 +00:00
Peter Bengtsson
06eb34e0fd move out language dependent rendering tests (#33761)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-01-05 16:49:58 +00:00
Peter Bengtsson
ff12bf6131 stagger the default surrogate-key by language (#33202) 2022-12-06 20:26:06 +00:00
Peter Bengtsson
41ba33a07e remove loadSiteData from site-data-reference tests (#33090) 2022-12-01 15:25:25 +00:00
Peter Bengtsson
b4b9c288d8 remove tests/content/site-data.js (#32729) 2022-11-28 22:32:02 +00:00
Robert Sese
169cccfb0d Cleanup old webhooks code and payload files (#32738) 2022-11-22 16:56:46 +00:00
Peter Bengtsson
f189f9d900 custom Fastly surrogate key for api search (#32536) 2022-11-21 12:34:06 +00:00
Peter Bengtsson
988e68fa98 JIT data (#32140) 2022-11-17 13:08:49 +00:00
Robert Sese
b2e5d14036 Automate + Reactify webhooks page (#29534)
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>
2022-11-15 22:12:16 +00:00
Peter Bengtsson
2f66514571 make highlighting fields configurable (#32328) 2022-11-14 12:46:36 +00:00
Peter Bengtsson
401d9696a6 use /api/search/v1 in Search.tsx (#31952) 2022-11-14 12:34:21 +00:00
Peter Bengtsson
64ee6b2f09 optimize the getCurrentProductTree function (#31620) 2022-10-27 20:13:00 +00:00
Rachael Sewell
3e998f61d5 use azure blob storage for archived enterprise versions (#31883)
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
2022-10-25 12:03:38 -07:00
Peter Bengtsson
46764a165d api/search/v1 should always return a string for breadcrumbs (#31953) 2022-10-21 16:41:39 +00:00
Peter Bengtsson
098fb105b2 support filters in api/search/legacy (#31616) 2022-10-12 00:26:18 +00:00
Peter Bengtsson
74103cd650 redirect /search to /api/search/legacy (#31566) 2022-10-10 19:23:54 +00:00
Peter Bengtsson
b97fa9d2b9 fix TypeError in /api/search/legacy (#31049)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-09-22 19:38:29 +00:00
Hector Alfaro
25b455c35f Remove unused CrowdIn workflows and scripts (#30234) 2022-09-12 17:59:28 +00:00
Kevin Heis
303d5190db Create a translations test suite (#30000)
* 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
2022-08-25 12:38:03 -07:00
Peter Bengtsson
ec302a668d simplify and improve default cache-control headers (#30162)
simply and perfect cache-control headers
2022-08-22 19:57:42 +00:00
Peter Bengtsson
8765c628ff dedicated search results page (redux) (#29902)
* 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>
2022-08-19 13:36:55 +00:00
Sophie
2880fe6d8a Merge branch 'main' into sophietheking-landingpage 2022-08-16 15:47:24 +02:00
Kevin Heis
c8ae2081b7 Remove feature flags (#29968) 2022-08-16 11:23:02 +00:00
Sophie
f1f87f36d7 Update tests/content/featured-links.js
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-08 15:30:56 +02:00
Peter Bengtsson
f8f20605f4 search api with elasticsearch (#29053)
* 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
2022-08-05 19:40:38 +00:00
Sophie
269699fd8c change test 2022-08-05 14:17:24 +02:00
Evan Bonsignori
324beed950 Merge branch 'main' into ebonsignori/1506/secure-files-tests 2022-08-03 15:08:43 -07:00
Evan Bonsignori
88df2f01f5 add secure-files test 2022-08-03 13:03:15 -07:00