Implemented entry exclusions in UI.

* Resolved D0020: Add exclusion filter for entries.
* Refactored ``timeline`` fields of several objects in ``ts.js`` to be
  ``timelineModel`` to be explicit.
* Added support for exclusions in ``EntryListView.renderOne`` and
  ``EntryListView.render``.
This commit is contained in:
Jonathan Bernard
2011-06-16 17:50:47 -05:00
parent 602bdca7e3
commit 1fff94b622
14 changed files with 219 additions and 22 deletions

View File

@ -1,10 +0,0 @@
Add exclusion filter for entries.
=================================
Add a way for users to add regexes for entries to be ignored in the
display. Exclusions may be per-timeline or per-user.
========= ==========
Created: 2011-06-10
Resolved: YYYY-MM-DD
========= ==========

View File

@ -0,0 +1,22 @@
Add exclusion filter for entries.
=================================
Add a way for users to add regexes for entries to be ignored in the
display. Exclusions may be per-timeline or per-user.
Resolution
----------
``ts_user`` and ``ts_timeline`` both support an exnteded data property called
``entry_exclusions`` which accepts a list of regular expression strings. Any entries
whose marks match any of the regular expressions should be excluded from view.
EntryListView.render filters out any matching entries from its display. It still
takes them into account when calculating the duration of other entries.
----
========= ==========
Created: 2011-06-10
Resolved: 2011-06-15
========= ==========

View File

@ -0,0 +1,12 @@
Check for exclusion after mark update.
======================================
If a user rewrites the mark of an entry, we should check to see if it now
matches one of the defined entry exclusions.
----
========= ==========
Created: YYYY-MM-DD
Resolved: YYYY-MM-DD
========= ==========