ToolJet / ToolJet/ToolJet

Alert the debugger, whenever a query connected to any run-query event handler is deleted

Open
#8,495 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

appbuilder feature request roadmap
Dominant language
JavaScript
Stars
40.9k
Forks
5.4k
Avg merge
2d 18h
Merged PRs (30d)
202

Description

Is your proposal related to a problem?

When a query is deleted, if that query was being used in any of the event-handlers, there is no way for the builder to know that the event-handler is disconnected.

Describe the solution you'd like

When a query is deleted, if that query was being used in any of the event-handlers (components, queries or even on-page-load event handlers):

Must have

  1. Send an error message to the debugger:
Component Event Errors
[Component ${Component_Name} ${Event_Handler_Name} on ${Page_Name}]
No query is associated with the action

Good to have

  1. Clicking on each item of the debugger message should open the corresponding component or the page event manager
  2. In event manager, if any action has a disconnected query, it should have a red outline
Solution

https://app.clickup.com/37484951/v/dc/13qycq-2704/13qycq-23976 - read the section on proactive error handling.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing query deletion and the run-query event handlers described in the issue, then locate the debugger error display and the component or page event-manager views. Confirm how disconnected actions are represented and how debugger items navigate. Done means deleted queries produce the specified debugger error, with the optional navigation and red-outline behavior handled if included.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.