rafoolin / owly Goto Github PK
View Code? Open in Web Editor NEWTask management app with Flutter and NHost
Task management app with Flutter and NHost
When we mark a task as done, all the sub-tasks(from sub_tasks
table) will get a true
value for their completed
column.
Although it would be cool that this value be saved and then if user deselect the parent task(from tasks
table), we reassign their old values again.
Store latest used email and password locally, and fill the corresponding input fields with that value to make it easier for users to log in when they're is logged out.
In categories, show/filter showing tasks of that category and group them in dates.
In case of failure, guard can not get the issue and it fails!
A Task can have several tasks or nothing(standalone one)
If a parent task is marked as done
, all the children will be marked as done as well.
For example:
Task project
has 3 other sub-tasks: write documentation
, write code
, write test
.
🟩 Project
🟩 write documentation.
🟩 write code.
🟩 write test.
We can have it like:
🟩 Project
🟩 write documentation.
✅ write code.
🟩 write test.
or
🟩 Project
🟩 write documentation.
✅ write code.
✅ write test.
And
✅ Project
✅ write documentation.
✅ write code.
✅ write test.
type | name |
---|---|
id | uuid |
user_id | uuid |
category_id | uuid |
parent_id | uuid |
title | text |
date_time | timestamp |
done_at | timestamp |
created_at | timestamp |
updated_at | timestamp |
completed | boolean |
note | text |
Add Melos for the project.
Use GraphQL code generator when gql is updated!
The views for CRUD action for categories and tasks.
A category contains X number of tasks. Category is like a type/tag, it shows of what type a task is.
Like work
indicates the tasks that are related to work.
In UI we can show/filter tasks of a the day by category, something like this:
So we save some information about the category in database.
name | type |
---|---|
id | uuid |
user_id | uuid |
create_at | datetime |
updated_at | datetime |
name | string |
color | bigint |
In order to avoid changes in sub-tasks order while adding them, it's better to sort them based on something other than name.
Also cover updating and using the full potential of the sub-task's features.
The view that shows the today's tasks!
tasks
and sub_tasks
are as follow:
type | name |
---|---|
id | uuid |
user_id | uuid |
task_id | uuid |
title | text |
created_at | timestamp |
updated_at | timestamp |
completed | boolean |
completed_at | timestamp |
due_to | time |
note | text |
index_value | int |
type | name |
---|---|
id | uuid |
category_id | uuid |
user_id | uuid |
title | text |
created_at | timestamp |
due_datetime | timestamp |
updated_at | timestamp |
completed | boolean |
due_to | timestamp |
completed_at | timestamp |
note | text |
index_value | int |
category_color | bigint |
Daily, weekly and yearly view of tasks.
let users use the app without forcing them to sign up.
Design some color schemes.
Add a free
and paid
flavors and configure the platforms.
Consider using optimisticResult
and Subscriptions
.
This should be tackled after #20.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.