Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-1186

Custom serving runtimes can have arbitrarily long names, causing the dashboard to break

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • Low

    Description

      Description of problem:

      When creating a custom runtime, users can give it an arbitrarily long display name. This can cause the "serving runtimes" section of the dashboard to break (i.e. buttons get pushed out of reach) if the name is long enough.

      This is what it looks like on a 2K screen:

      And this is the same view on an ultrawide monitor:

      It's worth underlining that if the user does not have access to an ultrawide monitor they would be unable to either disable, modify or delete the offending serving runtime.
      There could be multiple solutions here, e.g. an horizontal scroller if the name exceeds a certain length, wrapping the name on multiple lines, or simply not allowing the display name to go above a certain length.

      Prerequisites (if any, like setup, operators/versions):

      RHODS 1.27/28

      Steps to Reproduce

      1. Go to serving runtimes page
      2. Create a new serving runtime with a long display name

      Actual results:

      UI of the page breaks, hiding buttons

      Expected results:

      long name is handled in the UI or not allowed

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Workaround:

      Don't use a long display name?

      Additional info:

      Attachments

        1. image (10).png
          image (10).png
          142 kB
        2. image (11).png
          image (11).png
          199 kB
        3. image-2023-06-15-10-30-27-079.png
          image-2023-06-15-10-30-27-079.png
          106 kB

        Activity

          People

            Unassigned Unassigned
            rhn-support-lgiorgi Luca Giorgi
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty