Add copilot chat & Playgrounds icons in the connection tree

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Planetarium, Iteration Quasar
    • Not Needed
    • Developer Tools

      Adding an icon in the database and collection next to the ‘+’ sign for “Query database with MongoDB Copilot”. We can open a Copilot chat with @MongoDB populated and we should show a message from the MongoDB participant saying "Ask any questions about <X> database" or "Ask any questions about <X> database's <Y> collection" if navigated from a collection. 

      Additionally, we should also add an icon for Playgrounds here for so users can directly jump to Playgrounds from the connection tree. If users are navigating at the DB level, we can pre-populate playgrounds with `use(<DB_Name>);` and if they are clicking from the collection level, we can additionally include a simple db.<collection_name>.findOne().

        1. image-2024-11-18-08-58-20-223.png
          50 kB
          Gaurab Aryal
        2. copilotIcon.svg
          3 kB
          Ighodalo Ijagbone
        3. playgroundIcon.svg
          4 kB
          Ighodalo Ijagbone
        4. image-2024-11-27-13-58-44-895.png
          52 kB
          Gagik Amaryan
        5. Screenshot 2024-11-27 at 9.33.19 PM.png
          123 kB
          Gagik Amaryan
        6. Screenshot 2024-11-27 at 9.33.26 PM.png
          110 kB
          Gagik Amaryan
        7. Screenshot 2024-11-27 at 9.33.19 PM-1.png
          123 kB
          Gagik Amaryan
        8. Screenshot 2024-11-27 at 9.33.26 PM-1.png
          110 kB
          Gagik Amaryan
        9. Screenshot 2024-11-27 at 9.33.19 PM-2.png
          123 kB
          Gagik Amaryan
        10. Screenshot 2024-11-27 at 9.33.26 PM-2.png
          110 kB
          Gagik Amaryan
        11. Screenshot 2024-11-27 at 9.33.26 PM-3.png
          110 kB
          Gagik Amaryan
        12. Screenshot 2024-11-27 at 9.36.55 PM.png
          52 kB
          Gagik Amaryan
        13. Screenshot 2024-11-27 at 9.37.36 PM.png
          97 kB
          Gagik Amaryan
        14. Screenshot 2024-11-27 at 9.36.55 PM-1.png
          52 kB
          Gagik Amaryan
        15. Screenshot 2024-11-27 at 9.37.54 PM.png
          105 kB
          Gagik Amaryan
        16. playground_modified.svg
          4 kB
          Gagik Amaryan
        17. plus-circle.svg
          0.5 kB
          Gagik Amaryan

            Assignee:
            Gagik Amaryan
            Reporter:
            Gaurab Aryal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: