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 default domainid for add account #8435

Merged
merged 1 commit into from Jan 4, 2024

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Jan 3, 2024

Description

Fixes setting domainid param default value which was being set to 0.

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:
Screenshot from 2024-01-03 18-32-13

After:
Screenshot from 2024-01-03 18-32-55

How Has This Been Tested?

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

Fixes setting domainid param default value which was being set to 0.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr added this to the 4.19.0.0 milestone Jan 3, 2024
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9d4f071) 30.80% compared to head (1236388) 30.80%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8435      +/-   ##
============================================
- Coverage     30.80%   30.80%   -0.01%     
+ Complexity    33981    33977       -4     
============================================
  Files          5341     5341              
  Lines        374864   374863       -1     
  Branches      54518    54518              
============================================
- Hits         115485   115462      -23     
- Misses       244114   244148      +34     
+ Partials      15265    15253      -12     
Flag Coverage Δ
simulator-marvin-tests 24.72% <ø> (-0.01%) ⬇️
uitests 4.39% <ø> (+<0.01%) ⬆️
unit-tests 16.46% <ø> (+<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.

@shwstppr
Copy link
Contributor Author

shwstppr commented Jan 4, 2024

@blueorangutan ui

@blueorangutan
Copy link

@shwstppr 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/8435 (QA-JID-252)

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, the qa link doesn't work for me, any idea on that @shwstppr ?

@shwstppr
Copy link
Contributor Author

shwstppr commented Jan 4, 2024

@DaanHoogland it is working for me. For you is the page to opening or login not working or the fix not working? Incognito window may help

@shwstppr shwstppr marked this pull request as ready for review January 4, 2024 11:55
@@ -303,7 +303,6 @@ export default {
} else {
this.loadMore(apiToCall, page + 1, sema)
}
this.form.domainid = 0
Copy link
Member

Choose a reason for hiding this comment

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

not sure if it's applicable here - there's also a way to delete this.form.domainid if the key/value need to be removed from the object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rohityadavcloud don't think we need to remove domainid from the object as API call will be just adding to the existing list so previous selection will still be there

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.

@shwstppr shwstppr merged commit 746bae7 into apache:main Jan 4, 2024
24 of 25 checks passed
@shwstppr shwstppr deleted the ui-fix-addacc-domainid branch January 4, 2024 12:29
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jan 9, 2024
Fixes setting domainid param default value which was being set to 0.

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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants