daattali / oldschool-github-extension

Revert GitHub's UI back to its classic look (before the June 23, 2020 update that has a flat, rounded and more whitespaced design).
https://chrome.google.com/webstore/detail/old-school-github/blkkkhifjoiedclojflfcenbjigdajeb
MIT License
229 stars 11 forks source link

Wider comment forms #13

Closed szepeviktor closed 4 years ago

szepeviktor commented 4 years ago

Thank you for reverting some design updates.

Do you plan to make the comment form smaller again?

daattali commented 4 years ago

Was it smaller before? Please show me the difference before and after. I don't recall that being different.

szepeviktor commented 4 years ago

Current size

kép

daattali commented 4 years ago

Was it smaller before? I can see what it looks like now, but I don't have any reference to see if it was smaller before. If you can show me hwo it looked before that would help.

szepeviktor commented 4 years ago

You must know the 600px rule. It is the biggest width which can be read easily.

.container-xl {
    max-width: 970px;
}

Now the comment form is 600 px :)

kép

szepeviktor commented 4 years ago

Actually it was 700px: https://guides.github.com/features/issues/example-issue.png But I like 600 better :)

daattali commented 4 years ago

If you have away to see exactly what it looked like previously, I can look into it. From that screenshot I can't really gather too much information. For all the other work I've done here, I used waybackmachine to see exactly how things looked

szepeviktor commented 4 years ago

I used waybackmachine to see exactly how things looked

That is wise.

Yes, in the old times the comment form was exactly 700px wide

https://web.archive.org/web/20190512205747/https://github.com/Homebrew/brew/pull/1

szepeviktor commented 4 years ago

With the avatar:

.discussion-timeline {
    width: 760px;
}
daattali commented 4 years ago

That looks like the entire page layout is different, not just the style of one item. As the Limitations section in the README says, I can't reliably change the layout without inadvertedly affecting other pieces of the page. Unfortunately I don't think this will be handled here.

szepeviktor commented 4 years ago

Thank you.

Does you extension have options? Maybe it would be possible to handle this with disabled as default.

zekefarwell commented 4 years ago

I just put a max-width and margin: auto on the comment column and it looks pretty decent. It is out of alignment with the overall page width though, so I won't pursue and test this further if @daattali feels it's out of scope for this extension.

Screen Shot 2020-06-26 at 11 59 11 AM

...

Screen Shot 2020-06-26 at 11 58 25 AM
daattali commented 4 years ago

@szepeviktor That's a good idea, to introduce options so that you can choose to opt-in/out of certain features!

zekefarwell commented 4 years ago

A nice idea, but definitely would increase the maintenance burden

daattali commented 4 years ago

I don't like that the entire page's alignment changes, and not for the better, because of this. So I don't think I want to include that as a default.

But if there are opt-in options then it could be added. I opened an issue for that #16

szepeviktor commented 4 years ago

Okay.

daattali commented 4 years ago

If #16 ends up being implemented (big if), then this issue is already linked there and will be addressed