You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is now possible to register multiple view plugins for the same neurodata type, with one of them being explicitly tagged as the default view. Then it appears like this:
So the user can select multiple views to see them in the same tab, or open just the default view, or just an optional view. There's a lot more flexibility this way.
Here's the relevant section of the code for registering the default and optional view plugins:
neurodataType: 'LabeledEvents',// hi-jacking this type for now
defaultForNeurodataType: true,
component: HelloWorldView// see ./HelloWorld/HelloWorldView.tsx
})
// See https://flatironinstitute.github.io/neurosift/#/nwb?url=https://dandiarchive.s3.amazonaws.com/blobs/8cf/38e/8cf38e36-6cd8-4c10-9d74-c2e6be70f019
// for an example that has a LabeledEvents object inside processing/behavior
This addresses #75
It is now possible to register multiple view plugins for the same neurodata type, with one of them being explicitly tagged as the default view. Then it appears like this:
So the user can select multiple views to see them in the same tab, or open just the default view, or just an optional view. There's a lot more flexibility this way.
Here's the relevant section of the code for registering the default and optional view plugins:
neurosift/gui/src/pages/NwbPage/viewPlugins/viewPlugins.ts
Lines 35 to 150 in d58436d
The text was updated successfully, but these errors were encountered: