Skip to content

feat(applications): support plugin tools and instrument windows - #23

Merged
PierreRaybaut merged 7 commits into
developfrom
feat/plugin-tools
Oct 7, 2026
Merged

PierreRaybaut merged 7 commits into
developfrom
feat/plugin-tools

Conversation

@PierreRaybaut

@PierreRaybaut PierreRaybaut commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Follows #22 (merged).

DataLab-Web now supports the plugin tools of DataLab-Platform/DataLab#384, including instruments:

  • The host shim gains verbatim copies of datalab.plugin_tools, plugin_instruments and plugin_resources. dlw_plugins validates tools at activation and reports them in the plugin payload. dlw_applications launches tools and opens, previews and acquires instruments; acquisitions are added in a new group, with rollback on failure.
  • Tools are listed in the plugin's submenu of the Plugins menu of their panel, and in a Tools section of the Applications window, which now also lists tools-only plugins. Entries are disabled when the selection does not match, and the button tooltip tells what to select.
  • New floating instrument window: live view on the left (curves with a fixed Y range, or an image with a fixed color range), auto-generated settings on the right with live active states, Live and Acquire buttons. Acquired objects are selected, and the Applications window assesses the methods on them.
  • The bundled Camera and Pulse wheels are rebuilt from feat: add a scientific camera simulator tool datalab-camera-characterization#2 and feat: add an oscilloscope simulator tool datalab-pulse-characterization#2, which add a scientific camera simulator and an oscilloscope simulator.
  • Separate fix: in parameter forms, a checkbox that has only its own text no longer shows its internal field name as a label, as in DataLab Desktop.

Tests

  • Vitest: 745 passed (new tests for tool actions, the Tools section, the instrument window and the checkbox label); pytest: 362 passed, plus 17 Camera and Pulse application tests with the two simulators. Prettier, ESLint, tsc and i18n:check pass.
  • Playwright: 19 application, plugin and bundle specs pass, including the new instrument_tools.spec.ts: the oscilloscope pulse pair and the camera exposure sequence are previewed, acquired, and make the two-channel delay and photon transfer methods ready.

Docs: doc/plugins.md gets a "Tools and instruments" subsection; CHANGELOG updated; 20 French translations added.

Assisted-by: Claude Opus 5.5

@PierreRaybaut
PierreRaybaut changed the base branch from feat/application-metadata-guidance to develop October 7, 2026 18:59
@PierreRaybaut
PierreRaybaut merged commit 438fdfa into develop Oct 7, 2026
1 check passed
@PierreRaybaut
PierreRaybaut deleted the feat/plugin-tools branch October 7, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant