Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AayushSaini101 opened this issue May 28, 2024 · 5 comments
Open

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

AayushSaini101 opened this issue May 28, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@AayushSaini101
Copy link

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
Copy link
Member

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

@AayushSaini101
Copy link
Author

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
Copy link
Member

@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
Copy link

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

@KhudaDad414
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

3 participants