-
Notifications
You must be signed in to change notification settings - Fork 189
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 2372: Add commit to Github sidebar #2376
Fix 2372: Add commit to Github sidebar #2376
Conversation
It looks good from what I can see, just a quick question. How are you going to manage an overflow when it comes to posts with multiple commits? In this post for example, there's 6 commits in the post, and it looks like it's going to overflow at any point. We probably want to avoid it taking up too much space if possible. |
dfdae7e
to
d3b793d
Compare
a6d4a69
to
cc44b1a
Compare
cc44b1a
to
b0640b2
Compare
b0640b2
to
2ee2f05
Compare
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.
Really nice. Some small fixes and I think it's good. Do you want to squash as well?
2ee2f05
to
0db87f2
Compare
0db87f2
to
4c2d115
Compare
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.
Fantastic!
Ah, I lost the squashed commits (description) when I fixed the typo in the last squashed commit. |
4c2d115
to
19d8853
Compare
@Andrewnt219 can you rebase? @menghif can you review too please? |
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.
I agree, and I'd also check the space between sections (user info, repo, issues, commits), it's a bit inconsistent. |
5ff9b03
to
b15670b
Compare
@manekenpix @menghif I just copied data from other posts to demo, so don't mind the duplicates. I also changed to tag |
b15670b
to
c32a0a9
Compare
@menghif want to re-review? |
Looks good to me. Nice change by using |
@Andrewnt219 squash and rebase this, please, and I'll merge this! |
* add Commits * change getCommitNumber() * wrap overflow text * add space in link's title * add SHORT_SHA_LENGTH as constant * adjusted space between commits * Reset line-height of Material-UI. * Change to tag <ul> because <p> has Material-UI pre-style, and <ul> is more accurate semantically.
c32a0a9
to
5aa659e
Compare
Thanks. Once this passes CI I'll merge. |
Issue This PR Addresses
Resolve #2372
Type of Change
Description
Display commits from a post in Github sidebar.
Checklist