Apicurio/apicurio-studio

Async API sidebar TypeError during navigation

alucarddelta opened this issue · 2 comments

When viewing a AsyncAPI document, clicking on any of the side bar objects does not change the main panel. The options have the hover effect, but when selected nothing occurs.

This also occurs when creating a new Channel, Data Type, ect. When creating after hitting save when creating a "name" of the object, when the page refreshes, the main panel does not update to allow the input of options. The side bar also does not update with the newly entered object. However when you save (blue top right button) and refresh the page, the side bar updates, but again selecting the option does not update the main panel.

An error appears in the console when any of the side bar options is selected.

ERROR TypeError: Cannot read properties of null (reading 'accept')

This occurs with when creating a blank document, using the streetlights demo file, or importing an external document.

image
image

Hey guys,

This solution is unusable in its current state. We appreciate the work and understand that this is an opensource project, but this beta release needed more testing.

CC: @EricWittmann, @alucarddelta, @wtrocki, @jsenko, @paoloantinori

Thanks for the feedback and apologies for the delay. I missed the original notification.

We definitely focused on open API so that's not great - I'll have a look at fixing the asyncapi Editor as soon as I can.

It's not an excuse but that editor was originally community contributed. So it doesn't get the same level of care and attention a lot of the time.

We'll see what we can do about that as soon as we can.