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

Fix #6056 allows all characters except [ and ] #6130

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mgrubb
Copy link

@mgrubb mgrubb commented Dec 12, 2024

📑 Summary

This PR expands the allowed characters for node titles to include any characters except the square brackets (i.e., [ ])

Add example in demos/architecture.html
Adds some rudimentary unit tests for architecture parser

Resolves #6056

📏 Design Decisions

This was a straight forward change to the langium grammar file to change the regex for the ARCH_TITLE definition.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added necessary unit/e2e tests.
  • 📓 have added documentation. Make sure MERMAID_RELEASE_VERSION is used for all new features.
  • 🦋 If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Add example in demos/architecture.html
Adds some rudimentary unit tests for architecture parser
Copy link

changeset-bot bot commented Dec 12, 2024

🦋 Changeset detected

Latest commit: deaf0e4

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

This PR includes changesets to release 2 packages
Name Type
@mermaid-js/parser Patch
mermaid Patch

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

Copy link

netlify bot commented Dec 12, 2024

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit deaf0e4
🔍 Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/675b5e8a72eba20007b093bd
😎 Deploy Preview https://deploy-preview-6130--mermaid-js.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 site configuration.

Copy link

pkg-pr-new bot commented Dec 12, 2024

Open in Stackblitz

npm i https://pkg.pr.new/mermaid-js/mermaid@6130
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/mermaid-zenuml@6130
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/layout-elk@6130
npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/parser@6130

commit: deaf0e4

Copy link

argos-ci bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 339 added, 339 removed, 4 failures Dec 12, 2024, 10:16 PM

@jgreywolf
Copy link
Contributor

@mgrubb Looks like there are some test failures that need to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax error when using non-alphanumeric in architecture node label
2 participants