Click here to Skip to main content
15,895,667 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Luc Pattyn2-Jan-12 2:12
sitebuilderLuc Pattyn2-Jan-12 2:12 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff2-Jan-12 15:41
professionalBillWoodruff2-Jan-12 15:41 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Eddy Vluggen30-Dec-11 10:00
professionalEddy Vluggen30-Dec-11 10:00 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:28
professionalBillWoodruff1-Jan-12 21:28 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
Eddy Vluggen2-Jan-12 6:39
professionalEddy Vluggen2-Jan-12 6:39 
AnswerRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
jschell31-Dec-11 13:40
jschell31-Dec-11 13:40 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff1-Jan-12 21:43
professionalBillWoodruff1-Jan-12 21:43 
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
jschell2-Jan-12 11:09
jschell2-Jan-12 11:09 
BillWoodruff wrote:
I also prefer to see a "Save" button disabled as long as no changes have been made, and enabled when they have: similarly, I like the idea of a "Revert" button also disabled until changes have been made


That is adding complications with no benefit.

Scenario
1. Monday I changed config value X. And save/ok.
2. Tuesday I changed config value Y. And save/ok
3. Wednesday I can't figure out why it isn't working the way I want but I guess 1/2 had something to do with it. So I want to revert to the original default settings.

To handle the above case then you must do a comparison with the original values every time you load. That of course complicates things.

But there are only two cases.
A. The user has in fact made a change in the past. So Revert is always on and will always be on.
B. The user has never made a change in the past.

In the first case it matters if the user hits Revert. In the second it doesn't matter at all.

So you are doing work that doesn't mean anything. So pointless. Revert should always be enabled and should just always copy the original values into the use location.

And it could be the case that a config value must always be changed, such as if a database is required. In that case revert would always be enabled for everyone.

BillWoodruff wrote:
I do think use of separate 'Revert' and "Cancel" controls are sometimes appropriate. The idea of "revert" on a per setting basis, perhaps using color as a flag to indicate a changed value, as raised by Luc, I find very interesting.


Depends on you and your app of course but exactly what sort of config values are these?

For example if I have an inventory app and I set the database host name, I don't need to do it again.
If I have an editor and I want to change the font color then it is pretty obvious what it is, and I certainly don't need a reminder that I changed it.


BillWoodruff wrote:
On this issue I respectfully disagree: if I have "waded into" a complex configuration UI, and made many changes: or changed something accidentally: I definitely want to know on exit if changes have been made ... most strongly when I am under the impression (in error) that I did not change any preferences.


You must be dealing with different sorts of users then.

If I am writing an editor then I expect that the users know that they are actually using an editor and that they expect certain functionality from the editor. If they go poking around in the config font colors for the editor and change it I don't expect it to be confusing to them when the the font color does change.

And if there are config values that users shouldn't be messing with in most cases then I am not going to make it easier for them to do so. So no UI in the first place.

But for comparison I looked at some apps.
TextPad
- Has a Ok button, always enabled, not sure of the point but I presume it does 'Apply'
- Has a Apply button. Only enabled if I change something.
- Has a Cancel. Always enabled.
- No revert at all.

VS 2010
- Has Ok and Cancel. Both enabled. No other buttons.

Cisco VPN
- Has Ok and Cancel. Both enabled. No other buttons.

Firefox
- Has Ok and Cancel (and Help). All enabled.

WinAmp
- Has Close (only the one button.) Always enabled.

Given the above just having simple revert puts you way ahead of the curve. Of course that could be problematic I suppose. I don't want the inventory app to ever return to the factory database host, since that probably is always wrong.
GeneralRe: "Save, Undo, Redo, Cancel" in a complex application configuration settings facility ? Pin
BillWoodruff2-Jan-12 15:26
professionalBillWoodruff2-Jan-12 15:26 
Questionhow to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi29-Dec-11 5:48
Omar Rwemi29-Dec-11 5:48 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
jschell29-Dec-11 14:22
jschell29-Dec-11 14:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Eddy Vluggen30-Dec-11 9:33
professionalEddy Vluggen30-Dec-11 9:33 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Roger Wright31-Dec-11 16:34
professionalRoger Wright31-Dec-11 16:34 
GeneralRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Patrick Harris20-Feb-12 18:02
Patrick Harris20-Feb-12 18:02 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Omar Rwemi1-Jan-12 3:22
Omar Rwemi1-Jan-12 3:22 
AnswerRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Shameel2-Jan-12 2:26
professionalShameel2-Jan-12 2:26 
GeneralRe: how to use Barcode in POS and Inventory system (Design wise)? Pin
Mycroft Holmes2-Jan-12 17:06
professionalMycroft Holmes2-Jan-12 17:06 
Questionlicense viruses database for antivirus module in security tool. Pin
Ram Shmider28-Dec-11 21:18
Ram Shmider28-Dec-11 21:18 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Luc Pattyn28-Dec-11 23:40
sitebuilderLuc Pattyn28-Dec-11 23:40 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider28-Dec-11 23:48
Ram Shmider28-Dec-11 23:48 
GeneralRe: license viruses database for antivirus module in security tool. Pin
DaveAuld30-Dec-11 22:06
professionalDaveAuld30-Dec-11 22:06 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Richard MacCutchan28-Dec-11 23:55
mveRichard MacCutchan28-Dec-11 23:55 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider29-Dec-11 0:19
Ram Shmider29-Dec-11 0:19 
AnswerRe: license viruses database for antivirus module in security tool. Pin
Eddy Vluggen30-Dec-11 9:31
professionalEddy Vluggen30-Dec-11 9:31 
GeneralRe: license viruses database for antivirus module in security tool. Pin
Ram Shmider30-Dec-11 21:17
Ram Shmider30-Dec-11 21:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.