appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.33k stars 3.72k forks source link

[Feature]: Need a way to terminate actions that are run automatically or indefinitely #15308

Open ramsaptami opened 2 years ago

ramsaptami commented 2 years ago

Is there an existing issue for this?

Summary

Currently, when any action causes an app to go into an unusable state, there is no way to terminate code execution from front end i.e. UI. This causes users to contact support and request a resolution which is done by either tweaking backend or getting on a call to debug the issue requiring manual intervention each time a user hits a dead-end with their app due to faulty code.

Instead, having a UI capability will allow users themselves to debug and salvage any code that's causing the issue. This improves debugging experience and saves user some time if support isn't available at that moment.

Another reason to terminate automatically set actions is when a user is simply testing out new changes on their app and causes any API calls being accounted for and charged to the user

Potential solution

Why should this be worked on?

A couple of scenarios when app goes into an unusable state and needs support to salvage it:

  1. Infinite loop on custom code caused by a trigger field causing the app to hang and be inaccessible (sample app)
  2. Using navigateTo() on the landing page causing a redirect each time user opens the app
  3. Any other actions performed like copy, merge, duplicate that could cause the app to go into an error state
jhheo commented 1 year ago

I have the same problem and i just renamed the target page so navigateTo() did not work, then i just fix the problem on the problematic page.