Uploaded image for project: 'Observability UI'
  1. Observability UI
  2. OU-1028

[Edit silence] - Labels should be readonly?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None

      Scenario: Create a new silence and then Edit silence regarding Label # Does not matter if it is All projects or namespace specific

      1. Create a new silence
      2. Label Name = a
      3. Label Value = a
      4. Insert a Comment
      5. Click on Submit
      6. Edit this silence

      Result: Label Name and Label Value fields are visually "editable", however if I try to really edit it, it is not allowed, the same for RegEx and Negative matcher checkboxes, both "editable" but I cannot click on it.
       
      Expected Result:

      • Should this row be disabled, except the REMOVE   button ??
      • or if I can remove it, should I be able to edit existing labels?
      • thinking about existing alerts already silenced by this  "silence rule/definition", if we change labels, should existing silenced alerts that matched this rule be "Firing" again?
         

         
        Per rh-ee-pyurkovi:
        Sounds like they should be read only except for the remove if they aren't actually editable. Could you make a ticket for investigation?
         
        This might be something that we just look to fix during the alerting pages redo that rh-ee-smordech  has been working on, since IDK if they are making any changes to the silence edit/create form
         
         
      • Testing in Recreate silence flow, we have a similar situation where Labels seems to be editable but in fact they are not if you try to type/edit, nothing happens.

              Unassigned Unassigned
              rh-ee-emurasak Evelyn Murasaki
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: