-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
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