Skip to content

dartdoc html causes user to lose context when navigating #1288

@tvolkert

Description

@tvolkert

Steps to reproduce

Expected behavior

You expect to keep your navigation context as a visual anchor of where you are in the site.

Actual behavior

Since the page doesn't use frames, the whole page is reloaded. Further, the constants, typedefs, and classes now like on the left side of the page, where they were on the right before. I'm no usability expert, but I find this totally jarring as a user (still to this day, even after having used Dartdoc for over a year).

Suggestion

We should take a page from Javadoc, which I think got this one right. The listing of your packages should stay in a constant location, as should the listing of your constants-typedefs-classes-etc. I think html iframes is probably the way to go with this, but there may be others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-web-designSomething a web designer interested in helping could do.customer-flutterIssues originating from important to Flutter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions