Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-183

Edit documents from the collection view

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Documentation Changes:
      Needed
    • Sprint:
      Iteration Tangerine

      Description

      User Story

      As a user,
      I want the ability to edit documents from the collection view
      So that when I am looking at a collection I can quickly make changes to the documents without having to go through playgrounds

      Acceptance Criteria

      • Documents in the collection view have a code lens to access the editing functionality
      • By clicking on the code lens, the user is taken to a new editable version of the document, displayed in EJSON
      • When the document is saved (Cmd/Ctrl + S or with the menu), the document is updated to reflect the changes that were made
      • When the document is saved, a notification informs the user that the change has been saved in MongoDB.
      • When the update results in an error, the user is notified.
      • It's possible to make edits to a document and save it more than once.

      Telemetry Events

      Event Name Fired when... Properties Property Values
      Document Edited ... user decides to edit a document from a code lens source collectionview
      Document Updated ... edits to the document are saved source
      success
      collectionview
      true|false

       

        Attachments

          Activity

            People

            Assignee:
            alena.khineika Alena Khineika
            Reporter:
            massimiliano.marcon Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: