You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a doer, I want to add a habit, giving it a brief title, reason, date to start, and whether it is public or private.
Rationale - Lets the doer keep track of a habit that they want to form. Stating the reason also reminds the doer why they should form this habit.
Story points - 8
Risk Level - High
Details - This needs a new screen for creating a habit. Text input fields are needed for the title and reason, and a Date picker for the starting date.
To be released at halfway checkpoint.
The text was updated successfully, but these errors were encountered:
Our project will follow a Model-View-ViewModel architecture as it
completely decouples the View from the Model, making our code more
testable (we'll have to do that later, and it would be painful if we
follow MVC).
This commit adds an interface for `Habit` which we'll implement as an
Entity in an SQLite database for now, but will also be implemented for
Firebase.
It also adds a `HabitRepository` class for interacting with the data
store (SQLite or Firebase). For now, it only has functions
`getAllHabits` and `insert` because this is what's relevant for
adding habits (#1).
As a doer, I want to add a habit, giving it a brief title, reason, date to start, and whether it is public or private.
Rationale - Lets the doer keep track of a habit that they want to form. Stating the reason also reminds the doer why they should form this habit.
Story points - 8
Risk Level - High
Details - This needs a new screen for creating a habit. Text input fields are needed for the title and reason, and a Date picker for the starting date.
To be released at halfway checkpoint.
The text was updated successfully, but these errors were encountered: