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

Create a Shared Realtime Checklist #1

Open
23 of 24 tasks
nelsonic opened this issue Jun 5, 2019 · 3 comments
Open
23 of 24 tasks

Create a Shared Realtime Checklist #1

nelsonic opened this issue Jun 5, 2019 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@nelsonic
Copy link
Member

nelsonic commented Jun 5, 2019

Our mission is to create a shared checklist (or "Todo list" if you prefer) we can all see and update in realtime.

  • mix phx.new app

  • create schema for checklist item:

    • title
    • status
    • priority
    • time_estimate
    • deadline
    • schedule
    • assignee
    • owner
  • add a few records

  • sort by priority

Status

  • use ecto_enum https://github.com/gjaldon/ecto_enum for status to only allow a set of options:

    • unassigned - the task is created but nobody is assigned to work on it.
    • assigned - assigned to a specific person but they are not yet working on it
    • in_progress - assignee is working on the task
    • awaiting_review - person who worked on the task assigned it back to the owner for review
    • in_review - owner (or "QA") is reviewing the task for completion
    • complete - owner marked as complete
    • dependent - dependent on another task or person
    • blocked - progress cannot continue BLOCKED: How do I denote the "urgency" and "importance" of an issue beyond "priority-1"? labels#87
  • display the status as a dropdown

  • apply status :assigned if assignee is set

Channel #5

  • create channel for sending realtime updates to connected viewers
@nelsonic nelsonic added enhancement New feature or request good first issue Good for newcomers labels Jun 5, 2019
nelsonic added a commit that referenced this issue Jun 5, 2019
@RobStallion
Copy link
Member

RobStallion commented Jun 5, 2019

mix phx.gen.html Ctx Todo todos title:string status:string priority:integer time_estimate:integer deadline:naive_datetime schedule:naive_datetime assignee:string owner:string

The above command generates the schema as well as the migration and default html for a site (and tests 🎉 ).

@nelsonic
Copy link
Member Author

nelsonic commented Jun 5, 2019

image

we need a pre-defined list of the status ... going to use ecto_enum

@RobStallion
Copy link
Member

@nelsonic I have used ecto_enum before here. Thought it might come in handy for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants