cali
cali•14mo ago

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?
No description
23 Replies
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
Sure, how can I share? I could click on deploy and create a public url. Would this be the best way?
rubenf
rubenf•14mo ago
In the home page, click on the ... And then json
cali
cali•14mo ago
cali
cali•14mo ago
Would it be this? However, in this JSON, it doesn't seem to have the scripts that are causing errors.
rubenf
rubenf•14mo ago
I might be able to figure it out nonetheless
cali
cali•14mo ago
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.
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
is there a way to invite you by email for just this app with edit permission?
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
I don't think I'm following about recreating the app. What steps should I take?
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
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.
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
- 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.
rubenf
rubenf•14mo ago
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
cali
cali•14mo ago
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.
rubenf
rubenf•14mo ago
when you enter the edit mode, you will have a request like this in your browser network tab
rubenf
rubenf•14mo ago
No description
rubenf
rubenf•14mo ago
see the json on the right, you can send it to me
cali
cali•14mo ago
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
rubenf
rubenf•14mo ago
If you have such issues in the future, you know what we need to fix it 🙂
cali
cali•14mo ago
tks