jupyter-naas / chrome-extension

Boost productivity with Naas Chrome Extension, your AI-powered assistant for analytics and automation.
https://naas.ai
GNU Affero General Public License v3.0
2 stars 0 forks source link

Enforce dropdown list in payload #7

Closed FlorentLvr closed 4 months ago

FlorentLvr commented 1 year ago

As a customer, I would like to be able to select an option from a list in the Chrome Extension instead of having to input it manually. Setting a dropdown list would avoid mistakes made by end user.

Would it possible to create a dynamic dropdown list based on the json load in options like:

[
  {
    "name": "Wehbook name",
    "action": {
      "url": "https://public.naas.ai/Y29udGFjdC00MGFzZ2FyZC0yRGdyb3VwLTJFZnI=/notebook/b30e34a20ae9fed23d91b6a5ae841c39c9f1ff0727328698af151efxxxx",
      "payload": ["Option 1", "Option 2", "Option 3"]
    }
  }
]
jravenel commented 1 year ago

@FlorentLvr we reviewed this with @hassan3kb but not clear to us what it means. Can you please check this new brief and let us know what I missed: https://www.loom.com/share/Refactoring-the-Extension-Design-05f109747e294d3485ef19c169158b83