-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Scaladoc: New UI design #15697
Scaladoc: New UI design #15697
Conversation
…tion new theme colors
…tokens-implementation typography and color tokens implementation
Sidebar menu
…ment collapsable only with arrow click
I am not sure about the spacing here. I find that there is too much space in between the members, and too much padding within each member. The text “Attributes” looks too big to me. There is an overlapping issue in the “Throws” section. Last, I don’t think we should use a monospace font for descriptions. Also, case class fields are not shown in the members' list. For comparison, this is how it looks like before the PR: And, with Scaladoc of Scala 2: |
@julienrf We already had a conversation about space between members and we decided to implement some switch with "concise" view |
On mobile, when you open the burger menu there is no way to close it. |
Anchor bug: go to https://scala3doc.virtuslab.com/pr-new-ui/scala3/api/scala/concurrent/Future.html, then click on the name |
This bug is not related to the new UI - https://dotty.epfl.ch/api/scala/quoted/Quotes.html# |
…inor h1 cut, fix images urls in mobile view
Scaladoc/concise view
In https://scala3doc.virtuslab.com/pr-new-ui/scala3/api/scala/collection/immutable/List.html the code samples are not fully visible without horizontal scrolling: |
Related to this, I've noticed that when the window is small, the width of the and when I maximize the window it gets smaller (too small): I presume that this is because of: @media (max-width: 1436px)
#content > div:first-child {
width: auto;
}
@media (max-width: 1920px)
#content > div:first-child {
width: calc(90 * var(--base-spacing)); /* this should be larger */
} I've tested @media (max-width: 1920px)
#content > div:first-child {
width: 980px; /* on Firefox it's almost the perfect value, YMMV */
} and it seemed quite good at avoiding the sudden shrinking of the central div :) |
Are all the issues which were raised in this PR planned to be addressed? Should we open new issues to track them? |
I think that if some bug wasn't addressed and is still present then we should have a separate issue for it. |
Among the multiple changes in #15697 the footer text stoped being configurable (defaulting to an EPFL copyright). This PR makes the footer text configurable again. Incidentally, this will also fix the copyright message to show 2022 (notice that the current message says 2021, while [the message defined in the build](https://github.com/lampepfl/dotty/blob/afc6ce4d2135e3532bf28146a7700d2cc4338e90/project/Build.scala#L1887) uses `$currentYear`).
Big thanks to all people involved in this initiative. Especially, I would like to thank @fanixus96 for implementing majority of these changes