-
Notifications
You must be signed in to change notification settings - Fork 0
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
Show all commits in order #62
Conversation
b453cdc
to
a90c640
Compare
@jelaniwoods Oddly I am getting "no route matches" for both https://github.com/raghubetina/ildashboard/pull/13 When I spin up a server and visit |
@raghubetina I forgot to mention the |
@jelaniwoods That was it. Excellent work so far. It looks to me like it's drawing all of the commits from across all branches in a one-dimensional history, though: Although
|
@jelaniwoods What do you think about using a library to draw the graph? I found this after a quick search: https://gitgraphjs.com/ |
@jelaniwoods As an intermediate solution before we go down a full-on graphing library road, how about drawing each branch's commits in a separate box? I think intermingling them in one history is confusing. |
@raghubetina thanks for the review!
That was kind of my intention—
It looks like I misunderstood the "Merge logs at those points" from your previous comment. I also leaned more into
I assumed that would be the next step after this one— done in a separate PR.
Do you mean only the unique commits for each branch? Is there a specific order the branches should be listed? |
@jelaniwoods Yes, I should have been more clear earlier. Sorry about that.
Not necessarily the unique commits; it could just be all the commits (the log) for each branch. How about ordering branches by time of most recent commit (descending), and then drawing its log box? So basically you already have the array of data that you need at |
Okay, I will update with those changes. |
@raghubetina I've made the changes you suggested and am ready for more review! |
@jelaniwoods When I try to review on the same app after a
|
@jelaniwoods The page is ultimately not loading for me, I get bounced with: |
d61841a
to
14456a8
Compare
14456a8
to
a67dd43
Compare
Resolves #55
Add this to your
Gemfile
andbundle
Run
Visit
/git/log
to see the graph data in JSON.Visit
/git
and scroll to the black box to see all the commits.This branch adds the following:
- Shows each commit made on every branch (similar togit log --graph
)Approach: