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
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
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
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
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
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
Grace Park
857fce6c47
add number for learning tracks
2021-06-09 21:39:17 -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
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
Mike Surowiec
108377b209
add more react default rendered pages, fix toc items ( #19783 )
2021-06-08 15:35:32 -07: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
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
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
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
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
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
Rachael Sewell
cf965e0892
Convert to new site tree ( #19450 )
2021-05-20 11:35:02 -07:00
Mike Surowiec
2fc3e7e403
feat: wire up remaining head data, csrf token
2021-05-19 08:27:34 -07:00
Mike Surowiec
e8b7d3b9fc
Product landing page react (pt 4) ( #19336 )
...
* start SidebarNav, enable dark mode
* wip: sidebarnav, fix primer components theme rendering
* feat: ProductSiteTree, useFeatureFlag
* feat: add new product site tree (untested)
* wire up HomepageVersionPicker, run lint
* fix: remove re-render logic, fix homepage version picker to be natural width
* fix: support css + primer/components color modes
* fix: rename categoryId -> productId
* feat: ProductSiteTree and AllArticlesProduct
* fix: cleanup warnings
* fix: use next links on ProductSiteTreeNew
* fix: use next Link on AllArticlesProduct
* fix: add tooltip to ScrollButton, remove stylesheet dependency
* feat: ProductArticlesList component
* fix: convert color_mode value from cookie when necessary
* remove comments
* replace liquid with jsx
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-05-19 02:49:51 +00:00
Mike Surowiec
e92e11888c
feat: add code examples, cleanup and minor fixes
2021-05-11 10:13:15 -07:00
Mike Surowiec
9036301ad1
feat: add CommunityExamples, enable /discussions
2021-05-11 09:10:49 -07:00