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

ClearController rewrite #167

Merged
merged 5 commits into from
Nov 5, 2016
Merged

ClearController rewrite #167

merged 5 commits into from
Nov 5, 2016

Conversation

louietyj
Copy link

@louietyj louietyj commented Nov 5, 2016

No disambiguation and no smarter console messages yet

@louietyj louietyj force-pushed the clear-remove-yaocong branch from c64d1e1 to 37a4f77 Compare November 5, 2016 20:17
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 37a4f77 on clear-remove-yaocong into * on master*.

Copy link

@irvinlim irvinlim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, but I also rewriting ListController, need to also catch for no parsedTokens, etc. We need to extract out methods for this, I'll push that soon.

int numTasks = db.getTaskByRange(dateFrom, dateTo).size();
int numEvents = db.getEventByRange(dateFrom, dateTo).size();
// Decide if task/event/both
boolean[] isTaskEvent = CalendarItemFilter.parseIsTaskEvent(parsedResult);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to catch AmbiguousEventTypeException to renderDisambiguation.

@louietyj louietyj merged commit f00c17c into master Nov 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants