Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4010

Display a warning message from kube-apiserver when creating workloads resource for Create Form Editor

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • Admin Screens
    • None
    • 5
    • False
    • None
    • False
    • OCPSTRAT-924 - Console: Customer Happiness (RFEs) for 4.16

      Implement a toast notification feature in the console UI to notify the user that their action for creating a resource in Workloads for Create Form Editor violated a warn policy though the request was allowed.
       

      See theConfigure OpenShift Console to display warnings from apiserver when creating/updating resources spike on how to reproduce the warn policy response in `oc` CLI

      A.C.

      Display a warning toast notification after create resource action for Workloads resource when using Create Form Editor.

      Additional info:

      • Add `response.headers.get('Warning')` to `consoleFetchCommon` function, and extract both JSON and headers from `consoleFetchCommon`
      • Create a WarningPolicyNotifier component and get the warning response.
      •  Get UX team input on how to display the message on the UI i.e. resource details page, toast or global  notification

      Depends on : Add support for retrieving response.header in consoleFetchCommon function - Done

      Open question:

      • Should the warning message alert on detail page and/or notification drawer be persisted? No
      • Should the user be allowed to dismiss the alert? N/A
      • Should the alert be display above or below the details page tab? N/A
        The open questions have been addressed.

            cajieh Cyril Ajieh
            cajieh Cyril Ajieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: