• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Shouldn't the preview show only the user data? If not possible, the preview button should be disabled. -- AC


I assume you are envisioning the following scenario: User edits "personal data" (i.e., the form) only in a user topic (with the UserView template). In edit she sees only the form, but preview shows the whole topic.

If so, my intuition is that this behavior is correct.

However, there is one bug I see, namely that the form is on the bottom in the preview mode. --TW


This raises an interesting question: if a user defines a special view mode, should the preview mode also show the topic in that way? If so, the user will have to provide a preview template also... --TW
I would have thought that the view template should be enough? as preview is a view with a image div, and the url's changed -- SD
But it is not what you'd expect: if you edit the personal data, you expect to review the personal data, not the entire topic. -- AC
grin - is is what i expected, but now that you've explained it to me, I'm strongly tempted to agree with you, that users might not expect it. There is a disconnect between how the UI works and how the topic model currently works. we fake to the user that they are only editing the personal data, while we are actually editing the entire topic. it certainly bears firther thought - but can we defer it til next release? -- SD
I think the easiest would be to remove the Preview button from the screen. Since you are editing form values, what is there to preview? -- AC
I think it is not clear at all what the requirements here should be. I think one can equally well argue that the user is editing parts of the topic, and then wants to review how the whole topic looks like. I am not saying that this is the right answer, just that it is not clear.

I am actually more concerned with that the preview and view modes are not connected better. E.g., the view mode in this case shows the form on the top, but the preview mode shows it at the bottom. ---TW


I think one can equally well argue that the user is editing parts of the topic - not with a button "Edit personal data" that is followed by a screen with the personal data fields only.

With "Editing parts of the topic" you would expect an edittable on the page (while seeing the surrounding content), or an editable %TABLE{}%. --AC


I agree that one can argue that as well, but that is precisely my point. There seems no established obvious user mode... just different people's intuitions.

On the "editing parts of a topic", if you look at EditTablerowPlugin, SimpleTableEditingUsingForms, or the various derivatives of EditContrib (SectionalEditPlugin, MultiEditPlugin) they behave very differently from what you describe as the model: there you edit (and see during editing) only the section being edited. Preview shows the whole topic.

My point is that there is precedence either way. --TW


I can't see an bugs here, only debate that would be happier in Codev. DIscarding. CC

ItemTemplate
Summary Preview of user data form shows entire topic
ReportedBy ArthurClemens
AppliesTo Engine
Priority Low
CurrentState No Action Required
WaitingFor

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2005-10-09 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback