User-Configured Dynamic Initialization of Annotation Tool #286
Labels
data store
someday
Not a priority right now, but we want to keep this around to think or discuss more.
Up until this point we have initialized a few store fields in the
nuxtServerInit
function as this appeared to be the most logical place to put them, particularly with our usage of Nuxt (where other startup functions are not as publicly available).As of the latest refactor of the store, we are moving to put these hardcoded initial values directly in the
state
object definition.However, in the near future we would like to return to programmatically initializing some of these fields (i.e.
annotationDetails
) with the introduction of editable config files for the annotation tool.Below is some pseudocode as to how and where this would work.
The text was updated successfully, but these errors were encountered: