Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue data model #41

Open
novicode1 opened this issue Feb 14, 2020 · 0 comments
Open

Issue data model #41

novicode1 opened this issue Feb 14, 2020 · 0 comments
Assignees

Comments

@novicode1
Copy link
Contributor

novicode1 commented Feb 14, 2020

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
@novicode1 novicode1 self-assigned this Feb 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant