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

get export to language modal to be worked in compass

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Export to Language
    • None
    • 5
    • Sprint Wyclef Jean, Sprint Xzibit

    Description

      The Idea™ at the moment is to get start off in compass main repo and create a dropdown to include the current history feature and export to language.

      To trigger both history and export components, generate an event on the global app registry – `global.hadronApp.appRegistry`.

      Then get export to language to listen in the `store.onActivated` for the above ^ event to be dispatched.

      A good example to see something like this working is in import-export plugin.

      Update: use these two events to get the query bar – open-aggregation-export-to-language, open-query-export-to-language

      Update2: once the event is 'caught' in store.onActivated, dispatch an event to be handled in export-query.js module. The event in export-query.js should change the state to have an inputQuery passed in from aggregation/querybar.

      Update3: check that this actually works with the compass branch that has the appRegistry events; need to send back the close button event

      Attachments

        Activity

          People

            irina.shestak@mongodb.com Irina Shestak (Inactive)
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: