App unresponsive in edit mode + errors in console
My app, in edit mode, has become unresponsive and I can't edit. I can navigate through the left menu of Windmill.dev but when I enter the app it does not respond.
I opened the browser console and found errors.
Could this be related? And why do these errors appear in the console but the edit screen doesn't show anything, like in debug, for example?
23 Replies
Yeah I think you're returning undefined in some places where we don't handle it properly
If you can share your app or a minimal reproduction it would make it possible for us to fix it
Sure, how can I share?
I could click on deploy and create a public url. Would this be the best way?
In the home page, click on the ... And then json
Would it be this? However, in this JSON, it doesn't seem to have the scripts that are causing errors.
I might be able to figure it out nonetheless
great! Let me know about any updates, please.
any news on that topic?
My curiosity is because I need to decide whether I wait a few more days or develop the app again in a different way.
I'll take a look this afternoon
The scripts are not inlined so I cannot reproduce
Can you make a minimal app json that reproduce your issue because I can't fix something I cannot reproduce
Or give me steps to reproduce it
is there a way to invite you by email for just this app with edit permission?
no
your app look fairly simple, it might be easier to just give me a .json just before the last action that triggered the issue
which mean you may have to rebuild the app
I don't think I'm following about recreating the app. What steps should I take?
I need to be able to reproduce your issue locally
I don;t know how you arrived to that issue
So if you can find a way to reproduce that issue, you can share those instructions with me
I'm not exactly sure what caused the problem. I would like to evaluate and debug what I had done in the app already, but I can't even navigate through the components and properties in edit mode.
The app that you shared with me didn't have those issues
it was more empty
it's enough to share with me a json with the issue that I can import from an empty workspace
- I don't know which specific issue to share. The app in edit mode simply freezes several Windmill features.
- The scripts that were being called by the app continue to run successfully when called individually outside the app.
- I suspect that it was related to inline code that I placed in the Validations of the Stepper, but that no longer appears within the app.
you can also go into your network tab and share the app that is loaded from there
I can't debug an app from thin air, so I need the app.json one way or another
I'm not sure if I've grasped how to find this correctly. I would like to offer whatever is required, but I believe I'm falling behind.
when you enter the edit mode, you will have a request like this in your browser network tab
see the json on the right, you can send it to me
I couldn't make progress with it because the app somehow lost my validation code for the previous and next buttons, and it no longer appeared in the JSON. That's why I ended up giving up
If you have such issues in the future, you know what we need to fix it 🙂
tks