Skip to content

fix: internal tutorials on /tutorials landing page, lazy load ui #15616

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

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

wackerow
Copy link
Member

@wackerow wackerow commented Jun 4, 2025

Description

  • Refactor /tutorials to SSR
  • Pre-commit hook to save output of ls public/content/developers/tutorials into a json data array of all available internal tutorials.
  • Refactor tutorials page to fetch tutorials from our publicly available /content/developers/tutorials/ path instead of attempting to have Netlify read from fs at build time.

Preview link

https://deploy-preview-15616--ethereumorg.netlify.app/en/developers/tutorials

Related Issue

Fixes internal tutorials not being loaded into list of tutorials on https://ethereum.org/en/developers/tutorials

@github-actions github-actions bot added the config ⚙️ Changes to configuration files label Jun 4, 2025
Copy link

netlify bot commented Jun 4, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 385f66c
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/685b5e9a384e220008cc0830
😎 Deploy Preview https://deploy-preview-15616--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 42 (🔴 down 16 from production)
Accessibility: 95 (🟢 up 1 from production)
Best Practices: 91 (🔴 down 8 from production)
SEO: 99 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the tooling 🔧 Changes related to tooling of the project label Jun 6, 2025
wackerow added 2 commits June 24, 2025 09:36
Tutorials are publicly served at URL/content/developers/tutorials/<name>/index.md in production. Netlify to generate appropriate /tutorials landing page based on committed list of tutorials from local fs.
Quickly logs output of `ls` to .json file with list of available nested /tutorials folders
@github-actions github-actions bot added the dependencies 📦 Changes related to project dependencies label Jun 24, 2025
@wackerow wackerow changed the title [debug] fix: tutorial availability to Netlify at build fix: internal tutorials on /tutorials landing page, lazy load ui Jun 24, 2025
@wackerow wackerow marked this pull request as ready for review June 24, 2025 23:07
avoids footer components flashing on larger screens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config ⚙️ Changes to configuration files dependencies 📦 Changes related to project dependencies tooling 🔧 Changes related to tooling of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant