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

Define item as task or note #53

Open
2 tasks
SimonLab opened this issue Apr 17, 2020 · 2 comments
Open
2 tasks

Define item as task or note #53

SimonLab opened this issue Apr 17, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request in-progress T2h

Comments

@SimonLab
Copy link
Member

ref: dwyl/app#266 (comment)

an Item can be either a task or a note at the moment. This is represented on the api side with the field task which can be true/false.

  • Create the elm structure (udpate encoder decoder for the capture) and make sure the change are applied with the API
  • Update the UI to allow user to toggle between task and note
@SimonLab SimonLab self-assigned this Apr 17, 2020
@SimonLab SimonLab added enhancement New feature or request T2h in-progress labels Apr 17, 2020
@SimonLab
Copy link
Member Author

I'm currently using the radioRow function to allow the user to select the type for the item and to test the API save the changes.
image

@nelsonic
Copy link
Member

@SimonLab I don't know if you have seen https://github.com/dwyl/app-mvp-phoenix#schema
But the whole idea of having item_tags is so that we can have an unlimited variety of categorisation for our items. So an item can be a task or note (or anything else) without having to add additional fields/columns to the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in-progress T2h
Projects
None yet
Development

No branches or pull requests

2 participants