Various beamline device controller components and live plot monitors rely on ophyd websocket for functionality. If we put the components in storybook without a mock device then there is no functionality and it will default to a 'device not connected' view.
Add a custom hook that recreates the functionality of useOphydSocket with pure js so components can be instantiated with it and then rendered to storybook.
Various beamline device controller components and live plot monitors rely on ophyd websocket for functionality. If we put the components in storybook without a mock device then there is no functionality and it will default to a 'device not connected' view.
Add a custom hook that recreates the functionality of useOphydSocket with pure js so components can be instantiated with it and then rendered to storybook.