Skip to content

feat(nx-dev): add YouTube channel callout to courses page#34669

Merged
juristr merged 4 commits into
masterfrom
worktree-courses-youtube-callout
Mar 5, 2026
Merged

feat(nx-dev): add YouTube channel callout to courses page#34669
juristr merged 4 commits into
masterfrom
worktree-courses-youtube-callout

Conversation

@juristr
Copy link
Copy Markdown
Member

@juristr juristr commented Mar 2, 2026

Current Behavior

The courses page has a hero section with title and subtitle but no mention of the YouTube channel for one-off educational videos.

Expected Behavior

A subtle callout link with a YouTube icon appears below the hero subtitle, directing users to the Nx YouTube channel for one-off educational videos.

Related Issue(s)

N/A

@juristr juristr requested a review from a team as a code owner March 2, 2026 17:21
@juristr juristr requested a review from jaysoo March 2, 2026 17:21
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 2, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 4ea931d
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69a9ac1b3c974c0008e38f7f
😎 Deploy Preview https://deploy-preview-34669--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 2, 2026

Deploy Preview for nx-dev failed. Why did it fail? →

Name Link
🔨 Latest commit 4ea931d
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69a9ac1bc43337000872230f

@juristr juristr self-assigned this Mar 2, 2026
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Mar 2, 2026

View your CI Pipeline Execution ↗ for commit 4ea931d

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 6m 35s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3m 23s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 8s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-05 16:31:19 UTC

Comment thread nx-dev/ui-video-courses/src/lib/course-hero.tsx Outdated
@juristr juristr enabled auto-merge (squash) March 3, 2026 13:53
Copy link
Copy Markdown
Contributor

@nx-cloud nx-cloud Bot left a comment

Choose a reason for hiding this comment

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

✅ The fix from Nx Cloud was applied automatically

These changes fix the sync:check failure by adding the missing TypeScript project reference from ui-video-courses to ui-icons. When the YoutubeIcon import was added to course-hero.tsx, it created a new project dependency that required a corresponding tsconfig reference for proper build ordering and type checking.

Tip

We verified this fix by re-running nx-cloud record -- nx sync:check.

Suggested Fix changes
diff --git a/nx-dev/ui-video-courses/tsconfig.lib.json b/nx-dev/ui-video-courses/tsconfig.lib.json
index 522f164cbeb..c86125d40bf 100644
--- a/nx-dev/ui-video-courses/tsconfig.lib.json
+++ b/nx-dev/ui-video-courses/tsconfig.lib.json
@@ -23,6 +23,9 @@
   ],
   "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"],
   "references": [
+    {
+      "path": "../ui-icons/tsconfig.lib.json"
+    },
     {
       "path": "../ui-common/tsconfig.lib.json"
     },

🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.

Revert fix via Nx Cloud  

View interactive diff ↗

🎓 Learn more about Self-Healing CI on nx.dev

Co-authored-by: juristr <juristr@users.noreply.github.com>
@juristr juristr merged commit a3c5f27 into master Mar 5, 2026
20 of 24 checks passed
@juristr juristr deleted the worktree-courses-youtube-callout branch March 5, 2026 16:31
jaysoo added a commit that referenced this pull request Mar 6, 2026
The `@nx/next:build` executor generates a standalone `package.json`
at `outputPath`, which clobbers source files when building in-place
and breaks package resolution when building to a separate directory.

Switch to using the inferred `next:build` target from `@nx/next/plugin`
which runs `next build` directly in the project directory. The `build`
target now runs `next build` + sitemap generation as sequential commands
in a single target to avoid Nx output management cleaning `.next/`
between dependent tasks.

Also fixes missing `@nx/nx-dev-ui-icons` dependency in `ui-video-courses`
introduced by #34669.

Fixes DOC-418
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants