MGMT-20237: Change tooltip for Openshift AI bundle#2943
Conversation
|
@ammont82: This pull request references MGMT-20237 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughThis change consolidates the previously separate 'openshift-ai-nvidia' and 'openshift-ai-amd' bundle specifications into a single 'openshift-ai' bundle within the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI
participant bundleSpecs
User->>UI: Selects AI GPU bundle
UI->>bundleSpecs: Retrieve 'openshift-ai' bundle specification
bundleSpecs-->>UI: Returns consolidated bundle details
UI-->>User: Displays unified 'openshift-ai' bundle description
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsxOops! Something went wrong! :( ESLint: 8.57.1 ESLint couldn't find the config "@openshift-assisted/eslint-config" to extend from. Please check that the name of the config is correct. The config "@openshift-assisted/eslint-config" was referenced from the config file in "/libs/ui-lib/.eslintrc.cjs". If you still have problems, please stop by https://eslint.org/chat/help to chat with the team. ✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@ammont82: This pull request references MGMT-20237 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.19.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx (1)
31-31: Consider documenting the reasoning behind empty incompatible bundlesPreviously, the NVIDIA and AMD bundles were likely mutually incompatible. With the new consolidated approach, you're setting
incompatibleBundles: []. This makes sense for a unified bundle, but adding a code comment explaining this design decision might help future maintainers understand the rationale.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: circular-deps
- GitHub Check: tests
- GitHub Check: unit-tests
- GitHub Check: format
- GitHub Check: translation-files
- GitHub Check: lint
🔇 Additional comments (2)
libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx (2)
29-40: Consolidated OpenShift AI bundle implementation looks good!The consolidation of the previously separate hardware-specific bundles ('openshift-ai-nvidia' and 'openshift-ai-amd') into a single 'openshift-ai' bundle simplifies the user experience. The dynamic description that adapts based on discovered GPUs is a more flexible approach.
35-36: Review the wording of the descriptionThe updated tooltip text is more succinct but consider if users would benefit from knowing:
- What specific capabilities each GPU type enables
- Any minimum hardware requirements that still apply
- Whether users need to take any action to enable the right modules
While the simplified text improves UX, some users might need more detailed guidance without the external documentation link that was previously available.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ammont82, rawagner The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
91823a0
into
openshift-assisted:master


Related with https://issues.redhat.com/browse/MGMT-20237
Summary by CodeRabbit
New Features
Improvements