thinger-io / thinger-server

Thinger.io Server Repository
MIT License
3 stars 0 forks source link

[Dashboard Screen] - Flag the widget with “thumb down” when the bucket stops receiving data for a certain period of time #8

Closed georgevbsantiago closed 1 year ago

georgevbsantiago commented 1 year ago

The “thumb down” (or “dislike”) flag (currently adopted by Thinger) is very important to identify if the panel information (in the widgets) is up to date. This prevents the user from making a decision based on data that is out of date due to some problem.

The “problem” is that the “thumb down” flag is currently only available when the widget is configured with the font “From Device Resource”.

The suggestion would be to allow the widget to set the “thumb down” flag with the font “From Data Bucket”. On the configuration screen (print below), there should be a setting to define the “thumb down” signaling. Ex: If new information is not written to the bucket after 30 minutes, signal “thumb down”.

This is a VERY important indicator for users (especially Project Users…) who are viewing the dashboard and reading and interpreting the data. By viewing the “thumb down” Project Users will know something is wrong and will interpret the data correctly. As a Developer user, you can quickly identify if there is something wrong with: 1) Data sent from the Device to the Bucket; 2) If there is a problem in NodeRed, if it is used to save data in Bucket; 3) If the browser has not updated the data (this happens frequently when waking Windows from sleep/hibernate mode); 4) If there is any problem with the user’s internet connection.

image image

georgevbsantiago commented 1 year ago

An example of how the user can be misled when interpreting dashboard information. LED widgets have as "Data Source" "From Data Bucket". Devices send data every 10 minutes to Bucket. It turns out that 2 devices were offline for more than 11 hours and stopped sending data to the bucket. Even so, the widget informs the last value sent more than 11 hours ago. It would be important to have a rule in the widget's configuration to report something wrong, such as "thumbs down" and the LED turning gray, in case the bucket does not receive data for more than 30 minutes, for example.

The lack of this functionality impairs the interpretation of the data. A simple implementation that could avoid big problems for users (our customers).

image

alvarolb commented 1 year ago

We are adding a new parameter on the Widget Settings, called "Show Offline", where you can establish a timespan, independently if the data comes from a bucket, device, property, etc.

image

Then, if the data is older than this timespan, the widget displays a disconnected icon, and its background turns red to provide noticeable clues that there is some problem with the data.

image

What do you think? I am still considering the widget background or other ways to inform the user.

georgevbsantiago commented 1 year ago

SENSATIONAL!!!!!!! This functionality is VERY IMPORTANT!!!! Thinger will give you a very good user experience!!! Some opinions:

georgevbsantiago commented 1 year ago

A suggestion:

This would be an international "offline" icon

alvarolb commented 1 year ago

I think we will start with this approach:

alarm

georgevbsantiago commented 1 year ago

Hello @alvarolb Should we close this issue? The implemented solution was very good!

alvarolb commented 1 year ago

Yes! We can close it... did you test the feature? Does it work well for you?

georgevbsantiago commented 1 year ago

So far, everything working fine.

georgevbsantiago commented 2 months ago

We are adding a new parameter on the Widget Settings, called "Show Offline", where you can establish a timespan, independently if the data comes from a bucket, device, property, etc.

image

Then, if the data is older than this timespan, the widget displays a disconnected icon, and its background turns red to provide noticeable clues that there is some problem with the data.

image

What do you think? I am still considering the widget background or other ways to inform the user.

We will evolve this idea into a watermark that prevents the user from misreading and misinterpreting the information that is still visible in the widget (although it is out of date).

New implementation suggestion: https://github.com/thinger-io/thinger-server/issues/101