Comments (13)
Cnnfiguration option on the ui-base
seems an easy middle ground here. Default should be "on" in my opinion.
from node-red-dashboard.
If I may interject, perhaps making notification configurable, allowing en/disabling and setting of notification dismiss delay, would be a better approach here. I myself and @Paul-Reed, if I recall correctly, in addition to the maintainers I’d assume, find it useful.
from node-red-dashboard.
I'm happy to add this as an example in the "Template Examples" docs, but I'm not sure I can be convinced of this being the default., or as part of core, as it would interfere with any app-bar-actions
that users define.
from node-red-dashboard.
I myself and @Paul-Reed, if I recall correctly, in addition to the maintainers I’d assume, find it useful.
In what way do you find it useful? I can see that during debugging that may have been the case, but once the comms failure notification is working correctly then the fact that the failure popup is not there means that the connection must have been restored. There is no such indication in Dashboard 1, the fact that the Connection Failed message is not shown indicates that all is well.
from node-red-dashboard.
the fact that the Connection Failed message is not shown indicates that all is well.
Good point. Notifications should logically appear as a result of an exception, in this case communication failure. That said, reconnection notification would seem more appropriate in a debugging capacity.
I do however enjoy regularly being able to see a visual indicator that my data is live, but something less intrusive like a green/red circle at top right of header could suffice.
That’s my perspective on the issue, but the final decision rests with the maintainers.
from node-red-dashboard.
That sounds like a plan :)
from node-red-dashboard.
Any thoughts on an always present circular status indicator in top right corner as an optional alternative to the notifications? Something like the one I'm using below:
from node-red-dashboard.
Ah yes, it would definitely interfere.
But what about something smaller like this? But choice is totally up to you.
from node-red-dashboard.
@cgjgh I guess the point is that given the top right side of the bar is completely configurable , it is not advisable to have anything in there at all whether small or large - for example we have custom toolbar actions extensions in there.. having said that I am also not a big fan of popup notifications at all and in fact wish we ditch any sort of popup notifications everywhere unless absolutely necessary to convey a critical state that requires user intervention or alert
from node-red-dashboard.
I agree with @nileio about not having the dot in the title bar as it would frustrate users who wanted to later personalize it.
But happy with the pop up, and as Joe suggested - making it a ui- base option.
from node-red-dashboard.
I still don't see the need for a 'reconnected' popup. D1 does not have one, the connection lost message just disappears, and I don't remember anyone ever asking for it.
from node-red-dashboard.
Not sure if anyone else has had this problem, but I’ve quite often had times where even though Dashboard was disconnected the alert didn’t show which was my reason for wanting an always present indicator. On any socket connect or disconnect event it sets a connected variable which indicator is mapped to. This has proved much more reliable than the alert, with indicator being correct 100% of the time.
But just testing the waters here, if no one else has this issue then it’s definitely not necessary to add it.
from node-red-dashboard.
I have not seen that issue. Since the disconnected was introduced then it seems to have been reliable.
from node-red-dashboard.
Related Issues (20)
- More eventhandlers for Buttons
- Line chart: first two points of 2nd and all subsequent series are not connected HOT 1
- ui-control possibile memory leak HOT 7
- Number input does not adhere to min or max range HOT 1
- Inconsistent use of msg.ui_update.title to update the label for gauge node, msg.ui_update.label is used for other nodes. HOT 1
- chart-UI graphing error if X-Axis data point limit > 50% of available data points
- Cannot drop group into empty page
- How exactly does a widget use ui_base? HOT 28
- Expose Mobile Columns in Layout Config HOT 2
- Switch: Button Type HOT 10
- Add "Timeseries" x-axis for Bar Charts HOT 1
- Re-architect node data storage to only store relevant data
- Visibility in sidebar changing after edit
- Chart node missing data after page reconnect HOT 1
- Multiple default themes HOT 3
- Gauge breaks from changing dynamic properties
- More colours for charts (and other dashboard widgets?)
- ui-chart line points missing HOT 15
- Number input node does not honor limits HOT 3
- cannot build or debug on windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard.