Add team number dialog, NT connected chip (#313)

Makes NT connection status visible from the UI
This commit is contained in:
Matt
2021-11-25 15:43:29 -05:00
committed by GitHub
parent 822811c853
commit a151f23319
9 changed files with 302 additions and 28 deletions

View File

@@ -15,6 +15,13 @@ export default new Vuex.Store({
},
state: {
backendConnected: false,
ntConnectionInfo: {
connected: false,
address: "",
clients: 0,
possibleRios: ["Loading..."],
deviceips: ["Loading..."],
},
connectedCallbacks: [],
colorPicking: false,
logsOverlay: false,
@@ -143,6 +150,8 @@ export default new Vuex.Store({
settings: set('settings'),
calibrationData: set('calibrationData'),
metrics: set('metrics'),
ntConnectionInfo: set('ntConnectionInfo'),
backendConnected: set('backendConnected'),
logString: (state, newStr) => {
const str = state.logMessages;
str.push(newStr);