Skip to content

Conversation

@allison-truhlar
Copy link
Collaborator

@allison-truhlar allison-truhlar commented Dec 12, 2025

Clickup id: 86acuxatq, 86accr60r, 86accr5yg

Note: this PR only includes instructions for Napari, Python, Fiji, and VVDViewer. I separated the Java instructions into a new ticket - this snippet isn't ready yet.

This PR adds a data link usage dialog that can be accessed from the Zarr preview panel (Zarr directories only) or the properties panel (all directories). The dialog shows instructions and copy-able code snippets, organized into tabs by language. The top of the dialog always has a button to copy just the data link.

The PR also extracts two reusable dialog button components - one that is an icon button with a tooltip on hover and one that allows for text on the button (no tooltip).

@krokicki @neomorphic @cgoina

- also fixes location of the copy icon for the code blocks
- in the DataLinkUsageDialog, the copied message was not showing due to a CSS issue. However, in addressing this, I realized that this component was recreating logic from the CopyTooltip component and reworked it to use that component
@allison-truhlar allison-truhlar marked this pull request as ready for review January 22, 2026 14:24
@allison-truhlar allison-truhlar requested review from neomorphic and removed request for neomorphic January 22, 2026 14:50
@allison-truhlar allison-truhlar marked this pull request as draft January 22, 2026 15:50
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.

2 participants