-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Render the git graph on the server #12333
Conversation
Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation. * This implementation provides a 16 limited color selection * The uniqued color numbers are also provided * And there is also a monochrome version * In addition is a hover highlight that allows users to highlight commits on the same flow. Signed-off-by: Andrew Thornton <art27@cantab.net>
@silverwind I used the colors provided in #10217 (comment) but I think they don't quite match up nicely as highlights of each other - should be easily fixable though. |
Issue is that 16 colors of the same lightness is too much to get proper distinction. Some hand-picked ones may be better where you can also variate the lightness on them. |
Based on those screenshots: The header could use a bit more horizontal padding so it aligns with the content below. Not sure I like the buttons, maybe try outline variants? Could probably also add some text to them too. |
Thought again about colors. Current ones are probably fine, but I'd put the green one first. |
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Signed-off-by: Andrew Thornton <art27@cantab.net>
Some suggestions in silverwind@a4a59d9 if you care to pull that in. |
Signed-off-by: Andrew Thornton <art27@cantab.net>
I think you can delete |
Signed-off-by: Andrew Thornton <art27@cantab.net>
One last suggestion: Put all git graph related styles in |
Signed-off-by: Andrew Thornton <art27@cantab.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work
conflicted. |
make lg-tm work |
Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation.
Closes #12209
Signed-off-by: Andrew Thornton art27@cantab.net
Screenshots
Color
Monochrome