1
0
mirror of synced 2026-01-02 21:04:32 -05:00
Commit Graph

170 Commits

Author SHA1 Message Date
Kevin Heis
ac38ab609e Import from the src directory in Node using #src (#37578) 2023-06-05 21:44:20 +00:00
Kevin Heis
cad57eeca3 Create landings subject folder (#37416) 2023-06-02 17:50:08 +00:00
Kevin Heis
85675f9f81 Move more files into automated pipelines directory (#37415) 2023-06-01 17:50:58 +00:00
Peter Bengtsson
cb2091fb34 Present a manifest JSON file with icons (#37292) 2023-05-31 12:05:37 +00:00
Peter Bengtsson
5ede55ee59 SSR search (#36974) 2023-05-30 11:50:56 +00:00
Kevin Heis
a8fd057884 Move even more REST files into src (#37041) 2023-05-11 21:39:08 +00:00
Kevin Heis
ab91bc6b43 Move more REST files into src (#37026)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-05-11 17:17:57 +00:00
Kevin Heis
56f03a7020 Move more files for src/graphql (#36577) 2023-05-11 00:01:31 +00:00
Kevin Heis
f806ee7012 Move more files into src/webhooks (#36578) 2023-05-10 18:54:56 +00:00
Kevin Heis
2d15c92e84 Move a few more files into events src (#36574) 2023-05-08 15:33:13 +00:00
Chris Wilson ⚡
e8ed256adb Remove /contact from support links (#36798) 2023-05-05 00:22:59 +00:00
Peter Bengtsson
c17716d067 tidying iterator for Categories (#36417) 2023-04-17 16:57:09 +00:00
Kevin Heis
cc5a0e9613 Aria labelledby (#36370) 2023-04-13 16:35:30 +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
Kevin Heis
84dc08e016 Say "Docs" instead of "Documentation" (#36032) 2023-03-30 19:14:42 +00:00
Kevin Heis
0c67aadebc Move events into subject folder (#35262) 2023-03-14 15:53:42 +00:00
Rachael Sewell
790d6a94a8 Pipelines version data dir graphql (#34772) 2023-02-15 19:33:40 +00:00
Rachael Sewell
6b4d76e09c break version-specific data into individual files (#34717) 2023-02-15 19:03:08 +00:00
Rachael Sewell
5eacb15faa move webhook events page (#34774) 2023-02-15 02:11:20 +00:00
Rachael Sewell
6ab083d643 Reorganize REST code (#34323) 2023-02-14 02:13:21 +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
hubwriter
18a2cc8498 Remove experimental format ("playground") page from Codespaces docs (#33732)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-01-11 19:52:51 +00:00
Peter Bengtsson
d27720c729 404 if apiVersion is unrecognized (#33850) 2023-01-10 00:58:20 +00:00
Peter Bengtsson
c49557775e return 404 on /_next.junk (#33770) 2023-01-06 01:12:58 +00:00
Peter Bengtsson
862172e8af only send the minimal language needed as prop (#32765)
Co-authored-by: Grace Park <gracepark@github.com>
2023-01-04 19:43:37 +00:00
Robert Sese
cce7a881de allow linking to a specific webhook type (#33118) 2022-12-06 21:20:23 +00:00
Grace Park
53f54707c5 Updating to check apiVersion is a real apiVersion (#33058)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-11-29 19:23:54 +00:00
Grace Park
e3f8f71c42 Rest api versioning redo (#33011)
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Grace Park <gracepark@Graces-MacBook-Pro-2.local>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
2022-11-28 11:55:02 -08: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
Grace Park
14bfa57b91 Update enabled apps to use openapi version (#32327)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-11-14 18:32:56 +00:00
Peter Bengtsson
8f6610f5f2 fix bullet points in GraphQL Changelog (#32310) 2022-11-03 17:11:16 +00:00
Peter Bengtsson
18feadbe23 use plain link to link to unsupported GHES versions (#32204) 2022-10-31 17:26:06 +00:00
Peter Bengtsson
97cc0eb572 only render product_video when needed (#32048) 2022-10-25 20:05:50 +00:00
Peter Bengtsson
d3fe424810 only include productGroups in main context on homepage (#31640) 2022-10-17 20:27:19 +00:00
Peter Bengtsson
72d40de414 make getMainContext async (#31622) 2022-10-12 16:43:58 +00:00
Peter Bengtsson
ef5b9d5f07 proxy /api/search/* to docs.github.com (#31281) 2022-09-29 21:50:38 +00: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
Peter Bengtsson
90b754fe3c Test JSON API without enabling dedicated search results page (#30542) 2022-09-06 17:05:22 +00:00
Sarah Edwards
d2a2113c11 REST new user guidance (#29642) 2022-08-23 19:31:01 +00:00
Peter Bengtsson
8eb7898827 send errors to Failbot in SSR rendering (#30153)
* send errors to failbot in SSR rendering

* wip

* progress

* tidying up

* no point awaiting something that doens't return a promise
2022-08-22 16:50:18 +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
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
5d83a12340 set theme data- attributes on the body (#30054)
* set theme data- attributes on the body

* Color mode back on body tag

* unconflicted

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2022-08-18 20:13:28 +00: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
Grace Park
2102f25e3f prevent SSR mismatch (#29852) 2022-08-11 17:17:12 +00:00
Peter Bengtsson
37203886ff remove now obsolete code comment from render caching (#29767) 2022-08-09 19:55:36 +00:00
Kevin Heis
04f38e4779 Parse color_mode cookie in browser (#29738)
* 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
2022-08-09 16:48:18 +00:00
Peter Bengtsson
ef277d6640 Always call initializeEvents with a truthy csrfToken (#29721) 2022-08-08 12:10:00 -04:00