Suggested model structure
{
title: 'Issue title'
description: 'Issue description',
changeDate: 'Date when the issue was Last updated',
createDate: 'Date when the issue was created',
closeDate: 'Date when the issue was closed',
assignee: 'user id'
// computed
estimationTime: 'derived time from the description'
// actions
changeEstimationTime(){}
}
Links for investigation
The model should be implemented using MobX State Tree. Create file /models/domain/issue.model.js and export the model from there. I suggest to use the old documentation for MST it more clear https://github.com/mobxjs/mobx-state-tree/tree/v3.12.0
| Estimated by |
Duration |
| novicode |
4d 3h |
Suggested model structure
Links for investigation
The model should be implemented using MobX State Tree. Create file
/models/domain/issue.model.jsand export the model from there. I suggest to use the old documentation for MST it more clear https://github.com/mobxjs/mobx-state-tree/tree/v3.12.0