asyncapi / studio

Visually design your AsyncAPI files and event-driven architecture.
https://studio.asyncapi.com
Apache License 2.0
162 stars 98 forks source link

Add the option of Generating docs in the main section #1104

Open AayushSaini101 opened 3 months ago

AayushSaini101 commented 3 months ago

Reference: https://editor.swagger.io/ the Generator code section is present on the main screen, where as the in asyncapi studio devleoper need to click on three dots then need to click Generate doc/code.

For the easy accessiblity and increase the developer experience the generate code/docs option must be present in the main tab.

image image
KhudaDad414 commented 3 months ago

Totally, I think we should create some icons for those options and then show the current options as a tooltip.

AayushSaini101 commented 3 months ago

Totally, I think we should create some icons for those options and then show the current options as a tooltip.

Do we need for all options ?

KhudaDad414 commented 3 months ago

@AayushSaini101 not sure if we can come up with an icon for each one, but it is easier to create four icons for each category and show a dropdown of those relevent options. 1) import icon. a) import from file b) import from url c) import from base64 2) save icon: a) save as yaml b) save as JSON 3) convert icon: a) convert to json/yaml b) convert to another AsyncAPI version 4) generate code/doc icon

abhavgoel commented 1 month ago

@AayushSaini101 @KhudaDad414 should the the three dots be removed completely from the editor page?

KhudaDad414 commented 1 month ago

@abhavgoel yep. After we show the options in categories then nothing will remain for the the overflow menu.