Add collection rename and remove to the diagram side panel

XMLWordPrintableJSON

    • 3
    • Iteration H (Jul 28 - Aug 11), Iteration I (Aug 11 - Aug 25)
    • Not Needed
    • Developer Tools

      When editing to an invalid or duplicate collection name let's show an error state with an `errorMessage` in the text-input: https://www.mongodb.design/component/text-input/live-example . See the error handling section of the tech design for more details: https://docs.google.com/document/d/15Dn5FB3POEj9sYQrYIUajZySqFzlPfpcgjkPhzFqSFg/edit?tab=t.0#bookmark=id.gtbx54ysqe4o 

      Be sure to update and related relationships when renaming and remove any when removing the collection

       

      Designs: https://www.figma.com/design/reNpAkCcrtlHEgBoNDiY6P/Ben-s-playground?node-id=1446-24357&t=eV4IiP1DAatqJXVj-4 

      Edit events:

       z.object(

      {     type: z.literal('RenameCollection'),    from: z.string(),    to: z.string(),  }

      ),
       z.object(

      {    type: z.literal('RemoveCollection'),    ns: z.string(),   }

      )

            Assignee:
            Rhys Howell
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: