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

Feature: Highlight tasks that are past their due date #276

Closed
fredcallaway opened this issue Jun 2, 2016 · 5 comments
Closed

Feature: Highlight tasks that are past their due date #276

fredcallaway opened this issue Jun 2, 2016 · 5 comments
Assignees
Labels

Comments

@fredcallaway
Copy link

The highlighting would be done in the same way that linters do it.

I'm willing to take on this project if there is indication that it would be pulled if implemented correctly.

One could also run a user defined script when a task hits it's due date (or some time before).

@vovkkk
Copy link
Collaborator

vovkkk commented Jun 2, 2016

I'm willing to take on this project if there is indication that it would be pulled if implemented correctly.

Sure.

@vovkkk vovkkk added the feature label Jun 2, 2016
@martinsam
Copy link

+1

1 similar comment
@BvanT
Copy link

BvanT commented Jun 17, 2016

+1

@fredcallaway
Copy link
Author

I got it working on my own machine but ran into trouble with dependence on dateutil. Since then, I've moved to Checkvist because I think a mobile interface is critical for a to-do list.

Here's what I had if someone wants to try to get it working:

https://gist.github.com/fredcallaway/ffdf31d6a51c881d9be6f3a1d6784c6a

@vovkkk
Copy link
Collaborator

vovkkk commented Jul 16, 2016

Thanks for effort.

If anyone want to send pr, please consider:

  1. This functionality should be placed in separate file, e.g. PlainTasksDates.py (later we’ll move all stuff related to dates into it)
  2. dateutil is powerful thing but we must avoid it for now — it is suitable for dependencies but adding a package as dependency in PC may take time for review, e.g. my pr for watchdog is pending 10 days already; besides, using dateutil is a separate feature per se, which would change/improve PT.
    So for now we should simply check if date is suitable as in check_parentheses function
  3. We probably should use EventListener to keep highlighting up to date
  4. Functionality should be customisable and documented: how to disable, make update only on save/open, or on every activation of view, sth else?

If no one do it, I’ll return to it probably in August (its end maybe).

@vovkkk vovkkk self-assigned this Aug 26, 2016
@vovkkk vovkkk closed this as completed in 7ac27be Aug 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants