Open jarmoza opened 1 year ago
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 30 days. We have applied the stale-issue label to indicate that this issue should be reviewed again and then either prioritized or closed.
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 30 days. We have applied the stale-issue label to indicate that this issue should be reviewed again and then either prioritized or closed.
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.