Skip to content

More interactive no-data case #38

@matschaffer

Description

@matschaffer

Both @jamoross and I had the the same situation happen recently. We had airnotes that had gone offline (poor sun in my case), and had reconnected them (I moved mine indoors).

When you make this change and scan the QR code it's easy to wind up on the "no data" case since we only look at the last 8 days.

{#if noDataError}
<div class="alert">
<h4 class="alert-heading">{NO_DATA_ERROR_HEADING}</h4>
There is no data associated with this Airnote. If this is a new Airnote,
it may take several hours for your device to report its first readings.
For help setting up your Airnote, visit
<a href='https://start.airnote.live'>start.airnote.live</a>.
</div>
{/if}

It'd be great if we could have that page include a "last seen" query. Asking for the most recent time a device_urn has been seen, even since the beginning of time (2020 for the airnotes should be fine), should be quite cheap for the elasticsearch, or any data store really.

While the current point-in-time dashboard probably wouldn't make sense for a very old time span, we could maybe link off to grafana where the time selector is more present and allow people to see their old data or at least have the page open and ready to watch for new updates as the device gets started on the network again.

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