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

Provide an extension for a resource editor with the yaml-form toggle

    XMLWordPrintable

Details

    Description

      Enable creating and editing a resource in a custom form with option to switch between yaml and form views and keeping them synchronized.
      It should be implemented through an extension.
      It should provide the entire edit and create page including the header and the description.
      Something like this:
      {
      yamlSettings // if needed
      formComponent:

      { codeRef }
      sanitizeToForm: { codeRef }

      //for translating yaml data to form data
      sanitizeToYaml:

      { codeRef }

      //for translating form data to yaml data
      // some page based settings for ~new / edit like pages
      //form foother settings
      handleSubmit, handleCancel?
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            brotman@redhat.com Bat-Zion Rotman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: