Display errors in the diagram creation flow

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.46.3
    • Affects Version/s: None
    • Component/s: Data Modeling
    • None
    • 3
    • Iteration A (Apr 21 - May 5), Iteration B (May 5 - May 16)
    • Not Needed
    • Developer Tools

      When a user encounters an error in the diagram creation flow, we want to show that error to them. For instance if a list databases or list collections request fails. We can use the ErrorSummary component for this.

      Add logs when these errors happen (already some TODOs in the code, not marked with this ticket though) and some unit tests for this flow.

      https://github.com/mongodb-js/compass/blob/1086d07de3afb2d52cd55eea00ac2da1d62ec753/packages/compass-data-modeling/src/components/new-diagram-form.tsx#L140

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

                Created:
                Updated:
                Resolved: