Registry Mirror
Skip to content

Conversation

@texodus

@texodus texodus commented Dec 4, 2026

Copy link
Copy Markdown
Member

This PR adds support for client--disambiguation in the <perspective-viewer> API. Several loaded clients can now each host a table with the same name. Viewer configs named tables by name only, so a saveWorkspace -> restoreWorkspace round trip could move panels to the wrong client.

  • New optional client on panel configs, restore / restoreWorkspace input and derived_tables entries.
  • Only written when another loaded client hosts the same table name. Configs for unambiguous tables are unchanged, and the HTML export always omits it.
  • No new errors on this branch:
    • an unknown client logs a warning and falls back to lookup by name;
    • an ambiguous name given without client binds the first host and logs a warning;
    • a client without a table is ignored with a warning.

@texodus texodus added the enhancement Feature requests or improvements label Dec 4, 2026
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus
texodus force-pushed the client-disambiguation branch from 2676b19 to 961ad59 Compare December 4, 2026 19:38
@texodus
texodus merged commit 35802c0 into master Dec 4, 2026
19 checks passed
@texodus
texodus deleted the client-disambiguation branch December 4, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature requests or improvements

Development

Successfully merging this pull request may close these issues.

1 participant