-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Class hierarchy is displayed but interface hierarchy is not displayed in dartdoc #1466
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
Comments
Added Triaged label. |
Removed Area-Site label. |
I'd like to do better here, but doing good UI design for this is hard. The superinterfaces of an interface is an arbitrary digraph, so we'll have to spend some time figuring out how to display that. Added this to the Later milestone. |
Removed the owner. |
to fix in the next generation dartdoc viewer. cc @jmesserly. |
This comment was originally written by [email protected] Marked this as being blocked by #8857. |
Set owner to @efortuna. |
cc @alan-knight. |
Removed this from the M7 milestone. |
Set owner to @alan-knight. |
Added old-dartdoc label. |
New dartdoc doesn't display a hierarchy at all, but you can see who the class implements and follow the hierarchy yourself. Added Fixed label. |
Class hierarchy is displayed but interface hierarchy is not displayed in dartdoc
This makes it hard to tell that the hierarchy is
EventTarget > Node > Element > InputElement
etc.
This is critical to make the HTML docs look more readable as dart:dom and dart:html should only have public classes and not interfaces.
For cases with multiple parent interfaces, something like this could be ok:
Collection > List
> ElementList
EventTarget > Node > Element /
Perhaps render the nice tree of parent interfaces using Canvas or SVG :)
Anyway, most DOM classes will have a trivial linear list of parent interfaces so the ui that already works for classes can be used.
The text was updated successfully, but these errors were encountered: