1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

557 Commits

Author SHA1 Message Date
Peter Bengtsson
64ee6b2f09 optimize the getCurrentProductTree function (#31620) 2022-10-27 20:13:00 +00:00
Peter Bengtsson
97cc0eb572 only render product_video when needed (#32048) 2022-10-25 20:05:50 +00:00
Peter Bengtsson
c2ff22bb31 refactor PlatformPicker and ToolPicker into one shared component (#31785) 2022-10-19 02:23:15 +00:00
Peter Bengtsson
d3fe424810 only include productGroups in main context on homepage (#31640) 2022-10-17 20:27:19 +00:00
Peter Bengtsson
bb2dedd52b respect hash on asPath (#31775) 2022-10-17 15:58:05 +00:00
Peter Bengtsson
2e957dbd91 keep language prefix when doing client-side refresh (#31686)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2022-10-17 12:35:51 +00:00
Peter Bengtsson
bf4873c87b simplify 'items' in TableOfContents prop (#31683) 2022-10-17 12:26:45 +00:00
Robert Sese
d65deba270 Handle false default values in the decorator (#31665)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-10-14 21:26:57 +00:00
Peter Bengtsson
e94d5e78ef hide some navigational elements from search text (#31607) 2022-10-13 17:02:05 +00:00
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