Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upView commit details in pane #1807
Conversation
kuychaco
added some commits
Nov 21, 2018
This comment has been minimized.
This comment has been minimized.
coveralls
commented
Nov 22, 2018
•
and others
added some commits
Nov 22, 2018
and others
added some commits
Dec 6, 2018
smashwilson
referenced this pull request
Dec 7, 2018
Merged
Add a quick blurb about viewing commit details #505
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Love the gif! Would it be worth showing off the feature to toggle visibility of the commit message description when it's long? I don't have strong feelings one way or another, just thinking that it could showcase more of the value of viewing a commit in the pane (more context from the commit message) |
kuychaco
reviewed
Dec 8, 2018
|
This PR is looking great! I've finished reviewing all of the files in |
lib/views/open-commit-dialog.js Outdated
lib/models/commit.js Outdated
lib/models/commit.js Outdated
| /> | ||
| <a className="commit-sha" href={commit.commitUrl}>{commit.oid.slice(0, 8)}</a> | ||
| <p className="commit-message-headline"> | ||
| {this.props.onBranch |
This comment has been minimized.
This comment has been minimized.
kuychaco
Dec 8, 2018
Author
Member
How much more complexity would this introduce? We'll have to handle the edge case where the user hasn't pulled down commits yet and either prompt them to pull or do a pull for them... and probably other things to consider...



kuychaco commentedNov 22, 2018
•
edited by smashwilson
Description of the Change
Addresses #1655 to add pane to view the contents of a single commit.
Remaining work
CommitDetailItemby clicking on commit in recent commit historyCommitDetailItemopenCommitand opens a commit details pane item with an endless spinner. we have CSS that makes it appear unclickable, but the click handler is registered regardless of clickability...Alternate Designs
Benefits
RecentCommitsViewhighlights on hover now, the context menu may be more discoverable. (during user research for Commit Preview, it came up that having highlighting here might make the context menu more discoverable.)RecentCommitsView. (And also hopefully made the code clearer.)Possible Drawbacks
Applicable Issues
#1655
Metrics
These can help us ensure that the CommitDetailItem is discoverable and useful for users.
Test Coverage
Manual verification
RecentCommitsView:Documentation
Release Notes
The GitHub package now has a pane item that displays the contents of an individual commit.
User Experience Research (Optional)
It might be useful to do research around:
RecentCommitsViewhighlight the action item actually make context menus more discoverable? (This is something that came up during UXR for the Commit Preview feature, that needs more investigation.)Follow-on work
Optional tasks we can tackle if time permits. Otherwise, we can file them as follow-on issues.
CommitDetailItem.