-
Notifications
You must be signed in to change notification settings - Fork 6
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
Display commit and timestamp information about the file in the file view #606
Conversation
7a37241
to
44d8614
Compare
a3b7108
to
7146f77
Compare
@cchoirat If you get a chance to try this out, we would be interested in your feedback. |
is it on dev? |
Not yet, but you can test on https://sekhartest.dev.renku.ch/ |
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 left a message with suggested changes, if you don't think they are right you can dismiss them.
@vfried I think floating right doesn't help in a small screen unless the commit message is very short. I kind of prefer the 2 lines version. I would probably cut the commit message chars at a given number (60? 100?) to avoid long commit messages taking multiple lines. |
What I meant with that is that it that will give a bit more of room for code, since it would only be one line instead of 2... the throw right doesn't solve the long commit messages problem, and that's why i mention above that we need to crop it. |
Ops I see only now that you mentioned cutting down long commit messages, guess the comment was edited but I didn't refresh the page 😅 |
I'm using the "title" that comes with the commit information from gitlab. This is restricted to some number of characters (but I need to look at the code to see how many). |
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.
7146f77
to
9394a1b
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.
Lgtm now 👍
I tried a long commit message and it seems to go into the UI untouched. I would address this in the current PR, but feel free to merge it if you think the current behavior is acceptable.
https://sekhartest.dev.renku.ch/projects/lorenzo.cavazzi.tech/zurich-bikes-tutorial/files/blob/aaa.txt
9394a1b
to
f452361
Compare
I see. The |
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.
Works as advertized 🎉
f452361
to
bd38388
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.
lgtm
Well done, looks good! |
Commit hash, with link to commit in github, commit message, commit author, and commit date/time has been added to the display.
It looks like
Running on https://sekhartest.dev.renku.ch/ for testing.
Fix #487.