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

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

              Created:
              Updated:
              Resolved: