Repository navigation
Do some UI polish - #355
Conversation
Update color, decrease list item height, and use uppercase text instead of bold
Smaller avatars, smaller pizza, papa johns
Curious how this works with super duper long commit messages
|
cc @niik for 👀 and 💭 |
|
😍 |
|
@donokuda I'm sorry, I didn't get to this today. It'll be on my list for a thorough look tomorrow but for now I'll just say that of the things you listed the only thing that gives me pause is the all caps group headers. I'm really not a fan of all-caps and I would love to see if we can avoid it in TNG. If it's an osx idiom them perhaps we should look into putting it behind a conditional. Anyway, I'll think more and give better feedback in the morning |
niik
left a comment
There was a problem hiding this comment.
Great stuff @donokuda. I have a few comments in the code and two things up for discussion here.
Shadows and depth
We're primarily a flat interface and I think we should use depth to convey something rather than just as decoration. On Windows we used shadows to indicate when content was being scrolled underneath (see gif below) and I thought that worked really well.
It's probably because I'm used to the ghfw behavior but the shadows in the file list feels.. wrong, especially the shadow at the bottom
Moving the commit message to directly under the title
We talked about this at summit and it's a tricky one and I'm going back and forth on it. Putting it underneath the author line lets us keep the title and author information when scrolling, like on ghfw:
Note the shadow divider which appears when scrolling, indicating the relative depth between the controls.
What's your plan for solving it if we move it up to underneath the title? Should we make just the title be the sticky header or should we cap the height of the message and scroll that separately from the list?
| } | ||
|
|
||
| const RowHeight = 42 | ||
| const RowHeight = 28 |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| --text-color: $darkGray; | ||
| --background-color: $white; | ||
| --alt-background-color: $lightGray; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| opacity: 0.6; | ||
| padding: 0 5px 0 20px; | ||
| font-weight: bold; | ||
| text-transform: uppercase; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| list-style: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| padding: 0 10px 10px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| &-description { | ||
| font-family: var(--font-family-monospace); | ||
| font-size: 11px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| overflow: hidden; | ||
| margin: auto 0; | ||
| margin-left: 4px; | ||
| margin-left: var(--spacing); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| // See _variables.scss for documentation on the variables themselves. | ||
| --text-color: #ccc; | ||
| --font-size: 12px; | ||
| --text-color: #eee; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| // | ||
| // See _variables.scss for documentation on the variables themselves. | ||
| --text-color: #ccc; | ||
| --font-size: 12px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| width: 48px; | ||
| height: 48px; | ||
| width: 32px; | ||
| height: 32px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
I added the shadow to the header and bottom so that the list doesn't blend in if the background color of the selected list item is the same gray. I feel like the shadow for the "x files changed" div helps the affordance that this is a header for the list below. However, I don't think removing it will hinder UX. Some beautiful 1x screenshots: In the meantime, I've 🔥 the dropshadows in 60266e0 |
Yeah, I kept going back and forth on that as well. I think it's better to go with our original plan and move it between the header and list of files. The only thing I think we need is to be able to add it to the list of files. |
|
🎾 for another look and 💭 |
Yeah, I definitely see where you're coming from. This seems like a great thing to put on our list for our October design hangs. |






Did a little polish pass tightening up some spacing and tweaking some UI stuff.
Before


After




What's changed?
A lot of this is fairly subjective so I'm open to discussion if there are better ideas and approaches.