-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add start and due dates to todos (#436)
* Add start date and due date field for todos * Add the dates field on the frontend * Add the day of week to the date picker * Migration: adding date columns to todo * Add date pickers * Do not generate the start date automatically * Show the dumb version of the deadline * Use datetime instead of date * Add a time-input * Date time input * Send the datetime string to the server * Remove prior migrations * Change the model and group the migrations into one * Show the due datetime on the task page * Clear the date time input once the customer submit * Update comments * Remove debug prints * Fix a line that was too long * Update a column name * Update the column name references on the frontend * Update the column for real * Remove redundant logic * Move the hour logic to the time-input directive * Try switching order * Oh well * Grrr * Grrr * Change the appearance of the todos * Update some style stuff * Update the test * Update the list * Fix indents * Fix white space * Fix white space * Fix white space * Fix white space * Fix white space * Change import order * Fix import * Create a checklist directive for todos and completed * Update the tests * Checklist directive * Remove a print * Update the task pending logic and add two columns to show start and due time of selectecd todo * Show pretty start/due dates on the dashboard * Update todo list titles * Set the color of the todos in danger to red * Fix whitespaces * Update test * Change a function name * Fix misnamed variable * Fix whitespaces * Fix whitespaces * Fix whitespaces * Fix whitespaces * Remove isort from the build process * Add tests * Fix the pending task logic * Fix whitespaces * Fix whitespaces * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Add a stricter sort query * Remove debugging printout * Fix whitespaces * Update tasktable.directive.es6.js
- Loading branch information
Showing
28 changed files
with
1,321 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9.13 on 2018-01-16 15:23 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations | ||
from django.db import models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('orchestra', '0073_remove_worker_staffing_priority'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='todo', | ||
name='start_by_datetime', | ||
field=models.DateTimeField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='todo', | ||
name='due_datetime', | ||
field=models.DateTimeField(blank=True, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.