From 59e30b69d6799320ed76da130913a15656c33b51 Mon Sep 17 00:00:00 2001 From: Richard Unger Date: Mon, 4 Mar 2024 15:47:24 +0100 Subject: [PATCH] add a comment for TODOs in store.ts --- src/renderer/src/store.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/renderer/src/store.ts b/src/renderer/src/store.ts index fce285a..07ca8d1 100644 --- a/src/renderer/src/store.ts +++ b/src/renderer/src/store.ts @@ -243,6 +243,13 @@ export const useStore = defineStore('main', { this.connected = true this.connectedId = deviceid // TODO load profiles from device + // nanoDevicesAPI.send({ profiles: "#all" }) // request profiles + // "Default Profile", for now, is the only profile after the device + // starts up, so it is also the current (eg. 'selected') profile + // nanoDevicesAPI.send({ p: "Default Profile" }) // request Default Profile + + // TODO maybe you want to request all the profiles right now? + // or only on demand? }, device_disconnected(deviceid) { this.devices[deviceid].connected = false