Skip to content

Smarter handling of Content Library routing/browsing #5066

@bjester

Description

@bjester

This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Current behavior

When browsing the Content Library, if you open a channel's details and then click back (or close the details modal), the previous library page from which the user clicked to open the details, does a full refresh of the library results. Since loading the Content Library, or the user's search results, can take some seconds to load, this causes friction to users simply browsing the channels and taking a peek at their details. Additionally, if the user had scrolled several lengths down the results, the user is returned to the top after closing the details modal.

Desired behavior

When the user closes the details modal, either by way of the browser's back button or by clicking the X to close it, the user should be returned to the library page without it refreshing its results. Ideally, the scroll position of the page should be the same as what it was when the user clicked to open the details.

Value add

This will create a smoother, and much quicker, browsing experience for users, since they won't have to wait for repeated reload attempts after opening a channel's details.

References

URL: https://unstable.studio.learningequality.org/en/channels/#/public
Related browsing improvement: #3083

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions