Clicking on Data Modeling keeps opening new tabs

XMLWordPrintableJSON

    • 5
    • None
    • Developer Tools

      The workspace plugin in Compass doesn't distinguish between the specifics of the workspace (with the exception of namespace). That means that when a new Data Modeling tab is opened, the workspace plugin doesn't know if it's the list view or a single diagram (and which one).

      This lead to the https://jira.mongodb.org/browse/COMPASS-10032 bug, as well as some inconvenience when opening new Data Modeling tabs.

      For namespace tabs, if I have made some changes, the next namespace/database will open in a new tab. Otherwise, it opens in the same tab. If I try to re-open a namespace, it'll just switch to the existing tab.

      We could have a similar behaviour for the Data Modeling:

      • for the same context, we switch to the existing tab (e.g. I'm reopening a diagram that I already have open)
      • for a different context (e.g. I have a diagram opened but I click on 'Data Modeling'), we open a new tab

            Assignee:
            Unassigned
            Reporter:
            Paula Stachova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: