refly-ai / refly-ai/refly

Mermaid should support displaying rendering error syntax information to help users easily identify and resolve issues

Open
#724 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TypeScript
Stars
7.5k
Forks
729
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The proposal is to enhance the Mermaid diagramming tool by adding a feature that provides clear and detailed error messages when there are syntax errors in diagram definitions. This would help users quickly understand and fix mistakes in their diagram code, improving the overall user experience and making it easier to debug and create correct diagrams.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by locating the Mermaid rendering integration and its syntax-error handling, then define the expected error information and add coverage showing that users can identify and resolve diagram syntax problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.