1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Commit Graph

151 Commits

Author SHA1 Message Date
Rachael Sewell
6d248082b5 sidebar style updates (#19929) 2021-06-24 11:15:24 -07:00
Sarah Schneider
118747974e fix bugs in React 2021-06-23 12:54:17 -04:00
Sarah Schneider
15e33f05e7 Revert "Revert "Fix homepage versions dropdown" (#20087)"
This reverts commit f9f0b2ce86.
2021-06-23 10:12:36 -04:00
Matt Pollard
f9f0b2ce86 Revert "Fix homepage versions dropdown" (#20087) 2021-06-23 09:11:51 +02:00
Sarah Schneider
43c04966e5 update React components that use the homepage version 2021-06-22 15:16:01 -04:00
Mike Surowiec
a24d01f78a Fix NextJS 500s (#20048)
* feat: allow server to contextualize request when on a /_next/data path

* add client side routing test, run lint

* enable nextjs client side routing
2021-06-22 17:30:40 +00:00
Mike Surowiec
e377d74419 React: import necessary javascripts directly (#20001)
* import javascript files directly

* move globally required js to _app

* fix: js initialization

* set next env for tests
2021-06-21 21:55:49 +00:00
Mike Surowiec
b084dbc23d React: Enable all remaining pages (#20012)
* enable all remaining pages

* update tests for survey, filter card dropdowns

* fix search test

* fix: mobile search layout

* update sidebar test

* fix: learning track page is optional

* fix broken links
2021-06-21 19:52:58 +00:00
Mike Surowiec
f19d695cef fix: enterprise guide type was sometimes undefined (#20015) 2021-06-18 12:31:22 -07:00
Grace Park
86306460f5 Merge branch 'main' into fix-zh-links 2021-06-17 11:25:30 -07:00
Mike Surowiec
5396f5f9e4 React: All landing pages (#19943)
* default all remaining landing pages to react, update tests
2021-06-17 10:04:53 -07:00
Grace Park
3b92e01a79 Merge branch 'main' into fix-zh-links 2021-06-16 13:27:20 -07:00
Grace Park
8899f30911 adding to 2nd return 2021-06-16 13:24:05 -07:00
Grace Park
a20f56deaf updating LanguagePicker to use language code instead of hreflang 2021-06-16 13:14:35 -07:00
Mike Surowiec
70256b0e6a fix: sometimes there are no childPages, such as /es/github-ae@latest/admin (#19944) 2021-06-15 22:19:25 +00:00
Mike Surowiec
5635c2dba4 fix codespaces (#19941) 2021-06-15 14:05:33 -07:00
Mike Surowiec
306f6fc75e Enable more react pages (#19935)
* enable more react landing pages

* move nextjs page logic to separate middleware

* enable codespaces landing page + fixes

* enable /education

* enable /admin

* use pathToRegexp to match routes for react rendering

* run lint

* fix: typo in url

* update sidebar test
2021-06-15 13:31:17 -07:00
Mike Surowiec
ae3d8916c6 Cleanup featuredLinks usage, fix insights page, better ArticleList (#19872)
* cleanup featuredLinks usage, fix insights page, better ArticleList component
2021-06-15 18:22:43 +00:00
Mike Surowiec
e26a3446a7 SubLanding page filter (#19918)
* sub-landing: implement filtering in react, other cleanup
2021-06-15 18:16:24 +00:00
Mike Surowiec
bf21cd1104 fix header styling, add missing sectionLinks (#19915) 2021-06-15 16:35:19 +00:00
Mike Surowiec
6172262be7 fix: sometimes the page doesn't have children (#19919) 2021-06-15 01:06:58 +00:00
Sarah Edwards
9344d3ed9a Landing pages only shows "view all" and "expore all" buttons if a guides page exists (#19914)
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-06-14 23:59:28 +00:00
Grace Park
0d90f48f22 React Sublanding Fixes (#19894)
* fixing a couple issue with the sublanding - nulls and page.type

* learning track null error fix

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-06-14 20:35:03 +00:00
Grace Park
c69a1283b2 update spacing (#19899) 2021-06-14 13:23:00 -07:00
Kevin Heis
75f90c9487 Update current JavaScripts to use Typescript (#19824)
* Update index to make it clear what has hasn't updated to Next/React yet

* Typescriptify events and experiments

* Typescript the old JS for easier integration

* Update release-notes.ts

* Lint

* Run npm i

* Fix a few lint issues

* Update airgap-links.ts

* Update airgap-links.ts

* Update set-next-env to ts

* Update airgap-links.ts

* Update package-lock.json

* Update set-next-env.ts

* Update package-lock.json

* Revert "Update package-lock.json"

This reverts commit b45e8250beeb700719d3b44e1092b0bbd093baba.

* readd fsevents

* Revert "readd fsevents"

This reverts commit 419f3c35080ac4a9072f0b4e8e291e1712ce3639.

* Update openapi-schema-check.yml

* Revert "Update openapi-schema-check.yml"

This reverts commit 5e9f4a29ea11ee343ca17291a40a751920c5b923.

* Update package-lock.json

* Update package-lock.json
2021-06-14 18:07:39 +00:00
Mike Surowiec
39207ce4a8 fix: primer grid causing overflow, revert to using class (#19879) 2021-06-12 13:18:45 -07:00
Mike Surowiec
3cbc8f67bd Random fixes (#19867)
* fix introLinks rendering to show primary button

* fix LearningTrack text overflow issue
2021-06-11 19:15:27 +00:00
Mike Surowiec
ae33dae11f More react default pages (#19863)
* turn on more default react landing pages
2021-06-11 18:35:41 +00:00
Mike Surowiec
5a95aac281 fix: rename CurrentProductTree to ProductTreeNode, fix article list title rendering (#19858) 2021-06-11 17:53:48 +00:00
Grace Park
4685205f23 updating key to not use index 2021-06-11 09:34:46 -07:00
Grace Park
a7adf8ce26 Making changes from Mikes feedback 2021-06-11 08:44:05 -07:00
Grace Park
d635ee5cf4 fix lint errors 2021-06-10 14:32:36 -07:00
Grace Park
2d289bdabc fixed conflict 2021-06-10 14:25:07 -07:00
Grace Park
2e30d1cc46 fixing json context and ran lint 2021-06-10 14:14:23 -07:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Mike Surowiec
732b5fa554 Fix Product sidebar (react) (#19843)
* fix sidebar product rendering logic to match existing sidebar
2021-06-10 19:23:47 +00:00
Kevin Heis
ef48759cb0 React: remove expose (#19771)
* React: remove expose

* Update context.js

* More changes

* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue

* run lint

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-06-10 16:53:43 +00:00
Kate Higa
3c5c91bfbd rebase 2021-06-10 07:55:05 -07:00
Kate Higa
a28fb1ab4d Merge branch 'main' into kh-enable_jsx_a11y_linter 2021-06-10 07:49:20 -07:00
Grace Park
05dd7c4892 remove console log 2021-06-09 22:07:30 -07:00
Grace Park
ed4ba6dd97 get rid of sublanding section and use landing section 2021-06-09 21:58:25 -07:00
Grace Park
857fce6c47 add number for learning tracks 2021-06-09 21:39:17 -07:00
Grace Park
04b02bb007 updated type display 2021-06-09 20:55:07 -07:00
Grace Park
699d73d828 add last section 2021-06-09 20:35:23 -07:00
Grace Park
4ee96cf94f move sublanding to its own directory and added learning paths 2021-06-09 15:11:31 -07:00
Mike Surowiec
a88e99c83a Reactify: release notes (#19799)
* reactify release-notes pages

* update GHAE/ES react release notes to not rely on javascripts/release-notes.js
2021-06-09 20:44:32 +00:00
Mike Surowiec
4fa725c404 Reactify: ProductReleases component on landing page (#19808) 2021-06-09 20:39:21 +00:00
Grace Park
2e2e745b40 update for undefined featured tracks and enum 2021-06-09 09:46:49 -07:00
Kate Higa
982b8bfa53 disable rules until ready to be addressed so we can have it enabled right away 2021-06-09 09:41:15 -07:00
Kate Higa
d578acf8f6 add necessary eslint/prettier/typescript plugins 2021-06-09 09:37:15 -07:00