Skip to content

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
Contributor

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",

lists: [
{
title: 'label.nsx.controller',
title: 'label.nsx.provider',
Copy link

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.

@codecov
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.16%. Comparing base (1b74c2d) to head (21191fa).
Report is 2 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11102      +/-   ##
============================================
- Coverage     16.16%   16.16%   -0.01%     
+ Complexity    13278    13275       -3     
============================================
  Files          5656     5656              
  Lines        497813   497813              
  Branches      60373    60373              
============================================
- Hits          80458    80448      -10     
- Misses       408401   408413      +12     
+ Partials       8954     8952       -2     
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.01% <ø> (-0.01%) ⬇️

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
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

@DaanHoogland
Copy link
Contributor

@Pearl1594 code looks good, but i wouldn’t know where to even find the missing labels. Are these available on qa? Or must i have specific hard-/software to test this?

@Pearl1594
Copy link
Contributor Author

I don't think you'd be able to see it on QA - it needs to be nsx enabled.

@fmaximus
Copy link
Contributor

fmaximus commented Jul 1, 2025

Copilot mentioned label.nsx.provider is missing, but it is present

"label.nsx.provider": "NSX Provider",

@Pearl1594 Pearl1594 requested a review from sureshanaparti July 4, 2025 12:34
Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

@sureshanaparti sureshanaparti added this to the 4.20.2 milestone Jul 4, 2025
@DaanHoogland
Copy link
Contributor

Copilot mentioned label.nsx.provider is missing, but it is present

"label.nsx.provider": "NSX Provider",

yeah, co-pilot does not look at the code, only at the diffs :( makes it somtimes less useful.

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@sureshanaparti
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@sonarqubecloud
Copy link

@sureshanaparti sureshanaparti merged commit 948ecda into 4.20 Jul 24, 2025
49 of 50 checks passed
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Aug 6, 2025
Co-authored-by: Suresh Kumar Anaparti <[email protected]>
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.

6 participants