Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4722

Rename "like" and "=" everywhere in front-end, make operators consistent

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0.0rc1, 4.0 (plan)
    • None
    • Frontend (F)
    • None
    • Sprint 42, Sprint 43

      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?

        There are no Sub-Tasks for this issue.

            iivs Ivo Kurzemnieks
            palivoda Rostislav Palivoda
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: