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

gitGraph with customized branch name does not work sometimes #6292

Open
wasphin opened this issue Feb 17, 2025 · 0 comments
Open

gitGraph with customized branch name does not work sometimes #6292

wasphin opened this issue Feb 17, 2025 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@wasphin
Copy link

wasphin commented Feb 17, 2025

Description

gitGraph with customized branch name does not work sometimes.

Steps to reproduce

  1. open editor with play ground mode;

  2. enter code bellow(with customized branch name):

  3. it works well, then duplicate the link, or copy manually, https://www.mermaidchart.com/play?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=teams_D#pako:eNp1UL1ugzAQfpWTJeSlQaRqF8Z2yBL1CVgOuGCrtknNkVZCvHs5TKqmajzZ331_50k1fUuqVFk22WC5hEm7vjvShZwuQbdUj51-AM2GPAlS40ACdJYPEc9Gi2Qw_edLxNAYGhaA40gLRdDX3nvLR6xXv23g0YZEf8Pk6nFgiuJ7xojOkUvCq9s8w5xlVajCNbcKsJxmZYFtS6iULFApIcmoXgPgRMhjpF1RFPvfmtv79jLUvPcjQ6pz4xPJ0bL67il_zh_TxFPs6G7AVkrgEuQrmkUOJ_slFe_QPhCYBk4sYOxkdFkj8_2P7r-Wqcufkmr-Bh5_mcw

  4. refresh the page, it will not work sometimes.

Screenshots

Image

Code Sample

%%{init: {'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel': true, 'mainBranchName': 'master', 'parallelCommits': true}} }%%

gitGraph
    commit id: "init"

    branch feature-0001
    commit
    commit

    checkout master
    branch release-4.5.2
    merge feature-0001
    commit id: "0001: showcase fix"
    commit id: "0001: qa test fix" tag: "v4.5.2.1"
    checkout master
    merge release-4.5.2

Setup

  • Mermaid version: online
  • Browser and Version: [Chrome(133.0.6943.98)]

Suggested Solutions

No response

Additional Context

No response

@wasphin wasphin added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant