mails2nitesh / kfm

Automatically exported from code.google.com/p/kfm
0 stars 0 forks source link

Improve the View/Edit environment #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
both modus should have a bar on top.
For editing files this bar on top will look like:
<td>
    filename
    <span class='button'>View</span>
    <span class='button'>Save</span>
    <span class='button'>Close</span>
</td>
<td align='right'>
    <span id='messages'></span>
</td>
event: clicking View
action: messages will say loading file and file will be viewed. then
messages will be cleared.

event:clicking Save
action:
saving should be done through an ajaxPost. Then the messages part will say
saving.... and when it is saved then the messages part will say saved and
this message will disappear after say 3 or 4 seconds.

event: clicking Close
action:
on open the data should be stored in a variable. When the content is
different from that a message should appear saying something like: Content
changed. When close->data loss. Do you really want to close??

For viewing the bar on top bar will look like:
<td>
    filename
    <span class='button'>Edit</span>
    <span class='button'>Close</span>
</td>
<td align='right'>
    <span id='messages'></span>
</td>

Suggestion: Make an overlaying right side over the files panel in which the
editing/viewing takes place. Then on close the files do not have to be
refreshed.
remark: After editing the filesize can be different, so without reload this
information will not be correct.

Original issue reported on code.google.com by bterku...@gmail.com on 27 Oct 2006 at 2:13

GoogleCodeExporter commented 8 years ago
Is sufficient at this moment
(revision 164)

Original comment by bterku...@gmail.com on 23 Jan 2007 at 2:30