Skip to content

Improve the behaviour of clicking "view in new version" button when new version doesn't have the same guide path #17

@mansona

Description

@mansona

When viewing an old guide you always see a link to "view the current guide in latest version" at the top of the page:

Screenshot 2019-03-28 at 08 35 17

If you click the link in a guide that has been deleted in the latest verison (i.e. the path is not valid any more) then you will see a 404 page error:

Screenshot 2019-03-28 at 08 37 45

Interestingly, because this is not a 404 path and just the error template clicking back in the browser does not get you out of this situation 🙈 you need to instead refresh.

Steps to recreate

Todo

  • make this experience "better" for people
    • There is a full discussion of this problem in an issue on guides-source
    • this issue probably reuquires some experimentation and discussion with the @ember-learn/learning-core-team
  • improve the experience of using the back button when this situation happens
    • this could be a guidemaker concern so might need to be done "upstream"
    • ember used to have the concept of eager transitions but it seems to have been removed in 1.12 🙈 (makes me feel old). Fixing this will require research and discussion
    • If this is too hard for now we can pull it out into a separate issue so it doesn't block the work 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions