Repository navigation
Show component parse error only on manual reload - #404
Conversation
There was a problem hiding this comment.
- Test B – Manual Reload :
Click reload.
✅ Confirm that the popup appears showing the syntax error from the file.
I'm not sure what you mean by reload here, but when I introduce a syntax error and press save, it doesn't show the warning. Is this intentional?
|
Yes, it's intentional. |
|
That part was understood, the one that I've mentioned was a side effect of when pressing save manually. I kinda liked that it would warn users, but after further thought, we wouldn't want to introduce annoyances outside of what's necessary. |
Description
When editing a component Python file, users often encounter a syntax error popup triggered by auto-save, even for minor temporary edits. This creates a disruptive user experience. This PR improves that behavior by ensuring the error popup appears only during manual reloads, allowing silent background reloads without unnecessary interruptions.
Pull Request Type
Type of Change
Tests
1. Test A – Silent Reload (Auto-save):
utils.py).2. Test B – Manual Reload :
3. Test C – Fix the Syntax Error:
Tested on? Specify Version.