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

US 01.01.01 (UPDATED) Add Habits + visibility - 8 pts #1

Closed
cbebe opened this issue Oct 2, 2021 · 0 comments · Fixed by #28 or #86
Closed

US 01.01.01 (UPDATED) Add Habits + visibility - 8 pts #1

cbebe opened this issue Oct 2, 2021 · 0 comments · Fixed by #28 or #86
Assignees
Milestone

Comments

@cbebe
Copy link
Contributor

cbebe commented Oct 2, 2021

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.

@cbebe cbebe added this to the Sprint 1 milestone Oct 16, 2021
@cbebe cbebe self-assigned this Oct 17, 2021
cbebe added a commit that referenced this issue Oct 18, 2021
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).
@cbebe cbebe closed this as completed in #28 Oct 18, 2021
@cbebe cbebe reopened this Nov 12, 2021
@cbebe cbebe changed the title US 01.01.01 Add Habits US 01.01.01 (UPDATED) Add Habits Nov 12, 2021
@cbebe cbebe changed the title US 01.01.01 (UPDATED) Add Habits US 01.01.01 (UPDATED) Add Habits + visibility Nov 12, 2021
@cbebe cbebe changed the title US 01.01.01 (UPDATED) Add Habits + visibility US 01.01.01 (UPDATED) Add Habits + visibility - 8 pts Nov 12, 2021
@cbebe cbebe assigned ghost and cbebe and unassigned cbebe and ghost Nov 12, 2021
@CxLeo CxLeo closed this as completed in #86 Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant