Skip to content
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

ui: fix dashboard limit format #9060

Merged
merged 1 commit into from May 20, 2024

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented May 8, 2024

Description

An undefined variable item was used.

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

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Before:
image

After:
image

How Has This Been Tested?

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

An undefined variable `item` was used.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 14.96%. Comparing base (87e7c57) to head (478d495).
Report is 3 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #9060      +/-   ##
============================================
- Coverage     14.96%   14.96%   -0.01%     
+ Complexity    10995    10990       -5     
============================================
  Files          5373     5373              
  Lines        469005   469024      +19     
  Branches      58953    58330     -623     
============================================
- Hits          70198    70183      -15     
- Misses       391036   391071      +35     
+ Partials       7771     7770       -1     
Flag Coverage Δ
uitests 4.31% <ø> (ø)
unittests 15.66% <ø> (-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.

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

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

Didn't test but LGTM

@rohityadavcloud rohityadavcloud added this to the 4.19.1.0 milestone May 8, 2024
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
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/9060 (QA-JID-337)

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

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

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

Didn’t test though

@DaanHoogland
Copy link
Contributor

@shwstppr , I see no difference between your before and after pictures. Can you highlight what has changed, please?

@shwstppr
Copy link
Contributor Author

@DaanHoogland there is a difference in before and after screens. There is no percentage label for unlimited resource types (check Instances label)

More importantly in certain scenarios, the code itself is incorrect using the wrong variables. It may log an error similar to that reported in #9045 in certain cases while trying to find undefinedlimit property
https://private-user-images.githubusercontent.com/110984295/328852853-5ca04e09-eaa8-4466-bc2d-5df59fad1973.png

@rohityadavcloud rohityadavcloud merged commit f0df8d7 into apache:4.19 May 20, 2024
20 of 23 checks passed
@rohityadavcloud rohityadavcloud deleted the fix-ui-dashboardmiscerror branch May 20, 2024 09:15
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.

None yet

7 participants