Skip to content

Conversation

@agoose77
Copy link
Collaborator

@agoose77 agoose77 commented Oct 8, 2025

In re-building jupyterlab-myst, I ran into problems bundling mermaid with webpack because it pulls in cytoscape which didn't bundle properly. I could dig into why that is, but it's a lot easier to just update everything (which fixed it!)

@rowanc1 why is the mermaid import async here -- is this for explicit code splitting? Otherwise, can I hoist the import to the module level?

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2025

🦋 Changeset detected

Latest commit: c987aa3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
@myst-theme/diagrams Minor
@myst-theme/site Minor
@myst-theme/providers Minor
@myst-theme/frontmatter Minor
@myst-theme/jupyter Minor
@myst-theme/styles Minor
@myst-theme/common Minor
@myst-theme/icons Minor
@myst-theme/search Minor
@myst-theme/search-minisearch Minor
@myst-theme/landing-pages Minor
@myst-theme/book Minor
@myst-theme/article Minor
myst-to-react Minor
myst-demo Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Oct 8, 2025

Deploy Preview for myst-theme ready!

Name Link
🔨 Latest commit c987aa3
🔍 Latest deploy log https://app.netlify.com/projects/myst-theme/deploys/6916ddd3c59db00009f21e55
😎 Deploy Preview https://deploy-preview-658--myst-theme.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.

@agoose77 agoose77 requested a review from rowanc1 October 8, 2025 09:45
@agoose77 agoose77 requested a review from stefanv November 12, 2025 11:06
@stefanv stefanv merged commit 17b3b1b into main Nov 14, 2025
3 checks passed
@stefanv stefanv deleted the agoose77/feat-upgrade-mermaid branch November 14, 2025 07:48
import classNames from 'classnames';
import type { Mermaid } from 'mermaid';

// Follow previous flow of importing mermaid dynamically.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, I meant to leave that in! I'm sure someone will still find this thread if needs be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants