Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-667

Get Note to be Ajax call Instead of web socket

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The ability of getting a note on websocket should be replaced with a promisified ajax call.

      By Design any entity that gets initialized should happen through API
      and any real time exchange of data happens through WS.
      Getting note is request for initialization which can happen over API but for real-time collaboration we cannot use api that is when we use websockets.

      The advantage of making it a promisified callback is:
      1. The UI content that we can write in the paragraph becomes more cleaner by giving the developer the exact instance of the rendered page where the scope variables are not undefined, that is. As of now if we try to use the scope bounded variables using native javascript there is most likely scenario where the value on scope is "undefined" .
      2. For slower internet connections an interceptor can be given so that we can display custom progress status till the note object comes

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tejasrivastasa Teja Srivastasa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: