Skip to content

Make the frontend notice when the backend was updated (so it can reload itself) #496

Open
@LukasKalbertodt

Description

@LukasKalbertodt

As Tobira is a SPA, it can easily happen that a user keeps a tab open for a long time, never reloading index.html and thus the JS files. This means, the frontend and backend can version mismatch, leading to strange API errors. It would be more elegant if the frontend would notice such an update and then either prompt the user to reload or automatically reload. I don't expect the frontend to regularly ping, but it could query the backend version in every API request that it performs anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions