Skip to content

ui: make vpc cidr required when not showing cidrsize#11393

Merged
sureshanaparti merged 1 commit intoapache:4.20from
shapeblue:ui-vpc-cidr
Aug 11, 2025
Merged

ui: make vpc cidr required when not showing cidrsize#11393
sureshanaparti merged 1 commit intoapache:4.20from
shapeblue:ui-vpc-cidr

Conversation

@shwstppr
Copy link
Copy Markdown
Contributor

@shwstppr shwstppr commented Aug 5, 2025

Description

Fixes #11391

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

image

How Has This Been Tested?

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

@apache apache deleted a comment from blueorangutan Aug 5, 2025
@apache apache deleted a comment from blueorangutan Aug 5, 2025
@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Aug 5, 2025

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

UI build failed: ✖️
(SL-JID-718)

Fixes apache#11391

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Aug 5, 2025

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

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

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.35%. Comparing base (8756be5) to head (178f3d3).
⚠️ Report is 35 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11393      +/-   ##
============================================
+ Coverage     16.16%   17.35%   +1.19%     
- Complexity    13279    15230    +1951     
============================================
  Files          5656     5885     +229     
  Lines        497884   525632   +27748     
  Branches      60378    64162    +3784     
============================================
+ Hits          80463    91225   +10762     
- Misses       408466   424110   +15644     
- Partials       8955    10297    +1342     
Flag Coverage Δ
uitests 3.63% <ø> (-0.38%) ⬇️
unittests 18.39% <ø> (+1.38%) ⬆️

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

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

@shwstppr shwstppr marked this pull request as ready for review August 5, 2025 10:15
@shwstppr shwstppr requested a review from weizhouapache August 5, 2025 10:16
Copy link
Copy Markdown
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

thanks @shwstppr for the fix

@DaanHoogland
Copy link
Copy Markdown
Contributor

code looks good and tested, but in this case could we have the place holder or the tooltip display a default cidr or a description of possible formats? If I enter only “10” it is accepted by the UI but not by the service layer.

@sureshanaparti
Copy link
Copy Markdown
Contributor

@shwstppr can rebase this with 4.20 (the issue raised for 4.20.1)?

@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Aug 6, 2025

@sureshanaparti I'm okay with it being added in main

@DaanHoogland DaanHoogland added this to the 4.21.0 milestone Aug 6, 2025
@DaanHoogland
Copy link
Copy Markdown
Contributor

code looks good and tested, but in this case could we have the place holder or the tooltip display a default cidr or a description of possible formats? If I enter only “10” it is accepted by the UI but not by the service layer.

@shwstppr , should we create a new issue for this?

@shwstppr shwstppr changed the base branch from main to 4.20 August 6, 2025 12:32
@shwstppr
Copy link
Copy Markdown
Contributor Author

shwstppr commented Aug 6, 2025

@sureshanaparti I've changed the base branch
@DaanHoogland will check but I guess a separate issue with or without this change

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Collaborator

@RosiKyu RosiKyu left a comment

Choose a reason for hiding this comment

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

LGTM - tested and verified the fix

image

@sureshanaparti sureshanaparti merged commit f5b4858 into apache:4.20 Aug 11, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache CloudStack 4.21.0 Aug 11, 2025
@DaanHoogland DaanHoogland deleted the ui-vpc-cidr branch August 11, 2025 15:15
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 4, 2025
Fixes apache#11391

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

CIDR field not marked as required

6 participants