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 graph lines for commits with >2 children #58

Merged
merged 1 commit into from
Aug 16, 2020

Conversation

taneliang
Copy link
Owner

Fixes #47.

Test Plan

Using this repository: https://github.com/24r/stack-attack-multiple-children

Git's graph:
image

Stack Attack, before this PR:
image

Stack Attack, after this PR:
image

@saphal1998
Copy link
Collaborator

This looks good to me, battle tested it on a sample repo locally, seems to work, a tiny nit though.

szoter_annotated_image
I'm not sure why there's a blank line of sorts here, can you maybe look into this as well?

@taneliang
Copy link
Owner Author

Oh that's an unrelated issue. The flexbox on the right has grown to > 4 lines, but the graph lines component on the left is hardcoded to be 4 lines tall, so we end up with a gap. I've opened #61 for it.

@taneliang taneliang merged commit 06b8c6f into master Aug 16, 2020
@taneliang taneliang deleted the eliang/fix-graph-lines branch August 16, 2020 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Graph lines for a commit with >2 children are displayed wrongly
2 participants