Replies: 1 comment
|
Second data point for this, from the metadata side rather than the label side. I hit the same window from automation that splits a pane and then stamps it with So the same atomicity argument applies to Still open on 0.8.2 — |
Uh oh!
There was an error while loading. Please reload this page.
Summary
tab create --label Xandworkspace create --label Xboth support atomic creation-with-name.pane splitdoes not. Today, naming a freshly split pane requires a second call:vs the symmetric one-step form already available for tabs:
herdr tab create --workspace 1 --label "logs"Proposal
Add
--label <text>toherdr pane split:Behaviour identical to
splitfollowed immediately byrename— just removes the round-trip.Motivation
Scripts that bootstrap multiple panes (test runners, dev servers, log tails, sibling worker panes) currently leave a window where the new pane appears unlabeled in the sidebar between the
splitresponse and therenamecall. When several panes are spawned in a loop, several(unnamed)entries can stack up briefly until each rename lands.--labelat creation closes that window and matches the existing tab/workspace API surface.Related: #476 (Agents panel should follow
herdr pane rename) — the underlying rename plumbing already exists; this is purely a CLI ergonomics + atomicity ask.Workaround today
Two-step
split→renameworks fine, just not atomic and not symmetric with tab/workspace.All reactions