- status: New --> Started
- assigned_to: Pat Callahan
Websockets in flightgear/Network/http have several issues recently discussed on the mailing list
After extensive discussions, false starts, and a lot of investigation of the websocket code, This issue is complex enough to do the work in stages under separate tickets describing specific issues or enhancements.
This ticket will cover only one small change , but I'm including a list of the remaining ideas for future followup.
The remaining ideas should be opened under separate tickets.
For MirrorPropertyTreeWebsocket
Expand the MirrorPropertyTreeWebsocket's protocol with additional handlers
similar to those in PropertyChangeWebsocket. see: https://sourceforge.net/p/flightgear/codetickets/2850/
Allow changing the default update rate of MirrorPropertyChangeWebsocket.
4 Modify the MirrorPropertTreeWebsocket to only send changes to doubles
or floats if the change exceeds a minimum change amount.
For Phi:
Update Phi, replacing all PropertyChangeWebsockets with
MirrorPropertyTreeWebsockets.
Update Phi to be entirely reactive. Property Tree Display would
update itself; expanding a node adds listeners, and collapsing removes them.
Upgrade Mongoose to the latest version. The current version of
Mongoose contains breaking changes, so it is a complex task.
Consider alternatives to Mongoose. Knockout.js (the latest Knockout.js version
is from 2019.) and any necessary upgrades to other javascript libraries:
leaflet, jquery-ui-themes, etc.
For Simgear Props: