TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
990 stars 309 forks source link

Live data split view interaction #7346

Open pierrephz opened 1 month ago

pierrephz commented 1 month ago

Summary

Improve the live data split view interaction.

Current Situation / Problem

On a end device or gateway screen, we have a feature that allows user to always keep an eye on the live data of that device. But the floating button to access it is not visible enough and people don't notice it.

Screenshot 2024-10-17 at 11 02 48

Why do we need this? Who uses it, and when?

This feature is used to be able to do debugging, and make some editing on devices and always have a look on the live data. It make life of the user easier since he or she doesn't have to switch page many time to check if the device receives data.

Proposed Implementation / Solution

1 - Improve the floating button visibility (see screenshot below)

Screenshot 2024-10-16 at 15 30 48

2 - Show an explanation tooltip when the user first access this page (see screenshot below)

Screenshot 2024-10-16 at 16 25 04

Contributing

Validation

Code of Conduct

pierrephz commented 1 month ago

@KrishnaIyer here is a solution to make the live data split view more accessible.

KrishnaIyer commented 1 month ago

This looks great and will definitely improve this view. Thanks

mjamescompton commented 1 month ago

@KrishnaIyer Lets think about where we would store the data that the explanation tooltip has been seen, if its just a cookie it will be annoying ask it will open for every browser.

Do we have something like last login date that could be used to hide and show this.

Do we have somewhere we can store this small bits of data for ui elements

KrishnaIyer commented 1 month ago

Yeah this setting should be in the UserConsolePreferences.

@ryaplots: Can you add the backend support for this?