-
Notifications
You must be signed in to change notification settings - Fork 249
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
Add instance status column. Implements #572 #600
Conversation
This commit adds an instance status column which indicates which instance of a task is the next one to complete. This allows to filter out the instances which come after the next one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides those small things, it looks good to me.
@@ -237,7 +237,8 @@ | |||
+ TaskContract.Instances.INSTANCE_START_SORTING + " INTEGER, " | |||
+ TaskContract.Instances.INSTANCE_DUE_SORTING + " INTEGER, " | |||
+ TaskContract.Instances.INSTANCE_DURATION + " INTEGER, " | |||
+ TaskContract.Instances.INSTANCE_ORIGINAL_TIME + " INTEGER DEFAULT 0);"; | |||
+ TaskContract.Instances.INSTANCE_ORIGINAL_TIME + " INTEGER DEFAULT 0," |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a space needed here after DEFAULT 0,
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, technically it's not required
|
||
|
||
/** | ||
* Create task with start and due, check datetime values including generated duration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Javadoc stayed copy-pasted here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
|
||
/** | ||
* A {@link Single} of date and time {@link ContentValues} of an instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not updated, copy-pasted javadoc here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@lemonboston please re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
This commit adds an instance status column which indicates which instance of a task is the next one to complete. This allows to filter out the instances which come after the next one.