Skip to content

Conversation

@nvazquez
Copy link
Contributor

@nvazquez nvazquez commented Mar 17, 2025

Description

This PR fixes a regression on the UI in which the AS Numbers menu tab was removed, caused by the merge commit: 34d2a3b (check network.js file diff)

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?

Before:
Screenshot 2025-03-17 at 12 32 22

After:
Screenshot 2025-03-17 at 12 49 25

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

@nvazquez nvazquez force-pushed the ui-fix-as-numbers branch from 4d2b0c2 to 84a2b04 Compare March 17, 2025 15:40
@nvazquez nvazquez changed the base branch from main to 4.20 March 17, 2025 15:41
@nvazquez nvazquez changed the title UI: Restore AS Numbers menu UI: Restore AS Numbers and IPv4 Subnets menus Mar 17, 2025
@nvazquez
Copy link
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link

@nvazquez 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 Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.01%. Comparing base (f8adedc) to head (34c525a).
Report is 27 commits behind head on 4.20.

Additional details and impacted files
@@            Coverage Diff            @@
##               4.20   #10580   +/-   ##
=========================================
  Coverage     16.00%   16.01%           
- Complexity    13104    13115   +11     
=========================================
  Files          5651     5651           
  Lines        495843   495881   +38     
  Branches      60045    60048    +3     
=========================================
+ Hits          79363    79410   +47     
+ Misses       407624   407608   -16     
- Partials       8856     8863    +7     
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 16.85% <ø> (+<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.

Copy link
Member

@weizhouapache weizhouapache left a comment

Choose a reason for hiding this comment

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

code lgtm

image

@blueorangutan
Copy link

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

@Pearl1594 Pearl1594 moved this to In Progress in ACS 4.20.1 Mar 17, 2025
Copy link
Contributor

@Pearl1594 Pearl1594 left a comment

Choose a reason for hiding this comment

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

LGTM.

@vishesh92
Copy link
Member

I think we need to add some more changes back from the 34d2a3b. Specifically around guest network's details, bgp.peer, rotuing.firewall tab, etc.

@nvazquez
Copy link
Contributor Author

Thanks @vishesh92 I have addressed that on the last commit, can you please re-review?

@nvazquez
Copy link
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link

@nvazquez 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/10580 (QA-JID-578)

@rohityadavcloud rohityadavcloud added this to the 4.20.1 milestone Mar 18, 2025
@Pearl1594
Copy link
Contributor

@vishesh92 is your concern addressed?

@vishesh92
Copy link
Member

@nvazquez can you also revert this change
image

@rosi-shapeblue
Copy link
Collaborator

@blueorangutan test keepEnv

@blueorangutan
Copy link

@rosi-shapeblue a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@nvazquez
Copy link
Contributor Author

nvazquez commented Apr 8, 2025

Thanks @vishesh92 - I have addressed your last comments, can you please re-review?

@blueorangutan package

@blueorangutan
Copy link

@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12981

Copy link
Member

@vishesh92 vishesh92 left a comment

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@DaanHoogland 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/10580 (QA-JID-594)

@DaanHoogland
Copy link
Contributor

I am not sure why, this works in a 4.20.1 lab env but not against qa, something is incompatible between the new UI and the old API , I think. I also think this is good for merge.
cc @nvazquez @Pearl1594

@weizhouapache
Copy link
Member

I am not sure why, this works in a 4.20.1 lab env but not against qa, something is incompatible between the new UI and the old API , I think. I also think this is good for merge. cc @nvazquez @Pearl1594

it might be better to have QAs for at least 3 ACS versions

  • dev (main)
  • stable (4.20)
  • previous-stable lts (4.19)

@nvazquez
Copy link
Contributor Author

Hi guys, I've done dev testing for 4.20 and main branches as both were affected and this PR fixed it. Will double check 4.19

@nvazquez
Copy link
Contributor Author

@weizhouapache @DaanHoogland @Pearl1594 4.19 is not affected as the feature that introduced AS Numbers and IPv4 Subnets sections was introduced on 4.20 (#9470)

@weizhouapache
Copy link
Member

thanks @nvazquez

verified locally

left panel
image

tab of routed network
image

details of routed network
image

@weizhouapache weizhouapache merged commit d1df418 into apache:4.20 Apr 11, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ACS 4.20.1 Apr 11, 2025
@Pearl1594 Pearl1594 deleted the ui-fix-as-numbers branch April 11, 2025 12:58
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
* UI: Restore AS Numbers menu

* Restore IPv4 Subnets menu

* Add missing details for network and VPC details and tabs for Isolated networks

* Address latest review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants