Skip to content

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

Comments

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?

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

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.