Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizable (or Expandable) Trigger Editing Window #9180

Open
jprmachado opened this issue Jan 14, 2025 · 0 comments
Open

Resizable (or Expandable) Trigger Editing Window #9180

jprmachado opened this issue Jan 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jprmachado
Copy link

jprmachado commented Jan 14, 2025

Is your feature request related to a problem? Please describe.

While limiting the trigger editor to around 15 lines may be sufficient for simpler configurations, it becomes problematic when writing more complex or longer trigger logic. In our workflow, a single query can be used by multiple triggers, so we often embed a fair amount of logic into the trigger field itself. This results in lengthy scripts that are difficult to maintain in a small, fixed-size text box. Scrolling back and forth makes it challenging to see the full picture, spot potential mistakes, or easily modify the code.

Image

Describe the solution you'd like

A resizable (or otherwise expandable) trigger editor where users can see more lines of code at once. Ideally, this could be implemented via:

  1. A drag-to-resize handle that lets the user expand the editor’s height (and possibly width).
  2. A collapsible/expandable “full-screen” or “pop-out” mode to allow for an even broader view of the trigger logic.

Having this flexibility would greatly ease editing, debugging, and reviewing longer trigger scripts.

Describe alternatives you've considered

Writing the code in an external editor (e.g., IDE) and then pasting it back in. However, AFIK there is no painless IDE and would require lots of refactoring to be usable in the dashboard context.

Additional context

v 2.18.0

@jprmachado jprmachado added the enhancement New feature or request label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant