Skip to content
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

UI improvements #2576

Closed
IgnatBeresnev opened this issue Jul 20, 2022 · 1 comment
Closed

UI improvements #2576

IgnatBeresnev opened this issue Jul 20, 2022 · 1 comment
Labels
enhancement An issue for a feature or an overall improvement format: html An issue/PR related to Dokka's default HTML output format

Comments

@IgnatBeresnev
Copy link
Member

IgnatBeresnev commented Jul 20, 2022

An umbrella issue for many small UI improvements that are planned for the near future. Since most of them are really small and easy to do, I think creating separate issues for each one is excessive.

Emoji statuses to keep track of progress:

  • ⌛ Not started
  • 👀 In progress / being investigated
  • ✔️ Done

Tasks:

Internal feedback:

@IgnatBeresnev
Copy link
Member Author

Pretty much all planned and major improvements have been shipped in 1.7.20, so I'm closing the issue as complete.


There are two improvements that did not make it into the release:

Enum entries should not have separate pages generated for them, should also be removed from the navigation tree

Two problems were encountered:

  1. If enum entries are removed from the navigation tree, auto-scrolling implemented in Add auto-scrolling to selected navigation item on page load #2575 fails with errors as soon as you load an entry's page, as it does not know to which element to scroll. It needs to be scrolled to the containing enum, but this logic is yet to be implemented.
  2. If no pages are generated for enum entries, it could break external documentation links, where a link leads to the enum entry page that does not exist. Moreover, if there's no page, there needs to be a way to link to a specific entry - probably with anchors.

As it requires considerably more time than anticipated, this improvement has been postponed.

Drop left column with symbol names completely! Leave only full signatures with their descriptions (see screenshot): it will fix problems with indentation & alignment

Some prototypes were implemented and it became apparent that it requires some design work as without the left column, declarations are more difficult to distinguish and tend to blend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue for a feature or an overall improvement format: html An issue/PR related to Dokka's default HTML output format
Projects
None yet
Development

No branches or pull requests

1 participant