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 commit labels overlap, not legible #3080

Closed
paularmstrong opened this issue May 29, 2022 · 0 comments · Fixed by #3113
Closed

gitGraph commit labels overlap, not legible #3080

paularmstrong opened this issue May 29, 2022 · 0 comments · Fixed by #3113

Comments

@paularmstrong
Copy link

paularmstrong commented May 29, 2022

Describe the bug
When providing gitGraph commit IDs and wanting something more human-readable, eg the commit title, the text will overlap:

To Reproduce
Steps to reproduce the behavior:

  1. See screenshots and code samples
    Expected behavior
    Labels should avoid each other, either be separated vertically, or rotated 45deg

Screenshots
Screen Shot 2022-05-29 at 8 07 41 AM

Code Sample

gitGraph
  commit id: "feat(api): ..."
  commit id: "fix(client): ..."
  commit id: "feat(modules): ..."
  commit id: "test(client): ..."
  commit id: "fix(api): ..."
  commit id: "ci: ..."
gitGraph
  commit id: "feat(api): ..."
  commit id: "fix(client): ..."
  commit id: "feat(modules): ..."
  commit id: "test(client): ..."
  commit id: "fix(api): ..."
  commit id: "ci: ..."

Or for the use case that you want to use longer/full SHAs:

gitGraph
  commit id: "75f7219e83b321cd3fdde7dcf83bc7c1000a6828"
  commit id: "0db4784daf82736dec4569e0dc92980d328c1f2e"
  commit id: "7067e9973f9eaa6cd4a4b723c506d1eab598e83e"
  commit id: "66972321ad6c199013b5b31f03b3a86fa3f9817d"
gitGraph
  commit id: "75f7219e83b321cd3fdde7dcf83bc7c1000a6828"
  commit id: "0db4784daf82736dec4569e0dc92980d328c1f2e"
  commit id: "7067e9973f9eaa6cd4a4b723c506d1eab598e83e"
  commit id: "66972321ad6c199013b5b31f03b3a86fa3f9817d"

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@paularmstrong paularmstrong added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels May 29, 2022
@paularmstrong paularmstrong changed the title gitGraph commit labels overlap each other gitGraph commit labels overlap, not legible May 29, 2022
@ashishjain0512 ashishjain0512 self-assigned this Jun 7, 2022
@ashishjain0512 ashishjain0512 added Type: Enhancement New feature or request Area: Development Graph: Git Status: In progress and removed Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels Jun 7, 2022
ashishjain0512 added a commit that referenced this issue Jun 7, 2022
@knsv knsv closed this as completed in #3113 Jun 7, 2022
knsv added a commit that referenced this issue Jun 7, 2022
#3080 Adding rotated commit label functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants