| Summary: | prompt users to disable "Show subtasks not Matching Query" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> | ||||||
| Component: | Mylyn | Assignee: | Sam Davis <sam.davis> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | greensopinion, mik.kersten, steffen.pingel | ||||||
| Version: | unspecified | Keywords: | helpwanted, plan | ||||||
| Target Milestone: | 3.9 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Sam Davis
Sounds like a good idea. I have marked the bug as helpwanted to indicate that community contributions are welcome to resolve this. Created attachment 212502 [details]
patch
Steffen, what do you think of this? It seems reasonable to me if there are no queries defined to just set the preference without a prompt.
Created attachment 212503 [details]
mylyn/context/zip
I'm -2 on showing a modal dialog on tasks UI startup. We could consider doing this as an embedded notification in the task list though. That seems reasonable... is there any framework support for such notifications? Yes, TaskListServiceMessageControl has code for showing notifications in the task list. Cool, I'll take a look at that. I've pushed a review using TaskListServiceMessageControl. I had to improve the modularity of it as it doesn't really support having more than one control, because they all use the same preference constants. I didn't see any good way to reuse the existing control, which gets its messages from the message manager. 7340: 360055: prompt users to disable "Show subtasks not Matching Query" [I5a14e200] https://git.eclipse.org/r/#change,7340 Steffen: Is there any reason not to proceed with this patch? No particular reason. I just don't think anyone has looked at it, yet. The change looks good. The only thing I am wondering if it is feasible to reuse the existing service message control in the task list rather than creating a control in TasksUiPlugin? The idea is that there is a single control for notifying the user.
Mik, do you have thoughts on the messaging? Currently it says:
*Hide Irrelevant Subtasks*
<a href="{0}">Click here</a> to hide subtasks that do not match any of your queries.
This will not delete anything from your task list; you can always find hidden tasks by typing in the find box. You can change this setting under
Advanced Filters in the Task List view menu.
Thanks for the revew, I'll take another look at whether it's possible to reuse the control. I've pushed a new change that reuses the existing control to https://git.eclipse.org/r/#change,7340, and created the following review for the needed commons change: 11130: 360055: prompt users to disable "Show subtasks not Matching Query" [I86c8616a] https://git.eclipse.org/r/#/c/11130/ I've merged the change at https://git.eclipse.org/r/#/c/12599/ I changed the message to: h3. Hide Irrelevant Subtasks <a href="{0}">Click here</a> to disable incoming notifications for subtasks that do not match any of your queries. These tasks will be hidden but you can find them by typing in the find box. You can change this setting under Advanced Filters in the Task List view menu. Should this be default enabled for new installations (so that new users don't have the prompt?) Yes, that's exactly what was implemented. |