Skip to content

UI: Fix missing labels #11102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.20
Choose a base branch
from
Open

UI: Fix missing labels #11102

wants to merge 1 commit into from

Conversation

Pearl1594
Copy link
Contributor

Description

This PR adds missing labels
Before Fix:
image

After fix:
image

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds missing UI labels and corrects a label key in the Service Providers tab.

  • Fixed the label key used for NSX providers in the Vue component.
  • Added new translation entries for Tier-0 Gateway, Transport Zone, and Edge Cluster.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ui/src/views/infra/network/ServiceProvidersTab.vue Updated the title key from label.nsx.controller to label.nsx.provider.
ui/public/locales/en.json Added translation entries for label.tier0gateway, label.transportzone, and label.edgecluster.
Comments suppressed due to low confidence (1)

ui/public/locales/en.json:2308

  • [nitpick] The translation keys use concatenated naming (e.g., label.tier0gateway). For improved consistency and readability, consider a more structured key pattern (e.g., label.nsx.tier0Gateway) and alphabetize new entries.
"label.tier0gateway": "Tier-0 Gateway",

@@ -1118,7 +1118,7 @@ export default {
],
lists: [
{
title: 'label.nsx.controller',
title: 'label.nsx.provider',
Copy link
Preview

Copilot AI Jun 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The label key 'label.nsx.provider' isn’t defined in the locales, so it will render as a missing translation at runtime. Please add an entry to ui/public/locales/en.json, for example: "label.nsx.provider": "NSX Provider".

Copilot uses AI. Check for mistakes.

@Pearl1594
Copy link
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link

@Pearl1594 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.15%. Comparing base (ba0204f) to head (f98bde8).

Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #11102   +/-   ##
=========================================
  Coverage     16.15%   16.15%           
  Complexity    13277    13277           
=========================================
  Files          5657     5657           
  Lines        497939   497939           
  Branches      60386    60386           
=========================================
  Hits          80443    80443           
  Misses       408532   408532           
  Partials       8964     8964           
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/11102 (QA-JID-654)

Copy link

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants