Граф коммитов

548 Коммитов

Автор SHA1 Сообщение Дата
Evan Bonsignori 5beb76e9fd
push locale when changing tabs (#31655) 2022-10-12 20:37:54 +00:00
Peter Bengtsson b1dc21ccbd
make 'All products' link a Router link (#31642) 2022-10-12 17:04:23 +00:00
Peter Bengtsson 72d40de414
make getMainContext async (#31622) 2022-10-12 16:43:58 +00:00
Evan Bonsignori d5cf8700ab
Persist tab state in query params for linking (#31499) 2022-10-12 11:43:31 +00:00
Peter Bengtsson 0d6e19dd26
Guide pages have no data-search="article-body" (#31433) 2022-10-10 17:17:10 +00:00
Peter Bengtsson 9897635b8b
Scraping product landing pages should have a content body (#31431) 2022-10-10 12:00:41 +00:00
Peter Bengtsson 9ab9d10940
JSON stringify rest parameter default values (#31520) 2022-10-08 00:18:42 +00:00
Rachael Sewell 5f40f9341d
Switch search backend from Lunr to Elasticsearch (#31257)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-10-04 19:04:47 +00:00
Peter Bengtsson deca4bee6d
don't dangerouslySetInnerHTML on a <p> tag (#31318) 2022-10-01 00:18:13 +00:00
Kevin Heis c4a1027d97
Reinstate search result event (#31146) 2022-09-27 09:08:10 -04:00
Kevin Heis 3179a7c7a0
(alt) Add searchResult event to search page (#31149) 2022-09-27 12:38:17 +00:00
Grace Park c4100ecb93
Fix wide table width for REST API pages (#31167) 2022-09-26 22:51:37 +00:00
Rachael Sewell 93a3e80ede
Fix REST example copy-paste error (#31043) 2022-09-26 18:47:55 +00:00
Peter Bengtsson dfdd5b87eb
Use <Link> not <a> to get client-side navigation (#31103) 2022-09-26 09:24:22 -04:00
Grace Park 6c0eb08199
Fix minitoc link issue for translations (#31061) 2022-09-22 15:13:50 -07:00
Sarah Schneider b7f48ea2c1
Support GHAE internal-only semantic versioning (#29178)
Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2022-09-22 08:26:58 +02:00
Robert Sese 3d45346c34
New nested param table styles for REST (#30862) 2022-09-20 12:57:49 -07:00
github-openapi-bot 757066487d
Update OpenAPI Descriptions (#30924)
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Grace Park <gracepark@Graces-MacBook-Pro-2.local>
Co-authored-by: Hector Alfaro <hectorsector@github.com>
Co-authored-by: Ashwin Jeyaseelan <8gitbrix@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
2022-09-19 10:28:23 -07:00
Peter Bengtsson 907199f00e
don't scroll when replacing auto-refreshing (#30835) 2022-09-16 09:04:48 -04:00
Robert Sese 8d60c08173
Fix featured video links versioning (#30788) 2022-09-15 16:51:14 +00:00
Peter Bengtsson 37fa4e871e
auto-refresh content (#30689)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2022-09-14 16:58:27 +00:00
Robert Sese 57c1ed5d6e
Update permissions statement design (#30703) 2022-09-13 16:19:53 +00:00
Grace Park b84b627e8c
Fix bug for ghec version of experimental pages (#30494) 2022-09-06 16:14:25 +00:00
Manuel Bergler 219638d7d4
Fix Management Console API code samples (#30455) 2022-09-06 15:58:04 +00:00
hubwriter dbb8426cb4
Codespaces: Use correct keypress formatting (#30248) 2022-09-01 11:59:02 +00:00
Grace Park e75e6d3638
Add new line for gh cli for REST CodeSamples to work (#30364) 2022-08-30 19:53:14 +00:00
Sarah Edwards 148257a793
Make autogenerated REST examples work with JWTs (#30352) 2022-08-29 17:32:34 +00:00
Grace Park 543b3eee9d
Unbreak for code in rest tables and remove unnecessary import (#30314) 2022-08-29 17:12:00 +00:00
Peter Bengtsson e7280bb896
silence unit test warning from useTheme (#30286) 2022-08-26 15:44:24 +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
Grace Park df6b782b11
Update navlist for MiniTocs (#30167)
* update navlist

* fix tests

* update to component

* update platform

* update key

* fix platform tool picker issue

* add key

* remove unnecessary key

* fix test

* update styling

* fix indented test

* Update components/ui/MiniTocs/MiniTocs.tsx

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* remove null

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-08-25 09:33:08 -07:00
Peter Bengtsson 7bd83ef4b1
able to use HTML tags in playground markdown content (#30256)
* able to use HTML tags in playground Markdown content

* small fixes
2022-08-25 14:34:08 +00:00
Rachael Sewell 28423ba069
simplify openapi schema parsing (#30192) 2022-08-24 22:14:39 +00:00
hubwriter a4d56c1134
Codespaces: Fix rendering of keyboard input in Typescript file (#30218)
Fix rendering of keyboard input
2022-08-24 15:39:46 +01:00
Sarah Edwards d2a2113c11
REST new user guidance (#29642) 2022-08-23 19:31:01 +00:00
Peter Bengtsson fe80f4ae4d
suppress es-search if ELASTICSEARCH_URL isn't configured (#30096)
* suppress es-search if ELASTICSEARCH_URL isn't configured

* simplify

* simple 500 error instead
2022-08-19 20:54:37 +00:00
Peter Bengtsson cb97fb4db3
Search result widget expands the whole page down (#30101) 2022-08-19 12:24:09 -04: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
Peter Bengtsson d38b8351a8
Revert "Update to NavList for minitocs" (#30051)
Revert "Update to NavList for minitocs (#29885)"

This reverts commit b5ea7bbcc5.
2022-08-18 09:44:23 -04:00
Rachael Sewell 961f985cfe
Revert "Refactor openapi table func" (#30040) 2022-08-17 17:24:11 -07:00
Rachael Sewell 792f4c626a
Refactor openapi table func (#29924) 2022-08-17 13:46:15 -07:00
Kevin Heis 74db5c9eca
Update README.md 2022-08-15 14:13:30 -07:00
Kevin Heis 3cb36aa99f
Remove airgap mode (#29964) 2022-08-15 21:05:21 +00:00
Kevin Heis 688a274f1f
Remove CSRF check (#29910)
* Use color_mode for gating "sign up" button

* Remove csrf check

* Add `res.removeHeader('set-cookie')` to cache-control

* Update static-assets.js

* Remove package

* Remove tough-cookie

* Update cache-control.js

* Update cache-control.js

* Update cache-control.js
2022-08-15 19:28:42 +00:00
Kevin Heis 242c4c1f72
Also check preferred_color_mode for hasAccount state (#29958)
Update useHasAccount.ts
2022-08-15 17:54:09 +00:00
Peter Bengtsson 700a33df69
use the languages definitely known in context (#29920) 2022-08-12 20:36:22 +00:00
Kevin Heis ca61b3465a
Use color_mode for gating "sign up" button (#29901)
* Use color_mode for gating "sign up" button

* Update useHasAccount.ts

* Update useHasAccount.ts

* Update useHasAccount.ts
2022-08-12 18:18:58 +00:00
Grace Park b5ea7bbcc5
Update to NavList for minitocs (#29885)
* update to NavList for minitocs

* fix minitoc tests
2022-08-11 18:40:02 -07:00
Rachael Sewell b552180c04
remove unused properties from decorated rest schemas (#29881) 2022-08-12 00:09:41 +00:00
Grace Park 0426962aec
Fix single quote escaping for curl examples (#29876)
fix single quote escaping for curl examples
2022-08-11 22:26:58 +00:00