Skip to content

Better tooltips and configuration groups - #3226

Merged
texodus merged 7 commits into
masterfrom
groups-and-tooltips
Sep 4, 2026
Merged

Better tooltips and configuration groups#3226
texodus merged 7 commits into
masterfrom
groups-and-tooltips

Conversation

@texodus

@texodus texodus commented Sep 4, 2026

Copy link
Copy Markdown
Member

This PR updates Tooltips for the @perspective-dev/viewer-charts package:

  • Tooltips use consistent formatting from the Column Settings menu's Format group (see below).
  • Tooltips now internally support tables, so labels and values are now aligned properly with conservative overflow, configurable via column_config.
  • Tooltips now project intersection target labels against their axes (which also follow the configured Format).
  • Tooltip themes work consistently and opacity is also configurable in plugin_config.


Additionally, a new ControlSpec::Group type has been added to plugin_config and columns_config APIs, which allows grouping similar config settings into collapsing panels. Panels can be shift+clicked to expand/collapse all (like in the Datagrid), and the state is persistent within the component. I reserve the option to make "closed" the default in the future if this panel becomes unwieldy, but it is still possible to add top-level components that cannot be hidden (as before).

Drive-bys

  • Fixes Int64 handling in Perspective.js #1346
  • Fixes a flakey mirror in the C++ cmake dep resolution which was decimating CI.
  • Fixed ctrl-C zombify-ing processes in the toolchain.
  • Moved ~40 tests which asserted DOM conditions to record tests.
  • Fixed default theme bleed from the Light theme.

Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus added the enhancement Feature requests or improvements label Sep 4, 2026
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus
texodus force-pushed the groups-and-tooltips branch from 1a74ae8 to 96f2d04 Compare September 4, 2026 06:30
@texodus
texodus merged commit 177ea69 into master Sep 4, 2026
18 checks passed
@texodus
texodus deleted the groups-and-tooltips branch September 4, 2026 12:41
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.

Int64 handling in Perspective.js

1 participant