From a4adfd2299ba52974534ff1d066e094abc2c85fd Mon Sep 17 00:00:00 2001 From: IlyaZar Date: Sun, 20 Sep 2026 21:43:36 +0200 Subject: [PATCH] fix: place device id beside pending request name --- hosts/omarchy/models/PanelModel.js | 2 +- tests/run.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/omarchy/models/PanelModel.js b/hosts/omarchy/models/PanelModel.js index a862f95..1cdd173 100644 --- a/hosts/omarchy/models/PanelModel.js +++ b/hosts/omarchy/models/PanelModel.js @@ -273,7 +273,7 @@ function pendingDeviceRows(syncthing) { name: name, address: String(device.address || ""), shortId: shortId, - label: String(name || shortId) + " wants to connect · " + shortId + label: String(name || shortId) + " (" + shortId + ") wants to connect" }) } return rows diff --git a/tests/run.qml b/tests/run.qml index ed9f24b..9b7e8cf 100644 --- a/tests/run.qml +++ b/tests/run.qml @@ -138,7 +138,7 @@ QtObject { compare(remotes[0].label, "xps · 1 folder", "remote folder count") compare(remotes[0].connected, false, "remote connection state") var pending = PanelModel.pendingDeviceRows(service) - compare(pending[0].label, "xps wants to connect · AAAAAAA", + compare(pending[0].label, "xps (AAAAAAA) wants to connect", "incoming request label") var nearby = PanelModel.nearbyDeviceOptions(service) compare(nearby[0], { value: "", label: "Custom Device ID" },