Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49857

Javascript libraries need to be reuploaded everytime any function needs to be changed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.1.0
    • js-evaluator
    • None
    • Neo
    • 1

    Description

      Previously we had the ability to modify or add a single function to a library. This functionality got changed so that anytime we want to modify a library we need to reupload the whole library. From a user perspective this is quite cumbersome. Even if in the backend what we are doing amounts to reuploading the whole library, I feel that the user should be given a way to only modify the function they want or to add or delete single functions. It would greatly increase the usability for a normal user. Also there may be some concerns that one user could alter a library after another user has altered it without knowing about the other users changes to that library, effectively one user is unaware their changes did not go through or were rewritten by the other user. Or consider if the user only plans to make a one line change to one function, the user first has to pull all the functions, then find their function and make the one line change and reupload everything.

      Example:
      User 1 uploads a library called math - w/ functions add, subtract, multiply
      User 1 wants to add a single function called divide - currently you need to recreate the library with add,subtract, multiply and divide

      Example2:
      User 1 uploads a library called math - w/ functions add, subtract, multiply
      User 1 wants to delete function multiply - currently you need to recreate entire library with add and subtract, and omit multiply

      Example3:
      User 1 uploads a library called math - w/functions add,subtract,multiply
      User 1 wants to modify function multiply- currently you need to recreate entire library with add, subtract, and modified multiply

      I believe having a way to add/modify/delete single functions inside of a library should be re-implemented for usability

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srinivasan.raman Srinivasan Raman
            ajay.bhullar Ajay Bhullar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty