An opened conversation's block names another daemon's pane as its holder #77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From: #72 (M33).
An opened conversation's block says where it's open (
import.held.place) from the process's systemd scope. A scope likeillogical-pane-76-….scopecan belong to another illogical daemon on the same machine (a dev or test daemon, or the daily one seen from a dev one), and the block then says "open in pane %76" for a pane this daemon doesn't have.GET /api/conversationsalready drops pane and block ids that aren't this daemon's (list_conversationsincrates/daemon/src/api.rs). The block's own follow (refresh_importincrates/daemon/src/agent/mod.rs) doesn't: it callsIndex::live_forand keeps the ids as they are. The web client hides Go to pane for a pane it doesn't know, but the status text, the TUI's footer anddescribestill show the wrong pane.refresh_importthe daemon's pane ids (or filter where the state is built), as the list does.Fixed in main (
69d4fb4, from5beaf87). The multiplexer shares its pane and block ids with blocks, and both the list and an opened block's follow filter throughLive::ours. A scope naming another daemon's pane shows "open in a terminal (pid N)". There's a unit test for it.