-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
For new users give them the ability to select a template file (or real world example) #147
Comments
@boyney123 completely agree. We need to breakdown the barrier to adopt the specification rather than being bogged down by its details. I was also motivated by this problem and hence submitted a hackathon submission / proposal for this problem asyncapi/community#136 |
Thinking about this a bit more, what do you think of a new route @magicmatatjahu @derberg ? For example I guess then:
Also if it's on |
Started to spike this solution, and this is kinda how it would work
Flow
Video of working solution 👇 https://asyncapi.slack.com/files/U020GN9C6FM/F02KJM65N66/welcometostudio.mp4 @magicmatatjahu what do you think? This would introduce React router into the studio with a new page and also some code that allows us to read raw file (raw-loader from webpack) to read the yml files. |
How did you do that? Did you eject cra config for webpack? What I wonder most is whether we actually need a Btw. awesome implementation :) I very like it, but yeah, we should discuss in which direction we should go:
what we approve now we will have to do similarly in the future :) |
I'm using react-app-rewired which allows you to keep everything as is and extend the configs etc, only other option is to eject as you said.... create-react-app is quite locked down like that
Yeah hard to tell really, only reason for the new page is to keep some kind of flow for example:
I worry about too much going on, if the editor is in background with slideover etc, but happy to try it too.
Yeah definitely, I'm going to raise what I have done as a draft PR (hopefully get a preview link with that), and also quickly work on the VSCode page you had the idea for (with a draft PR) and I will bring it back to the community with some options to see where we head / decide. What do you think? |
Co-authored-by: David Boyne <[email protected]> Co-authored-by: Maciej Urbańczyk <[email protected]>
@boyney123 If you think that we should leave it open, please write why and of course reopen it :) |
…syncapi#147) Co-authored-by: Oskar <[email protected]>
Reason/Context
The studio is now hosted on the internet which is great!
People will be coming to this from all over, and I wonder if it would be a nice feature for them to select a template or real-world example before they go into the studio.
I made a video to explain what I mean and also how it would kinda work (https://asyncapi.slack.com/files/U020GN9C6FM/F02KDGTE1L2/studioexamples.mp4)
Screenshot
When will it be shown
Why we need this?
I just think it would give users the ability to explore AsyncAPI more, rather than be thrown a default template on load.
The text was updated successfully, but these errors were encountered: