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
Peter Bengtsson
623a040851
use defaultfallback data for apisession ( #29719 )
...
* don't get available languages from session
* update useSession
* one more fix
* use default session till XHR comes in
* warn on error
2022-08-08 15:47:55 +00:00
Peter Bengtsson
a1e3866fa5
don't get available languages from session ( #29715 )
...
* don't get available languages from session
* update useSession
* one more fix
2022-08-08 11:13:27 -04:00
Kevin Heis
407dd2f102
Use opacity instead of hide/show to preserve anchor position ( #29673 )
2022-08-05 19:50:09 +00:00
Kevin Heis
56aa9ea094
Move use session to its own hook file ( #29641 )
...
* Move use session to its own hook file
* Trying useSWR
* Try one hour html cache
* blah blah lint
* Update to include loading state
* Update components/hooks/useSession.ts
Co-authored-by: Peter Bengtsson <peterbe@github.com >
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2022-08-05 14:47:10 +00:00
Kevin Heis
5d7ec93819
Remove content until color mode is known ( #29618 )
...
* Flash of gray
* Update _app.tsx
* Update _app.tsx
* Update _app.tsx
* Update index.scss
* Update index.scss
2022-08-04 16:13:49 +00:00
Rachael Sewell
3cbd7103da
Remove top-level categories on graphql queries page ( #29592 )
2022-08-03 20:01:38 +00:00
Rachael Sewell
467459af7c
Reactify graphql pages ( #28547 )
2022-08-03 10:51:21 -07:00
Kevin Heis
f8d2395960
Remove theme from HTML ( #29560 )
...
* Remove theme from HTML
* update for linting error
* Fix for overriding default color modes
Co-authored-by: Grace Park <lugraciecy@gmail.com >
Co-authored-by: Grace Park <gracepark@github.com >
2022-08-02 17:06:54 -07:00
Kevin Heis
0886faddac
Move language context to browser/session ( #29433 )
2022-07-28 18:50:46 +00:00
Kevin Heis
f79e1d2cb7
Fetch CSRF token over XHR (browser-side) ( #29337 )
...
* Client side csrf token grab
* Update get-session.ts
* Update get-session.ts
* Update get-session.ts
* Remove test refs to meta tag
* Update get-session.ts
* Update get-session.ts
* Update get-session.ts
* Update get-session.ts
* Fix some type issues
* Simplify api
* Update components/lib/get-session.ts
Co-authored-by: Rachael Sewell <rachmari@github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2022-07-27 16:18:07 +00:00
Rachael Sewell
e8acff555c
refactor the enabled for apps page component ( #29253 )
2022-07-26 18:14:50 +00:00