Add collection rename and remove to the diagram side panel

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Data Modeling
    • 3
    • Iteration H (Jul 28 - Aug 11)
    • None
    • 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: