Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-909

Rename collection

    XMLWordPrintableJSON

Details

    Description

      As the comments below indicate there are several feature requests to rename a collection. This can be achieved in the node driver by calling the rename command on particular collection. The goal of this ticket is to add the UI element, probably an extra option in the sidebar next to ever collection field to edit and call the rename command on the selected collection.

      Acceptance Criteria:

      • add rename to data-service (https://github.com/mongodb-js/data-service)
      • include unit tests for rename in data-service
      • make UI element (On the sidebar) that can be clicked to produce a modal for renaming collection
      • add enzyme tests for the above element
      • add store action to rename collection that calls the above data-service method
      • add unit tests for the above store action

      Attachments

        Activity

          People

            Unassigned Unassigned
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: