Bug 195999 - [usability][nls] Delete dialog should have a "Do not show again" checkbox
Summary: [usability][nls] Delete dialog should have a "Do not show again" checkbox
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: David Dykstal CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: PII
Depends on:
Blocks:
 
Reported: 2007-07-10 10:31 EDT by Martin Oberhuber CLA
Modified: 2009-12-09 07:40 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-07-10 10:31:16 EDT
Whenever deleting something in RSE, a delete confirmation dialog is shown.

Some users may want to disable this dialog and delete items right away, especially, if they need to delete often and deletion is not a very big deal.

Therefore, the Delete dialog should have a little checkbox ("Do not show this dialog again"). It might make sense to have this checkbox apply on a per-subsystem level only such that users could decide to get confirmation when deleting files but would not get confirmation when deleting (aka killing) processes.
Comment 1 David Dykstal CLA 2008-04-16 18:45:53 EDT
The common delete action that displays this dialog can delete a selection of a list of resources from various subsystems. It is not clear to me how to make a subsystem-based delete confirmation work although I've outlined a scheme below, and turning off delete confirmation for all subsystems seems to be overkill.

In addition turning off the dialog implies that there is some way to reset the confirmations as well. This is usually done by a preference. The dialog clears the preference if confirmations are not wanted.

An implementation might be something like this:

- the default for all delete confirmations for all subsystems is "on".
- Include the checkbox as you specified on the delete resources dialog. The common delete action would set the preference for all subsystems whose resources appear in the dialog.
- Have a button on the preferences that would restore all deletion confirmations

It is also probably desirable to remove the ellipsis from the "delete..." actions if their confirmation is being suppressed.

We would need several new strings.

on the delete dialog:
"Do not show this dialog again"
"Checking this box will suppress this dialog when resources managed by these subsystems are deleted. You can restore this using the Remote Systems preference page."

on the Remote Systems preference page:
"Restore delete confirmations"
"Clicking this button will restore all delete confirmations for all subsystems."
Comment 2 Martin Oberhuber CLA 2008-04-17 10:41:33 EDT
I'm not sure whether the confirmation actually needs to be subsystem specific. This was just an idea. Perhaps a global user preference is good enough, I don't know. But I agree that there must be some way of restoring the preference.

So, it looks like more NLS strings are required to hold the corresponding preference on the preference page.

Would it make sense to go a different way and support extenders contributing a configurable IDontShowAgain widget or the like? That would be responsible for its rendering, for preference storage and modification?

In our commercial product on top of RSE, we have lots of such "do not show again" types of dialogs, all of which extend one common base class (DoNotShowAgainDialog). The Preferences for these can all be re-set on a single Preference Page. For our product, it would be nice to support re-setting the RSE "dont'show again" preference on the same page.

Uwe what do you think about this?
Comment 3 Martin Oberhuber CLA 2008-05-20 18:16:10 EDT
Dave is it realistic that we can do this in 3.0?

Uwe argues that what's really needed here is a consistent Story from the Platform to support "Do not Show Again" checkboxes with a consistent scheme in the Preferences where the "Do not..." state is stored. Right now, this seems to be inside CDT.

Do you think there is anything you can do? - Please update the target milestone as needed.
Comment 4 David Dykstal CLA 2008-05-29 17:25:39 EDT
Moving enhancements to the 3.1 release.