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

docs(nx-dev): add blog article about new Nx TS experience #29746

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/blog/2023-10-13-nx-conf-2023-recap.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ The training program is there to tackle the bottleneck of missing knowledge, rig

Finally the impact measurement; Nx Cloud already has graphs to measure how much time got saved in CI due to the improvements made. Michael mentions they go further, also measuring communication and productivity.

An interesting part is also how they perform the repository synching (from polyrepo to monorepo). They leverage an Nx plugin that
An interesting part is also how they perform the repository syncing (from polyrepo to monorepo). They leverage an Nx plugin that

- contains shared build logic
- has rules to run that produce actionable feedback about what is needed to sync/align the polyrepo repository s.t. it can be merged into the monorepo
Expand Down
343 changes: 343 additions & 0 deletions docs/blog/2025-01-29-new-nx-experience.md

Large diffs are not rendered by default.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/blog/media/02-tssetup-newteslib.mp4
Binary file not shown.
Binary file added docs/blog/media/03-tssetup-newviteapp.mp4
Binary file not shown.
Binary file added docs/blog/media/04-tssetup-sync-tsrefs.mp4
Binary file not shown.
Binary file added docs/blog/media/08-tssetup-watching.mp4
Binary file not shown.
Binary file added docs/blog/media/animation-tsrefs-splitting.mp4
Binary file not shown.
42 changes: 31 additions & 11 deletions nx-dev/ui-markdoc/src/lib/tags/video-player.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ export const videoPlayer: Schema = {
type: 'String',
required: false,
},
showDescription: {
type: 'Boolean',
required: false,
default: false,
},
showControls: {
type: 'Boolean',
required: false,
Expand All @@ -38,38 +43,53 @@ export function VideoPlayer({
src,
alt,
link,
showDescription = false,
showControls,
autoPlay,
loop,
}: {
src: string;
alt: string;
link?: string;
showDescription?: boolean;
showControls?: boolean;
autoPlay?: boolean;
loop?: boolean;
}): JSX.Element {
return (
<div className="mb-4 overflow-x-auto">
<div className="rounded-lg border border-slate-200 bg-slate-50/50 dark:border-slate-700 dark:bg-slate-800/60">
{link ? (
<a href={link} target="_blank" rel="noreferrer">
<div
className={
showDescription && alt
? 'overflow-hidden rounded-t-lg'
: 'overflow-hidden rounded-lg'
}
>
{link ? (
<a href={link} target="_blank" rel="noreferrer">
<ClientVideo
src={src}
alt={alt}
showControls={showControls}
autoPlay={autoPlay}
loop={loop}
/>
</a>
) : (
<ClientVideo
src={src}
alt={alt}
showControls={showControls}
autoPlay={autoPlay}
loop={loop}
/>
</a>
) : (
<ClientVideo
src={src}
alt={alt}
showControls={showControls}
autoPlay={autoPlay}
loop={loop}
/>
)}
</div>
{showDescription && alt && (
<div className="py-2 text-center text-sm text-slate-600 dark:text-slate-400">
{alt}
</div>
)}
</div>
</div>
Expand Down
Loading