[x] transition updateLabel mutation calls to updateLabels and pass in arrays of updates as payload
[x] transition updateObject mutation calls to updateObjects and pass arrays of updates as payload
[x] update upstream dispatched actions in components and middlewares that trigger editLabel (e.g. labelValidated, objectLocked) to support arrays as payloads; update reducers to handle arrays and update image state accordingly
[x] update undo/redo handling
[x] transition createObject and deleteObject to createObjects and deleteObjects (and update animl-api accordingly)
[x] transition createLabel and deleteLabel to createLabels and deleteLabels (and update animl-api accordingly)
[x] update markedEmpty and markedEmptyReverted actions to support marking multiple images as empty at once
[x] update objectRemoved, labelAdded, labelRemoved actions to support multiple objects/labels
A first step towards https://github.com/tnc-ca-geo/animl-frontend/issues/25 and https://github.com/tnc-ca-geo/animl-frontend/issues/41.
TODO:
updateLabel
mutation calls toupdateLabels
and pass in arrays of updates as payloadupdateObject
mutation calls toupdateObjects
and pass arrays of updates as payloadeditLabel
(e.g.labelValidated
,objectLocked
) to support arrays as payloads; update reducers to handle arrays and update image state accordinglycreateObject
anddeleteObject
tocreateObjects
anddeleteObjects
(and update animl-api accordingly)createLabel
anddeleteLabel
tocreateLabels
anddeleteLabels
(and update animl-api accordingly)markedEmpty
andmarkedEmptyReverted
actions to support marking multiple images as empty at onceobjectRemoved
,labelAdded
,labelRemoved
actions to support multiple objects/labels