Skip to content

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Oct 28, 2025

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Oct 28, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 28, 2025

vite-css-base-ui-example

pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/react@3080
pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/utils@3080

commit: 909372a

@mui-bot
Copy link

mui-bot commented Oct 28, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link

netlify bot commented Oct 28, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit cbbcf50
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6900f044b2a5af00084b6768
😎 Deploy Preview https://deploy-preview-3080--base-ui.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

netlify bot commented Oct 28, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 909372a
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69024939c86db5000878922b
😎 Deploy Preview https://deploy-preview-3080--base-ui.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.

@Janpot Janpot marked this pull request as ready for review October 29, 2025 18:11
@Janpot Janpot requested a review from a team October 29, 2025 18:11
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

Works nicely, great work. 👍
One slight drawback is that local/dev assertion time is significantly longer, but I don't see how we could improve it. 🤷

@Janpot
Copy link
Member Author

Janpot commented Oct 30, 2025

One slight drawback is that local/dev assertion time is significantly longer, but I don't see how we could improve it. 🤷

What do you mean with local/dev assertion time? The crawler runs in under 3 seconds, and only during docs:build.

@LukasTy
Copy link
Member

LukasTy commented Oct 30, 2025

What do you mean with local/dev assertion time? The crawler runs in under 3 seconds, and only during docs:build.

Crawler, yes, but the app needs to be built before running it.
On base-ui, it's not very problematic as build completes in <30s (at least on my machine), but on bigger projects, it might be slightly annoying.
To clarify, I'm referring to the difference, that currently broken link check could be run on demand, without building the documentation site. 😉
But in any case, the added security is worth the tradeoff. 👌

@Janpot
Copy link
Member Author

Janpot commented Oct 30, 2025

Right, to note that the crawler could be easily run against your running dev version. Albeit by altering the script a bit (remove startCommand and repoint host to your local instance)

But in any case, the added security is worth the tradeoff.

The improvement is in covering more ground, not just links in the markdown files but anything on the site will be checked. I can see though how it causes more friction for a certain class of links. Perhaps we need to retain both checks?

@LukasTy
Copy link
Member

LukasTy commented Oct 30, 2025

Right, to note that the crawler could be easily run against your running dev version. Albeit by altering the script a bit (remove startCommand and repoint host to your local instance)

But the development version doesn't have pre-rendered pages; I'm not sure if there is room for improvement here. 🤷

The improvement is in covering more ground, not just links in the markdown files but anything on the site will be checked. I can see though how it causes more friction for a certain class of links. Perhaps we need to retain both checks?

I'm not sure if this is relevant for the size of the base-ui repo.
Besides, the feedback cycle should be relatively quick as it runs on Netlify.
One minor gripe, that assertions are tied to the deployment pipeline. 🙈

@Janpot
Copy link
Member Author

Janpot commented Oct 30, 2025

One minor gripe, that assertions are tied to the deployment pipeline. 🙈

Yeah, I agree, but it has reasons:

  1. it's the place where we're really doing a full build of the docs (markdown generation and all *)
  2. it gives us the opportunity, like we do for core/X, to add a static file describing all available targets. This allows us to check all core links on X, and all X links on core without having to crawl external content.

* markdown link crawling isn't there yet, but planned

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: out-of-date The pull request has merge conflicts and can't be merged. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants