Skip to content

Changing Pages Causes Full Page Refresh #428

@thehabes

Description

@thehabes

SPA-style Navigation

The page selector component used in /annotator and the tpen-project-header page turnery currently cause a full page reload on navigation via location.href. For a smoother user experience in the future, consider implementing SPA-style navigation:

Listen for a page-selected event and do the following:

  • Update the URL via history.pushState() instead of location.href
  • Fetch new page data dynamically
  • Re-render the annotations without a full page reload

This would require architectural changes to support dynamic page loading in related components and interfaces, but would significantly improve the UX for users navigating between pages frequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions