CONSOLE-5394: Update Quick create tooltip to clarify cluster context#16744
CONSOLE-5394: Update Quick create tooltip to clarify cluster context#16744itsptk wants to merge 2 commits into
Conversation
Update the Quick create (+) tooltip and aria-label to use the cluster infrastructureName from the Infrastructure resource, with a fallback while loading. https: //redhat.atlassian.net/browse/CONSOLE-5394 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
|
@itsptk: This pull request references CONSOLE-5394 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 story to target the "5.0.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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: itsptk The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
WalkthroughThe Quick create dropdown tooltip and accessibility label now use “Quick create in cluster,” with the matching English localization key replacing the generic label. ChangesQuick create cluster label
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Revert the infrastructureName-based tooltip. Console team review confirmed status.infrastructureName is an internal infra slug (install name plus random suffix), not a user-facing display name. The console already fetches Infrastructure/cluster on Overview but deliberately shows API URL, Cluster ID, and platform instead. There is no canonical on-cluster cluster display name today; see CONSOLE-2217 and the cluster naming doc. ACM and OCM use separate identifiers. Static copy matches the Jira acceptance criteria and avoids showing opaque values like babbar-9d6hs in the masthead. https: //redhat.atlassian.net/browse/CONSOLE-5394 Co-authored-by: Cursor <cursoragent@cursor.com>
Analysis / Root cause:
Users cannot tell which cluster context the masthead Quick create (+) action applies to. UX research recommendation: UXDR-4295. Jira: CONSOLE-5394. Design story: HPUX-1884.
Solution description:
Update the Quick create masthead tooltip and
aria-labelfrom "Quick create" to "Quick create in cluster".Exploration (reverted): An earlier commit on this branch used
Infrastructure/cluster→status.infrastructureNameto show a dynamic cluster name. Console team / helpdesk review concluded this field is an internal infrastructure ID (install name truncated to 21 chars + random 5-char suffix), not a user-facing display name. Examples:babbar-9d6hs,ci-op-30rwpbly-96d3d-7hnn8. The console already fetchesInfrastructure/clusteron cluster Overview but shows API URL, Cluster ID (UUID), and platform — notinfrastructureName.Historical context: There is no canonical on-cluster cluster display name in core OCP CRDs today. Related prior work:
Static copy is the safer path until a proper display name API exists. A proper cluster display name in the masthead/tab title would be a separate effort.
Screenshots / screen recording:

Old tooltip:
New tooltip:

Test setup:
cd frontend && yarn run devsource ./contrib/oc-environment.sh && ./bin/bridgeTest cases:
aria-labelmatches tooltip textBrowser conformance:
Additional info:
Draft — open for UX review. No API fetch required; minimal change aligned with Jira acceptance criteria.
Reviewers and assignees:
@openshift/team-ux-review