universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

UV4? Redux all the things

Open tomcrane opened this issue 6 years ago • 5 comments

....to be refined, please!

tomcrane avatar Mar 21 '18 13:03 tomcrane

https://github.com/UniversalViewer/universalviewer/projects/5#card-7223978

tomcrane avatar Mar 21 '18 16:03 tomcrane

Have proposed creating iiif-commons/iiif-redux on the IIIF softwaredevs slack channel. This should be a community effort that allows for viewer-role-only state management that can be extended via combineReducers to more sophisticated use cases like content authoring.

The UV would replace its current pubsub system that uses https://github.com/edsilv/jquery-tiny-pubsub with a redux store inside manifold. Events like CANVASINDEX_CHANGED would no longer be emitted within the UV - rather an action would be called on the external redux store which would trigger an event listened for in the UV.

edsilv avatar Mar 29 '18 10:03 edsilv

Will need to categorise https://github.com/UniversalViewer/universalviewer/blob/master/src/modules/uv-shared-module/BaseEvents.ts into generic IIIF events and UV-specific events. The UV could extend the generic IIIF store.

edsilv avatar Mar 29 '18 10:03 edsilv

All issues will be triaged for further investigation or closure by the 28 September 2023. If your issue is still relevant and would like for it be investigated further please comment by 14 September 2023.

LlGC-szw avatar Aug 25 '23 11:08 LlGC-szw

@edsilv, is this still work in progress, or is this something we should close or clarify? I'll mark as active until you have a chance to answer.

demiankatz avatar Nov 15 '23 15:11 demiankatz