Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-381

Sneak Preview should be time-based

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8
    • 2.8.1
    • Editors
    • None

    Description

      I discovered the new "sneak preview" function of the editor. This is a nice idea, but I think the way the preview is updated is not optimal. If I understand this correctly, the preview is updated if the edit control loses the focus. Also, some extended functions of the editor seem to trigger the update as well. At least I get some updates when I don't expect them.

      I would prefer a solution that is based on the idle time of the user, if this is possible. If the user is inactive for a certain time and he did some changes, the update is triggered. Since I assume that the preview includes a round trip to the server, I would adjust the wait time dynamically. I would measure the round trip and display time of the last update and would set the wait time as a multiple of it. In addition to that, I would add an explicit update button and/or keyboard shortcut to initiate the update.

      Attachments

        Activity

          People

            brushed Dirk Frederickx
            klaus.malorny Klaus Malorny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: