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

Model/Version Detail - "Add property" should expand existing properties and focus the input field

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Dashboard
    • Testable

      Based on feedback from https://github.com/opendatahub-io/odh-dashboard/pull/2770 (https://issues.redhat.com/browse/RHOAIENG-2235)

      See specific comment here: https://github.com/opendatahub-io/odh-dashboard/pull/2770#issuecomment-2095727304

      In the Properties section of both the Model Details and Model Version details screens (implemented by the `ModelPropertiesDescriptionListGroup` component):

      • Current behavior on clicking "Add property":
        • The table is still in its collapsed form ("Show X more properties" appears and not all properties are shown)
        • A new row appears in the Properties table with text inputs for Key and Value, below the truncated list of properties (above the "Show X more properties" button)
        • The new text input is not automatically focused
      • Desired behavior on clicking "Add property":
        • The table expands as if the user clicked "Show X more properties", if applicable
        • A new row appears in the Properties table with text inputs for Key and Value, below the full list of properties (above the "Show fewer properties" button)
        • The text input for the new row's Key field automatically gains cursor focus

            Unassigned Unassigned
            mikejturley Mike Turley
            RHOAI Dashboard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: