Skip to content

Provide a way to notify UI that there is an update and the user should refresh #12

@mickmister

Description

@mickmister

This can work over web sockets. We will give developers a small snippet of js to run in their client, which will connect a ws to some service on the pi, possibly the app hosting this client. A unique deployment hash will be given to the running app during compilation and runtime, so the app can use this to distinguish the latest deployment as a new one. This hash should be passed down the websocket, and also provided on websocket reconnect. Then the js we suggest to use shows a banner when a new hash was received through the ws.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions