Settings

Theme

Show HN: Mermaid Studio – preview and fix broken mermaid diagrams

mdview.io

4 points by Igor_Wiwi 17 days ago · 3 comments

Reader

gus_massa 16 days ago

I found it very confusing. The step are:

1) Select/write a broken example

2) Press "Quick Fix"

3) Press "Apply" or "Source"

4) Copy the fixed code

I was very confused between 2 and 3. I expected the new code to be shown intermediately.

Have you tried changing the code immediately and adding a back button?

Feature request: Is it possible to show the differences between the broken and fixed code, something like how github shows the changes in a PR?

  • Igor_WiwiOP 13 days ago

    the idea is that Quick fix may generate > 1 candidates to choose from, this is why Apply exists. But comment is still valid, I need to improve the UX. Diff it is possible to show but I doubt it's has any interest for the user, because in the end we care how it's rendered

    • gus_massa 9 days ago

      I'm just don't like the AI to make too many changes. I want to review each one and ensure that they make sense. In particular check that the AI has not changed a label or domething important.

      I think it makes sense that the AI fix all the errors until it compiles, but I'd like highlighting to see the changes. Anyway, this is only a feature request. Most people is getting confortable trusting the AI.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection