Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add learn content to the node.js website #6064

Merged
merged 14 commits into from
Oct 30, 2023
Merged

feat: add learn content to the node.js website #6064

merged 14 commits into from
Oct 30, 2023

Conversation

ovflowd
Copy link
Member

@ovflowd ovflowd commented Oct 28, 2023

Description

This PR introduces the Learn Pages from nodejs.dev to the current nodejs.org website. Note that these pages aim too look differently with the Website Redesign, but for now they'll look the way they are.

  • This PR introduces updates on the SideNavigation Component to support nested items
  • This PR fixes and improves some CSS styles for the content/structure of the Website (Grid Display) (tested on mobile, tablet, desktop viewports)
  • This PR removes the deprecated and duplicated guides with the new Learn pages and add redirects to the Learn pages
  • This PR updates respective navigation entries, translation keys for the new Learn Pages

Screenshots

image

image

Validation

The new Learn Pages should work and look nice.

@ovflowd ovflowd added i18n Issues/PRs related to the Website Internationalisation website redesign Issue/PR part of the Node.js Website Redesign infrastructure Issues/PRs related to the Repository Infra labels Oct 28, 2023
@ovflowd ovflowd requested review from a team as code owners October 28, 2023 14:00
@vercel
Copy link

vercel bot commented Oct 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2023 10:25am

@ovflowd ovflowd changed the title feat: sidenav support recursive items feat: add learn content to the node.js website Oct 28, 2023
@github-actions

This comment was marked as outdated.

@github-actions
Copy link

github-actions bot commented Oct 28, 2023

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟠 84 🟢 95 🟢 92 🟢 92 🔗
/en/about 🟢 100 🟢 92 🟢 92 🟢 92 🔗
/en/about/previous-releases 🟢 100 🟢 91 🟢 92 🟢 92 🔗
/en/download 🟢 100 🟢 92 🟢 92 🟢 92 🔗
/en/blog 🟢 99 🟢 92 🟢 92 🟢 92 🔗

@ovflowd
Copy link
Member Author

ovflowd commented Oct 28, 2023

cc @bmuenzenmeyer and @nodejs/nodejs-website (also if any collaborator is interested in checking this PR), note this PR is mostly a port of content from the nodejs.dev repository.

@nodejs nodejs deleted a comment from github-actions bot Oct 28, 2023
@github-actions
Copy link

github-actions bot commented Oct 28, 2023

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 95%
95.41% (333/349) 77.21% (61/79) 93.05% (67/72)

Unit Test Report

Tests Skipped Failures Errors Time
42 0 💤 0 ❌ 0 🔥 7.171s ⏱️

Copy link
Member

@canerakdas canerakdas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked desktop/tablet and mobile resolution and added a few comments 🎉

styles/old/layout/main.css Outdated Show resolved Hide resolved
styles/old/layout/main.css Outdated Show resolved Hide resolved
components/SideNavigation.tsx Outdated Show resolved Hide resolved
i18n/locales/en.json Outdated Show resolved Hide resolved
mikeesto

This comment was marked as outdated.

@bmuenzenmeyer
Copy link
Collaborator

On a desktop view the ends of lines are being cut off

I couldn't recreate this - so will be giving my 👍

@bmuenzenmeyer bmuenzenmeyer self-requested a review October 29, 2023 14:45
Copy link
Collaborator

@bmuenzenmeyer bmuenzenmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving as i know this unlocks more work and translations

Co-authored-by: canerakdas <[email protected]>
Signed-off-by: Claudio W <[email protected]>
@ovflowd

This comment was marked as outdated.

@bmuenzenmeyer
Copy link
Collaborator

I just actually read some of the content - using words like trendy are strangely editorial and I think warrant a full review.

@ovflowd
Copy link
Member Author

ovflowd commented Oct 30, 2023

I just actually read some of the content - using words like trendy are strangely editorial and I think warrant a full review.

Do you want me to wait for that audit, or can this be done in a follow-up PR?

@bmuenzenmeyer
Copy link
Collaborator

Do you want me to wait for that audit, or can this be done in a follow-up PR?

Applying https://github.com/nodejs/nodejs.org/blob/main/CONTENT_VS_CODE.md to this work, I think we should merge.

@ovflowd
Copy link
Member Author

ovflowd commented Oct 30, 2023

Do you want me to wait for that audit, or can this be done in a follow-up PR?

Applying https://github.com/nodejs/nodejs.org/blob/main/CONTENT_VS_CODE.md to this work, I think we should merge.

Right, but that doesnt impede us from self reviewing content in future PRs. Most of this content was written around 2019-2020.

@ovflowd ovflowd added this pull request to the merge queue Oct 30, 2023
Merged via the queue into main with commit c72dc04 Oct 30, 2023
15 checks passed
@ovflowd ovflowd deleted the feat/learn-pages branch October 30, 2023 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Issues/PRs related to the Website Internationalisation infrastructure Issues/PRs related to the Repository Infra website redesign Issue/PR part of the Node.js Website Redesign
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants