[ZBXNEXT-4722] Rename "like" and "=" everywhere in front-end, make operators consistent Created: 2018 Sep 12  Updated: 2024 Apr 10  Resolved: 2018 Sep 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 4.0.0rc1, 4.0 (plan)

Type: Change Request Priority: Trivial
Reporter: Rostislav Palivoda Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-4723 Server side changes to rename "like" ... Change Request (Sub-task) Closed Viktors Tjarve  
Team: Team B
Team: Team B
Sprint: Sprint 42, Sprint 43

 Description   

Intro

Current matching operators "like" and "not like" are very confusing because it is not clear how they work judging by name. Another problem is that we have two operators doing similar matching, i.e. "=" and "Equal". We should make it consistent and avoid confusion.

Acceptance criteria

  1. Existing operators "like" and "not like" must be renamed to "contains" and "does not contain"
  2. Existing operators "=" and "<>" must be renamed to "equal" and "not equal"
  3. Placeholders must be used for the following conditions:
    1. matches/does not match: regular expression
  4. It affects the following places in the front-end:
    1. Action conditions
    2. LLD filtering
    3. Event correlation
    4. Filters
  Before After
Action conditions
:: Triggers
Application =, like, not like equal, contains, does not contain
Host =, <> equal, not equal
Host group =, <> equal, not equal
Maintenance status in, not in in, not in
Tag =, <>, like, not like equal, not equal, contains, does not contain
Tag value =, <>, like, not like equal, not equal, contains, does not contain
Template =, <> equal, not equal
Time period in, not in in, not in
Trigger =, <> equal, not equal
Trigger name like, not like contains, does not contain
Trigger severity =, <>, >=, <= equal, not equal, more or equal, less or equal
:: Discovery
Discovery check =, <> equal, not equal
Discovery object = equal
Discovery rule =, <> equal, not equal
Discovery status = equal
Host IP =, <> equal, not equal
Proxy =, <> equal, not equal
Received value =, <>, >=, <=, like, not like equal, not equal, more or equal, less or equal, contains, does not contain
Service port =, <> equal, not equal
Service type =, <> equal, not equal
Uptime/Downtime >=, <= more or equal, less or equal
:: Auto registration
Host metadata like, not like contains, does not contain
Host name like, not like contains, does not contain
Proxy =, <> equal, not equal
:: Internal    
Application =, like, not like equal, contains, does not contain
Event type = equal
Host =, <> equal, not equal
Host group =, <> equal, not equal
Template =, <> equal, not equal
LLD filtering
Filter matches, does not match matches, does not match
Event correlation
Old event tag = equal
New event tag = equal
New event host group =, <> equal, not equal
Event tag pair = equal
Old event tag value =, <>, like, not like equal, not equal, contains, does not contain
New event tag value =, <>, like, not like equal, not equal, contains, does not contain
Filters
Monitoring→Problems (Tag) Like, Equal Contains, Equal
Inventory->Hosts like,exacly contains, equal

Open questions

  1. Any other places in the front-end?


 Comments   
Comment by Alexander Vladishev [ 2018 Sep 18 ]

Available in 4.0.0rc1 r85017.

Comment by Alexander Vladishev [ 2018 Sep 18 ]

(2) [D] Documentation needs to be updated

martins-v Updated:

RESOLVED

iivs

REOPENED

martins-v Thanks, RESOLVED

iivs Great!
CLOSED

Generated at Sat Apr 20 15:31:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.