Skip to content

Navigate to url before GETting shadow endpoint  #6348

@Maxson52

Description

@Maxson52

Describe the problem

When navigating to another page one the client-side navigation has taken over, any shadow endpoints will be loaded before updating the URL in the browser. This makes for a less than amazing UX as it can seem like link clicks didn't register or the site is broken, especially when a shadow endpoint takes a while to load.

Describe the proposed solution

A solution could be to update the URL in the browser before executing the GET of the shadow endpoint. One (possible) downside would be the page title from <svelte:head> wouldn't update until the shadow endpoint finishes which could cause some confusion.

Alternatives considered

Just use the navigation store to show the end user that there is content being loaded.

Importance

nice to have

Additional Information

No response

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