Skip to content

ui: add an infinite scroll select component #10840

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

Draft
wants to merge 4 commits into
base: 4.20
Choose a base branch
from

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented May 9, 2025

Description

A select component which can retrieve more items from the API when scroll reaches at the end. It will allow selecting options in case of large number of items.

Current issues with the changes that need fixing/testing:

  • Showing name of a preselected item when it is not present in the first fetch
  • Test behavioural consistency

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?

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

Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.13%. Comparing base (f6d0590) to head (5d0f1ee).
Report is 7 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #10840      +/-   ##
============================================
- Coverage     16.13%   16.13%   -0.01%     
+ Complexity    13220    13217       -3     
============================================
  Files          5651     5652       +1     
  Lines        496740   496779      +39     
  Branches      60183    60192       +9     
============================================
+ Hits          80148    80151       +3     
- Misses       407674   407703      +29     
- Partials       8918     8925       +7     
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 16.98% <ø> (+<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.

A select component which can retrieve more items from the API when scoll
reaches at the end. It will allow selecting options in case of large
number of items.

Signed-off-by: Abhishek Kumar <[email protected]>
@shwstppr shwstppr force-pushed the ui-add-infinitescrollselect branch from d90d939 to a05caf7 Compare May 9, 2025 13:03
shwstppr added 2 commits May 9, 2025 19:29
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
@shwstppr
Copy link
Contributor Author

shwstppr commented May 9, 2025

@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/10840 (QA-JID-617)

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.

UI: only 500 projects are listed when add network permission
2 participants