1
0
mirror of synced 2026-01-07 18:01:41 -05:00
Commit Graph

223 Commits

Author SHA1 Message Date
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
Mike Surowiec
108377b209 add more react default rendered pages, fix toc items (#19783) 2021-06-08 15:35:32 -07:00
Kevin Heis
26a8e61d3a Update survey to use React/TS (#19728)
* Update survey to use React/TS

* Working survey form in react land

* A little cleanup

* Update Search.tsx

* Update Survey.tsx

* Remove token field from schema entirely, just let it fail validation

* Update events.js

* Update survey.html

* use Link component

* Use enum for state

* Update old to match new
2021-06-08 17:34:45 +00:00
Kevin Heis
93b2d9f1ec React: Add tooltip on external links when airgap (#19761)
* React: Add tooltip on external links when airgap

* Update Link.tsx

* Update Link.tsx

* Update Link.tsx
2021-06-08 14:34:13 +00:00
Grace Park
3100b3b10d added the rest of the guide cards 2021-06-08 00:25:07 -07:00
Grace Park
d2a52cddd2 got the first card 2021-06-07 23:33:41 -07:00
Grace Park
c8c6a2d6c7 set up hero header 2021-06-07 17:04:20 -07:00
Mike Surowiec
04ba91fda0 Refactor React Header component (#19755) 2021-06-07 23:31:32 +00:00
Mike Surowiec
37499b80d2 Reactify article page rendering (#19679)
* feat: reactify article page rendering

* feat: add LearningTrackNav

* fix: use plain text title for article
2021-06-07 22:56:33 +00:00
Grace Park
81a57bd212 starting point set 2021-06-07 15:41:56 -07:00
Grace Park
e8c6d272d0 Merge branch 'main' into localization-grace 2021-06-07 13:19:03 -07:00
Grace Park
ecdc1e3714 Update components/HeaderNotifications.tsx
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-07 12:50:29 -07:00
Mike Surowiec
349fa8edbe feat: add react graphql explorer page (#19704) 2021-06-07 12:26:16 -07:00
Mike Surowiec
75e5d2e2e1 Reactify: main landing page (#19724)
* update Search to allow mounting input and results in different places
2021-06-07 15:56:09 +00:00
Kevin Heis
5b5354d02f React search component (#19659)
* React search component

* Update Search.tsx

* Update Search.tsx

* Standalone mode, start on search with your keyboard

* Update Search.tsx

* Update Search.tsx

* Yay typescript

* Update search.js

* Update events.js
2021-06-04 19:48:56 +00:00
Kevin Heis
516106b7c5 Rename "helpfulness" to survey (#19727) 2021-06-04 12:22:31 -07:00
Mike Surowiec
f8f72fc1d8 fix: nextjs stylesheet usage (#19693)
* fix: nextjs stylesheet usage

* remove builtAssets css from react context
2021-06-03 17:55:01 +00:00
Mike Surowiec
bc1ee6c60d Custom Link component (#19682)
* use our own Link component instead of next/link directly

* only show link href warnings outside of production environments
2021-06-03 08:21:33 -07:00
Mike Surowiec
e0d9a061a3 React category / sub-landing page (#19635)
Re-work routes to use GlobalPage, implements TocLanding, bundle of minor cleanup / fixes
2021-06-02 16:28:39 +00:00
Grace Park
a3e36c0d6a Merge branch 'main' into localization-grace 2021-06-01 15:45:42 -07:00
Mike Surowiec
a55796928e fix: sidebar active class (#19630) 2021-05-28 12:49:31 -07:00
Mike Surowiec
2de358187c Performance testing NextJS / React (#19540)
* Remove json.parse(json.stringify( usage to improve performance
* Fix missing / duplicate keys in some renders
* Fix missing react-is dependency (only seemed to cause problems from pruning on the heroku deploy)
* Add nextjs tag to datadog-connect config when nextjs is a query param
* Fix router.asPath usage to exclude query param
* Fix styling inconsistencies noticed when testing
* Add a few tests
2021-05-27 15:17:27 -07:00
Grace Park
df318951ea Merge branch 'main' of https://github.com/github/docs-internal into localization-grace 2021-05-27 09:46:48 -07:00
Mike Surowiec
4661a36d5d feat: add alternate landing page layout (#19571) 2021-05-27 07:21:40 -07:00
Grace Park
d674299496 Adding React for the header notifications with mike 2021-05-26 12:47:03 -07:00
Mike Surowiec
37f73f0bb3 Heroku dev deps (#19431)
* fix: req.csrfToken doesn't always exist (e.g. 500 page)

* feat: update dockerfile and add nextjs to build

* fix: run linter

* move @babel deps -> dev deps

* move webpack looking things from deps -> dev deps

* move pa11y-ci to optional dep

* explicitly include optional deps for pa11y

* allow heroku dev deps to be installed

* fix: update postcss module

* fix: update dockerfile build

* tmp: disable renderReact

* see if another deploy is slower/faster

* move a few more packages to devDeps

* upgrade to package-lock v2

* use dayjs instead of date-fns

* move cross-env to devDeps

* remove unused 'del' package

* commit husky precommit hooks

* add hrtime to clone-for-build.js

* Revert "add hrtime to clone-for-build.js"

This reverts commit 70ee647bacce833f4ed2f621f62c63c1d85e5413.

* update babel/eslint

* fix: remove unused plugin

* try a .slugignore

* fix: heroku-postbuild to use npm run build

* fix: i cannot spell dereferenced

* add .next/cache to heroku cacheDirectories

* test cached build

* remove aws-sdk, see what breaks

* move jest-puppeteer to optional deps

* fix: update browser-test.yml to use newer node version

* move jimp to optional dependencies

* move puppeteer to optional dependencies

* fix: ci optional include

* fix: bad copy pasta

* remove previous react experiment

* update tests/README.md with note about optional deps

* bump node test version back to 14

* convert package-lock back to v1

* fix: use node 15.x to leverage npm optional deps

* fix: optional dep install

* test: see what happens with heroku/nodejs-typescript buildpack

* back to heroku/nodejs buildpack

* move jest to optional

* revert jest move

* remove .slugignore

* cleanup dockerfile, move xlsx-population to optional, add comment about optional deps

* Update Dockerfile

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-05-24 15:40:50 -07:00
Rachael Sewell
264a12dc00 remove and rename old site tree components (#19478) 2021-05-20 18:58:54 +00:00
Rachael Sewell
8b0ba71391 add number of articles to all docs list (#19456) 2021-05-20 18:51:38 +00:00
Rachael Sewell
cf965e0892 Convert to new site tree (#19450) 2021-05-20 11:35:02 -07:00