[ZBXNEXT-1517] auto-complete for trigger expressions Created: 2012 Nov 16  Updated: 2018 Nov 29

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: autocomplete, expressions, triggers
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

an autocomplete with hints for trigger expressions would be nice.
when writing an expression, sort of dropdown hints could show:

first it suggests to start with open curly brace;
after that, it shows that host or template name should be entered.
as it is entered, dropdown hint shows (limited) hosts or templates whose names match beginning of the entered string.
entries there can be selected with keyboard or mouse
once a matching host or template string is reached, it suggests that it can be continued or a colon can be inserted next.
then similar process to host or template name allows to complete item key (only matching existing keys on that host or template, of course)
once some complete key has been reached, suggest to continue with a dot, then do autocomplete/dropdown for trigger functions.
then suggest to continue with opening parenthesis and show what params are available for the function, which one we are entering right now etc



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Nov 17 ]

Something similar to writing filter (JQL) here in Jira

Comment by Marc [ 2013 Jun 07 ]

That would be pretty cool!

Comment by richlv [ 2018 Nov 29 ]

ZBXNEXT-4893 might be related.

Generated at Wed Jan 22 13:08:05 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.