Alert the debugger, whenever a query connected to any run-query event handler is deleted
Nobody has claimed this yet.
- 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
- 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
- Clicking on each item of the debugger message should open the corresponding component or the page event manager
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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