Skip to content

UI: Fix slider component in global settings with Range type - #10187

Merged
DaanHoogland merged 1 commit into
apache:4.19from
scclouds:fix-range-component
Jan 16, 2025
Merged

UI: Fix slider component in global settings with Range type#10187
DaanHoogland merged 1 commit into
apache:4.19from
scclouds:fix-range-component

Conversation

@bernardodemarco

Copy link
Copy Markdown
Member

Description

The slider component for global settings of Range type is currently not working correctly. Its width is equal to 0px, and operators can only set the settings values to 0 or 100%. This PR addresses this issue by fixing the slider's behavior, allowing operators to properly adjust the settings values using the component.

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

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

  • Before:
    Image

  • After:
    Image

How Has This Been Tested?

I verified that global settings of Range type can be modified using the slider component.

@bernardodemarcobernardodemarco added this to the 4.19.2 milestone Jan 14, 2025
@codecov

codecovBot commented Jan 14, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.13%. Comparing base (35fe19f) to head (d31fe5b).
Report is 4 commits behind head on 4.19.

Additional details and impacted files
@@ Coverage Diff @@## 4.19 #10187 +/- ##
=========================================
Coverage 15.13% 15.13% Complexity 11272 11272 =========================================
Files 5408 5408 Lines 473958 473958 Branches 57811 57811 =========================================
+ Hits 71721 71724 +3 + Misses 394219 394217 -2 + Partials 8018 8017 -1 
FlagCoverage Δ
uitests4.30% <ø> (ø)
unittests15.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.

@bernardodemarco

Copy link
Copy Markdown
MemberAuthor

@blueorangutan ui

@blueorangutan

Copy link
Copy Markdown

@bernardodemarco 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/10187 (QA-JID-506)

@DaanHooglandDaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, tested in qa

@shwstpprshwstppr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

code lgtm

@DaanHoogland
DaanHoogland merged commit 9967bb3 into apache:4.19Jan 16, 2025
DaanHoogland added a commit that referenced this pull request Jan 20, 2025
* 4.20:
Maintenance mode: Add host to deployment planner avoid list to fix local storage vm migration (#9892)
Add project-user association normalization script to 4.20.1 upgrade (#10116)
fix slider component for global settings of the range type (#10187)
Clean up network permissions on account deletion (#10176)
rg9975 pushed a commit to rg9975/cloudstack that referenced this pull request Jan 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@bernardodemarco@blueorangutan@shwstppr@DaanHoogland