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

Comment tree lines #400

Merged
merged 7 commits into from Sep 26, 2017

Conversation

Projects
None yet
4 participants
@talklittle
Contributor

talklittle commented Sep 25, 2017

ref #189

Based on mockup https://i.imgur.com/677PsUV.png from #233

Current result (tested on Firefox / Ubuntu desktop only):

Updated with narrower indentation

lobsters-comment-tree-lines-2

Previous screenshot

@xcombelle

This comment has been minimized.

Show comment
Hide comment
@xcombelle

xcombelle Sep 25, 2017

the arrow space is too large at first sight. half of the space should be good

xcombelle commented Sep 25, 2017

the arrow space is too large at first sight. half of the space should be good

@colindean

This comment has been minimized.

Show comment
Hide comment
@colindean

colindean Sep 25, 2017

What if there was a subtle color difference in each level of the thread?

image

Each top comment gets a different color than the thread before or after it, maybe choosing out of seven or eight colors. Subthreads get a variation on that color or a different color altogether so that it's possible to tell when a subthread has ended based on the color, too.

colindean commented Sep 25, 2017

What if there was a subtle color difference in each level of the thread?

image

Each top comment gets a different color than the thread before or after it, maybe choosing out of seven or eight colors. Subthreads get a variation on that color or a different color altogether so that it's possible to tell when a subthread has ended based on the color, too.

@talklittle

This comment has been minimized.

Show comment
Hide comment
@talklittle

talklittle Sep 25, 2017

Contributor

@xcombelle Good point, I narrowed the indentation back to the original width. See updated screenshot.

@colindean Copying my comment here for completeness

If we agree that color-coding is an improvement, there's still a debate whether the colors should be per top-level comment (vertical rainbow), or the color should indicate the depth of the comment (horizontal rainbow).

So I think it's best to do that in a future pull request after some more thought and experimentation.

Contributor

talklittle commented Sep 25, 2017

@xcombelle Good point, I narrowed the indentation back to the original width. See updated screenshot.

@colindean Copying my comment here for completeness

If we agree that color-coding is an improvement, there's still a debate whether the colors should be per top-level comment (vertical rainbow), or the color should indicate the depth of the comment (horizontal rainbow).

So I think it's best to do that in a future pull request after some more thought and experimentation.

@colindean

This comment has been minimized.

Show comment
Hide comment
@colindean

colindean Sep 25, 2017

Definitely, merge it and then iterate!

colindean commented Sep 25, 2017

Definitely, merge it and then iterate!

@jcs

This comment has been minimized.

Show comment
Hide comment
@jcs

jcs Sep 25, 2017

Contributor

Thanks for tackling this. The mobile/responsive view seems broken though.

https://imgur.com/a/xVj8R

Contributor

jcs commented Sep 25, 2017

Thanks for tackling this. The mobile/responsive view seems broken though.

https://imgur.com/a/xVj8R

@talklittle

This comment has been minimized.

Show comment
Hide comment
@talklittle

talklittle Sep 26, 2017

Contributor

@jcs Thanks for catching that. I've pushed a commit to hide the tree lines on mobile. I think the addition of the top-level folder buttons and tree lines makes the comments section too cramped horizontally.

Contributor

talklittle commented Sep 26, 2017

@jcs Thanks for catching that. I've pushed a commit to hide the tree lines on mobile. I think the addition of the top-level folder buttons and tree lines makes the comments section too cramped horizontally.

@jcs jcs merged commit 9037817 into lobsters:master Sep 26, 2017

@jcs

This comment has been minimized.

Show comment
Hide comment
@jcs

jcs Sep 26, 2017

Contributor

I backed this out locally, there's still some bugs to work out.

In this shot you can see at the bottom, the vertical line doesn't continue through the three posts under angersock's. Same in this one missing a line between tedu and SeanTAllen. Also, the top-level collapse box no longer lines up under the '24' at the very top. It would be nice to preserve that alignment if possible.

Contributor

jcs commented Sep 26, 2017

I backed this out locally, there's still some bugs to work out.

In this shot you can see at the bottom, the vertical line doesn't continue through the three posts under angersock's. Same in this one missing a line between tedu and SeanTAllen. Also, the top-level collapse box no longer lines up under the '24' at the very top. It would be nice to preserve that alignment if possible.

@talklittle talklittle referenced this pull request Sep 26, 2017

Closed

Fix comment tree lines #401

jcs added a commit that referenced this pull request Sep 26, 2017

Comment tree lines (#400)
* comments: move folder button to left of vote arrow

* comments: monospace and lighten folder button

* comments: show parent-child and sibling tree lines

* comments: offset tree line for downvote arrow

* comments: extend tree line if no score

* comments: narrow tree indentation to prior width

* comments: hide tree lines on mobile

jcs added a commit that referenced this pull request Sep 26, 2017

Comment tree lines (#400)
* comments: move folder button to left of vote arrow

* comments: monospace and lighten folder button

* comments: show parent-child and sibling tree lines

* comments: offset tree line for downvote arrow

* comments: extend tree line if no score

* comments: narrow tree indentation to prior width

* comments: hide tree lines on mobile

jcs added a commit that referenced this pull request Sep 28, 2017

Comment tree lines (#400)
* comments: move folder button to left of vote arrow

* comments: monospace and lighten folder button

* comments: show parent-child and sibling tree lines

* comments: offset tree line for downvote arrow

* comments: extend tree line if no score

* comments: narrow tree indentation to prior width

* comments: hide tree lines on mobile

mtnygard added a commit to mtnygard/lobsters that referenced this pull request Jan 30, 2018

Comment tree lines (#400)
* comments: move folder button to left of vote arrow

* comments: monospace and lighten folder button

* comments: show parent-child and sibling tree lines

* comments: offset tree line for downvote arrow

* comments: extend tree line if no score

* comments: narrow tree indentation to prior width

* comments: hide tree lines on mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment