Closed
Bug 293201
Opened 19 years ago
Closed 16 years ago
Need to filter better in the agenda view
Categories
(Calendar :: Lightning Only, defect)
Calendar
Lightning Only
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: shaver, Unassigned)
Details
Attachments
(1 file)
7.83 KB,
patch
|
dmosedale
:
first-review+
|
Details | Diff | Splinter Review |
If nothing else, selecting all calendars, current view, or single calendars.
Comment 1•19 years ago
|
||
Right now the menu-option to filter All/Events/Tasks doesn't do anything. This patch makes it active. Doing so requires adding getOccurrencesBetween to calTodo.js. I basically did a copy+paste of the calEvent version, with a few changes to handle the fact that tasks don't always have due/entryDates. I also modified the agendaTree to look for a task's dueDate instead of entryDate, because the lightning task dialog doesn't offer an entryDate option.
Attachment #196939 -
Flags: first-review?(dmose)
Comment 2•19 years ago
|
||
Comment on attachment 196939 [details] [diff] [review] part 1- turn on tasks option Looks good; just a few nits. Thanks for the patch. > agendaTreeView.findPeriodForItem = > function findPeriodForItem(item) > { >- var start = item.startDate || item.entryDate; >+ var start = item.startDate || item.dueDate; >+ if(!start) >+ return null; Add a space before the parens, if you would. >+agendaTreeView.updateFilter = >+function updateAgendaFilter(menulist) { >+ if (menulist.selectedItem.value) >+ this.filterType = menulist.selectedItem.value >+ else >+ this.filterType = 'all'; Is it really possible for this function ever to be called with menulist.selectedItem.value unset? If so, please add braces around both clauses; if not, it should be possible to shorten this function by 60%. :-) >+ this.refreshCalendarQuery(); >+}; Please add an explicit return here. r=dmose with this stuff addressed
Attachment #196939 -
Flags: first-review?(dmose) → first-review+
Comment 3•19 years ago
|
||
Comment on attachment 196939 [details] [diff] [review] part 1- turn on tasks option patch checked in. leaving bug open to add calendar filtering as well.
Reporter | ||
Comment 4•19 years ago
|
||
Unfortunately, I do not have cycles to work on Calendar stuff these days (just as it's getting to the good part!), so I am a bad owner for these bugs. To delete the tragically-large chunk of bugspam, search for gregorianabdication.
Assignee: shaver → nobody
Updated•19 years ago
|
QA Contact: shaver → lightning
Comment 5•17 years ago
|
||
Now there are two view filters in Today Pane: 1)Tasks&Events<->Tasks<->Events 2)All<->Events<->Tasks (This is only for agenda) When you select Events in 1st filter and Tasks in 2nd filter you can see tasks. It is really strange and confusing. Maybe the first filter should be renamed
Comment 6•16 years ago
|
||
Is this bug still required? In current Lightning 0.9pre builds only events are displayed in the agenda section of the today pane. Selecting the calendars that are displayed is already being worked on in Bug 412800.
Comment 7•16 years ago
|
||
(In reply to comment #6) > Is this bug still required? In current Lightning 0.9pre builds only events are > displayed in the agenda section of the today pane. Selecting the calendars that > are displayed is already being worked on in Bug 412800. Stefan, I agree. What is the correct resolution?
Comment 8•16 years ago
|
||
Resolving as INVALID per comment#6 and comment#7.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•