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(mermaid): No custom link handling for links in mermaid diagrams #6575

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Oct 30, 2024

This fixes clicking links in mermaid diagrams in Collectives. See the issue that gets fixed by this for a reproducer.

Fixes: nextcloud/collectives#1135

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

This fixes clicking links in mermaid diagrams in Collectives. See the
issue that gets fixed by this for a reproducer.

Fixes: nextcloud/collectives#1135

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- added bug Something isn't working 3. to review labels Oct 30, 2024
@mejo- mejo- self-assigned this Oct 30, 2024
@mejo-
Copy link
Member Author

mejo- commented Oct 30, 2024

/backport to stable30

@mejo-
Copy link
Member Author

mejo- commented Oct 30, 2024

/backport to stable29

Copy link
Contributor

@enjeck enjeck left a comment

Choose a reason for hiding this comment

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

Looks good. TIL about closest() 🤯, very cool

@mejo- mejo- merged commit 6f808ba into main Oct 30, 2024
59 of 61 checks passed
@mejo- mejo- deleted the fix/mermaid_links branch October 30, 2024 21:41
Copy link

backportbot bot commented Oct 30, 2024

The backport to stable29 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable29
git pull origin stable29

# Create the new backport branch
git checkout -b backport/6575/stable29

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 4cd57d63

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/6575/stable29

Error: Failed to push branch backport/6575/stable29: fatal: could not read Username for 'https://github.com': No such device or address


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@mejo-
Copy link
Member Author

mejo- commented Nov 4, 2024

Manual backport to stable29: #6596

@joshtrichards
Copy link
Member

TIL Text supports Mermaid diagrams. I did not realize that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

Link to website in mermaid node is not working properly
3 participants