-
Notifications
You must be signed in to change notification settings - Fork 5
We need UX elements to expose connectivity information #19
Comments
A toggle button can be added into Postcard toolbar to show/hide console log. |
Also add button to delete doucments db here |
I have a developer interface available to help show this, but need to wire up the native console logs to the webview textarea... or will this be done with Thali logger? |
11/3 - There is an interface that is here but it needs to be wired up. |
@mattpodwysocki what I do need to get native logs in the webview textarea console. Is it just a case of making a route for thalilogger function - if so is it a stream? |
Matt is going to fire an event using socket.io which I can listen to and update the webview textarea. |
@deadlyfingers here is the way to emit both the network changed data as well as the peers: manager._emitter.on('peerAvailabilityChanged', function (peers) {
io.emit('peerAvailabilityChanged', peers); // this is a list of peers, pick peerName if you want or peerIdentifier
});
manager._emitter.on('networkChanged', function (isAvailable) {
io.emit('networkChanged', isAvailable);
}); |
@DrJukka noticed an issue while testing networkChanged on Android
|
Can we reproduce this and have logs ? |
#63 will add events to the replication manager to state when we have discovered someone and when we are connected to the. So now we need a way to expose that information in the UX so that people can quickly see if they have successfully found/connected to anyone.
The text was updated successfully, but these errors were encountered: