Skip to main content

Module pane_open_tab

Module pane_open_tab 

Source
Expand description

Which tab a pane.open lands in (REPORT_ACTION_RESULTS_ALWAYS_VISIBLE_ACROSS_WINDOWS_2026_10_31.md §4, step 2).

The order is: the tab_id the caller names, the tab of the split_reference_block_id it names, the origin_tab_id (the tab of the window the person acted in), and only then “the first workspace’s active tab”. A window that sends none of them is refused, so a click can’t open its pane in another window.

Functions§

resolve_open_tab 🔒
The tab a pane.open with these fields opens in.
window_open_names_a_tab 🔒
A window’s pane.open must say where it was asked from. An agent may leave it out (srv then picks its own tab); a window may not, because “the first workspace” need not be the window the person clicked in.