Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10851

Dynamic Plugin Template: Unable to use React Developer Tools when running console as an image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.16.0
    • 4.13.0
    • Management Console
    • None
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Production builds of the console frontend bundle have historically had source maps disabled. This meant browser tools for analyzing source code could not be used on production builds. We've updated the console Webpack configuration to enable source maps on production builds. Browser tools will now work as expected for both dev and production builds.
      Show
      Production builds of the console frontend bundle have historically had source maps disabled. This meant browser tools for analyzing source code could not be used on production builds. We've updated the console Webpack configuration to enable source maps on production builds. Browser tools will now work as expected for both dev and production builds.
    • Bug Fix
    • In Progress

    Description

      Currently, the plugin template gives you instructions for running the console using a container image, which is a lightweight to do development and avoids the need to build the console source code from scratch. The image we reference uses a production version of React, however. This means that you aren't able to use the React browser plugin to debug your application.

      We should look at alternatives that allow you to use React Developer Tools. Perhaps we can publish a different image that uses a development build. Or at least we need to better document building console locally instead of using an image to allow development builds.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jonjacks Jon Jackson
              spadgett@redhat.com Samuel Padgett
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: