viasat-location-tracking / rtls_server Goto Github PK
View Code? Open in Web Editor NEWA Real-Time Locating System web app, converting raw position data into a user-friendly UI
A Real-Time Locating System web app, converting raw position data into a user-friendly UI
Is your feature request related to a problem? Please describe.
The map data is currently fetched by each client in the form of individual HTTP Get requests several times per second. This clutters up the network request log in the browser and also is not a very clean way of implementing constantly changing data.
Describe the solution you'd like
Sending the data via persistent websockets using Channels would be a cleaner way to get the map data from the server to the client. It would also allow for continuously updating maps, rather than maps that update every x milliseconds (based on the setInterval() parameters for the AJAX request.)
Describe alternatives you've considered
The alternative would be the current solution, which involves each client polling the server every x milliseconds for new map data.
Describe the bug
On the mainline page, if you try to send a tag to the clinic that never got a serial number assignment on the Tag Assignment page, the AJAX request will return a 500 error (visible in the browser console). These tags show up as "S/N not found" in the "Send to Clinic" dropdown.
To Reproduce
Expected behavior
The user should either:
A. Receive an error message stating that the selected tag needs to be assigned a serial number first, or
B. Not be able to initiate such a request for a non-assigned tag in the first place, or
C. Be able to send the tag anyway, possibly with a warning that the tag is not assigned.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.