aboutsummaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/modules/deckit/DeckItServicesModule.qml4
-rw-r--r--desktop/modules/deckit/DeckItServicesPage.qml2
-rw-r--r--desktop/modules/deckit/Modules.js2
3 files changed, 5 insertions, 3 deletions
diff --git a/desktop/modules/deckit/DeckItServicesModule.qml b/desktop/modules/deckit/DeckItServicesModule.qml
index 5ad3c3e..4bb3eca 100644
--- a/desktop/modules/deckit/DeckItServicesModule.qml
+++ b/desktop/modules/deckit/DeckItServicesModule.qml
@@ -22,10 +22,10 @@ Module {
group: "deck-it"
dirty: DeckIt.store.dirty
keywords: ["deck-it", "tablet", "services", "obs", "websocket", "llm", "printer", "k1c", "klipper",
- "moonraker", "build vm", "sbbuilder", "ssh"]
+ "moonraker", "build vm", "sbbuilder", "ssh", "vikunja", "todo"]
readonly property var fields: [
["obs", "host", "OBS host"], ["obs", "port", "OBS port"], ["obs", "password", "OBS password"],
- ["llm", "url", "LLM dashboard URL"], ["k1c", "url", "K1C Moonraker"], ["sbbuilder", "host", "Build VM host"]]
+ ["llm", "url", "LLM dashboard URL"], ["k1c", "url", "K1C Moonraker"], ["todo", "url", "Vikunja URL"], ["sbbuilder", "host", "Build VM host"]]
searchItems: fields.map(f => ({ text: f[2], key: f[0] + "/" + f[1] }))
function refresh() { DeckIt.reload(); }
diff --git a/desktop/modules/deckit/DeckItServicesPage.qml b/desktop/modules/deckit/DeckItServicesPage.qml
index 5ef0273..4a34f04 100644
--- a/desktop/modules/deckit/DeckItServicesPage.qml
+++ b/desktop/modules/deckit/DeckItServicesPage.qml
@@ -34,6 +34,8 @@ Column {
placeholder: "http://ip:7125"; hint: "The printer's Moonraker address, for the K1C tab. Empty: no printer." }
Setting { store: col.st; section: "xbox"; key: "client_id"; label: "Xbox client id"
placeholder: "Azure app client id"; hint: "Your Azure app registration, for the Xbox tab. Sign in on the tab." }
+ Setting { store: col.st; section: "todo"; key: "url"; label: "Vikunja URL"
+ placeholder: "http://host:3456"; hint: "For the Dashboard's todo row. Its API token goes in ~/.config/deck-it/vikunja-token. Empty: no row." }
Setting { store: col.st; section: "sbbuilder"; key: "host"; label: "Build VM host"
placeholder: col.st.placeholder("sbbuilder", "host"); hint: "ssh host alias; runs sbb-remote jobs there." }
}
diff --git a/desktop/modules/deckit/Modules.js b/desktop/modules/deckit/Modules.js
index 40a2757..48a9e79 100644
--- a/desktop/modules/deckit/Modules.js
+++ b/desktop/modules/deckit/Modules.js
@@ -17,7 +17,7 @@
var TABS = ["windows", "obs", "k1c", "assistant", "vm", "xbox"];
var NAMES = { stats: "System", music: "Music", llm: "LLM usage", tablet: "Tablet",
sbbuilder: "Build VM", actions: "Sleep with PC lock", windows: "Windows",
- obs: "OBS", k1c: "K1C printer", assistant: "Assistant", vm: "VMs", xbox: "Xbox" };
+ obs: "OBS", k1c: "K1C printer", assistant: "Assistant", vm: "VMs", xbox: "Xbox", todo: "Vikunja todos" };
function tabs(all) { return all.filter(m => TABS.includes(m)); }
function parts(all) { return all.filter(m => !TABS.includes(m)); }