while the migration was underway, we worked on some basically functional UIs for commit log/listing views. there are four major types of views:
- global: http://drupal.org/commitlog
- per-user: http://drupal.org/user/146719/track/code
- per-project: http://drupal.org/node/3060/commits
- individual commit: http://drupal.org/commitlog/commit/2572/d39329fc3bb67c12cb62bbc199e84fcd...
sarah_p did a valiant job working on these, but since we're doing a wider revisiting of the UI, i thought i might raise this as something worthy of consolidated attention. i would *love* it if someone wanted to tackle coming up with a modern, nifty UI for all the data we have about these git activities. that includes the form of the listing itself, but i would also say that consideration about how the navigational UI managing it is in scope, if need be/desired. by that i mean...
this is all also relevant to discussions about how the issue queues should look, as there should be visual consistency across how a commit is shown there and how it's shown in more general listings.
note - the global one matters the least. really, it'd almost be better to disable it entirely...so we can kinda ignore it, although there's so much shared between the views that it's probably worth it to just consider it together with the others.
note that this is completely separate from the repoviewer (where we actually show code IN the repository) - this is just about how we show commit histories.
Comment | File | Size | Author |
---|---|---|---|
#17 | Commit_messages___drupal_org.png | 21.31 KB | LewisNyman |
github.commit.view_.png | 150.01 KB | sdboyer |
Comments
Comment #0.0
sdboyer CreditAttribution: sdboyer commentedfix image
Comment #1
sdboyer CreditAttribution: sdboyer commentedif there's interest in/time for picking this up, i will happily give interested parties a tour of the way we assemble all these views and put them into place - there are some nontrivial complications and layers to it.
Comment #1.0
sdboyer CreditAttribution: sdboyer commentedfix image...again
Comment #2
eliza411 CreditAttribution: eliza411 commentedTagging and putting in the proper queue
Comment #3
LewisNymanSam feel free to jump in and correct me here:
Design objectives
Comment #4
LewisNymanHere's the list of information given for each commit.
Comment #5
LewisNymanHad a chance to go over the commit information with Marco.
Here's a first draft of a new structure and emphasis based on drupal.org/commitlog. View it here.
Comment #6
eliza411 CreditAttribution: eliza411 commentedThis helps me see the important information more quickly.
How will the right-hand links work? I'm guessing they'll take me to the commit log of the specific branch listed when they're fully implemented. When there are two labels, does that mean that the commit was also tagged?
So glad to have you looking at this :)
Comment #7
webchickNice! Some feedback.
Here's the visual order of importance, at least how I use the commit log. Others might have differing feedback.
1) What project is this? That contextualizes everything that follows, and I can easily say "meh, i don't care" and quickly skip to the next one.
2) The commit message. What was actually committed? This is the second most important thing, and everything else is way less important.
2.5) The diffstat, which got removed sometime in the past several months. That can also give an indication of how closely to pay attention to a given commit as a big diff stat = "Woah, lots of stuff" and a little one = "Meh."
3) Who did the committing? This helps me understand if I need to inspect it carefully or if it's a "Oh, merlinofchaos has got this, no need."
4) Where did they do it? (What branch[es]?) Helps me debug if something shows up one place but not another.
5) When was it committed? (Note that this is usually not that relevant; I'm usually only interested in the top 1-2 commits when I look on this page because I'm trying to troubleshoot something, or else I'm trying to get an idea of module activity, but that was already on the maintainers block on the project page before this)
6) Other info: e.g. the commit hash which I never use except as a link to gitweb where I can see the details.
Here's how the current layout scans:
As you can see, my eyeball currently has to skip all over the place to find the information. So +1 to finding a more streamlined way of presenting it.
Now let's contrast that with your mocks:
I love that the project name (most important thing) stands on its own and the date has a lot less promimence (also the "X time ago" makes a lot more sense than a specific date that needs math done on it). I dislike having to bounce my eyeball inward in order to get the second most important piece of information, so I would get rid of the indentation there (the
<code>
tags also helped visually set it apart before to make for easy scanning and losing those feels weird, but it might just be one of those things that takes some getting used to). I do not understand why the branch the commit was made on is so visually separated away from the rest of the information, when it's pretty important. If anything, I'd move the commit hash to the far right like github does in that mock, since that's the least valuable piece of information since it means absolutely nothing on its own. It'd also be nice to see a diffstat here, though I notice Github doesn't seem to show those anymore. Hm.Comment #8
LewisNymanGreat feedback! Here's V2
I'll tackle a few more issues in the next iteration. Let's keep things fast and light shall we?
Changes:
Comment #9
LewisNymanComment #10
eliza411 CreditAttribution: eliza411 commentedAs a site builder, I care most about the project name and the commit message, too. After that, I care about the branch on which a commit has been made (Am I using that branch?) and when it happened (Was it included in the tarball I installed?). I don't care as much about who made the commit or how much or little code changed since my focus in on what functionality or fix is available (not that I would mind a diffstat, of course).
I really appreciated the formatting of the branches in the first version, although on a large monitor they were awfully far from the rest of the text. (fwiw, the ability to filter by branch is something I would use.)
I preferred the syntax of the first version, too. "Someone authored commit 6423AE an hour ago" was easy for me to scan and because of where the commit hash appears syntactically, even without knowing what it means, I can infer from the context that clicking it will give me more detailed information, whereas on the far right I don't get that. Over there, it's just an unlabeled string of characters floating around.
Comment #11
sunIn any case, let's please remove the links to the commit view on drupal.org itself. Why would I want to view the same commit on an own page? Each time I want to see the actual commit, I've to double-check the commit link URL to make sure I end up on drupalcore.org.
Comment #12
jhodgdonmissing tag
Comment #13
tvn CreditAttribution: tvn commentedUntagging. This can be done post-upgrade.
Comment #13.0
tvn CreditAttribution: tvn commentedfixing broken image
Comment #14
mgiffordOk, it's post upgrade. Can we get to @webchick's points in #7?
Also, why is this listed as "Needs review"?
Comment #15
eliza411 CreditAttribution: eliza411 commentedIt looks to me like the issue was set to needs review because the mockup back in comment #8 needed review ... it sat for a week with no comments before the status was changed.
Comment #16
LewisNymanI'll cook up another iteration on this. I understand git a lot better since I last worked on this.
Comment #17
LewisNymanOk here's an updated version look at the rest of the comments in #7 and bearing in mind #10
http://lewisnyman.co.uk/drupalorg-commit-messages/global/index.html
Comment #18
mgiffordThat's definitely an improvement.
I have to admit that I initially was wondering where the commit id went. Afterwards it made sense. Looking at github though they definitely have more emphasis around it:
https://github.com/lewisnyman/drupalorg-commit-messages/commits/master
They really do seem to be the UI to follow as far as commits go. How would you feel about making the link to the commit id look more like a button? Maybe it's not needed.
Comment #19
Shyamala CreditAttribution: Shyamala commentedTagging +D.o UX
Comment #20
Bojhan CreditAttribution: Bojhan commentedWhy do we not use the full width?
Comment #21
LewisNyman@Bojhan What would we use it for? No one wants to read a commit message with a line length that long and it places the commit link even further away from the rest of the content.
Comment #22
mgiffordThe grey for the "less important" text will need to be darker to meet WCAG 2.0 AA.
Comment #23
Bojhan CreditAttribution: Bojhan commented@lewis could you give the contrsat issue a look? I am fine with commiting this change.
Comment #24
mgiffordThis is a good tool to check and see if you can nudge things darker/lighter.
http://webaim.org/resources/contrastchecker/
Comment #25
LewisNymanOk how about this? http://lewisnyman.co.uk/drupalorg-commit-messages/global/index.html
Looks like we're ready to implement? Any pointers on how to set up a local d.o environment?
Comment #26
mgiffordThe blue #0678BE links should be darker on that grey background. Maybe #05639d
I don't know how to set it up locally. I assume you have access to devdrupal.org
Comment #27
LewisNymanAh thanks got it - http://lewisnyman.co.uk/drupalorg-commit-messages/global/index.html
I'll need a dev environment set up I guess
Comment #28
drummAre these only CSS changes, or markup too?
For CSS, you can jump into any dev site which doesn't seem to have anyone else actively theming. You can also request a separate one, which I recommend if there are markup changes. https://drupal.org/node/1018084
Lewis - I think your access should still be good, unless your keys have changed.
Comment #29
eliza411 CreditAttribution: eliza411 commentedLewis, you're welcome to use http://eliza411-drupal.redesign.devdrupal.org/
Assign the issue below to yourself when you start, un-assign when done.
https://drupal.org/node/2169889
Comment #30
LewisNymanI'm happy to implement the prototype for reals if it's still relevant. Let's finish this!
Comment #31
mgiffordIt would be useful to know where this fits on the priority list for d.o improvements.
Thanks @LewisNyman for your work on this and offer to help finish off the prototype. It would be so nice to get this implemented.
Comment #32
YesCT CreditAttribution: YesCT commentedsome contribution credit issues have d.o profile improvements tag, and some have nothing and are easy to get lost (and not about profiles), so tagging to organize credit ones.