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: Dropdown doesn't list all the entries #9729

Open
vishesh92 opened this issue Sep 25, 2024 · 5 comments
Open

UI: Dropdown doesn't list all the entries #9729

vishesh92 opened this issue Sep 25, 2024 · 5 comments

Comments

@vishesh92
Copy link
Member

vishesh92 commented Sep 25, 2024

ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
UI
CLOUDSTACK VERSION
All versions which have the new UI
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

The dropdown in the UI fetches all domains at once with the default page size. If the actual count of resources is higher, the keyword search doesn't work and the domains after the default page size can't be selected in the UI.

STEPS TO REPRODUCE
  1. Create 10 domains with different names.
  2. Set the default page size to 5.
  3. The domain list while launching or importing a VM, doesn't show all the records.

EXPECTED RESULTS
I should be able to see all records or search by keyword and select. Or allow entering a UUID manually.
ACTUAL RESULTS
All entries in the drop down are not listed.
@DaanHoogland
Copy link
Contributor

Hey @vishesh92 have you verified that this problem is not in the API? It sounds like it could have to do with the pagesize and page parameters.

@vishesh92
Copy link
Member Author

Hey @vishesh92 have you verified that this problem is not in the API? It sounds like it could have to do with the pagesize and page parameters.

The problem could be fixed by increasing the pagesize parameter but that would also slow down the UI. And if the number of entries are let's say 10000, it can also increase the load on the database.

@DaanHoogland
Copy link
Contributor

Hey @vishesh92 have you verified that this problem is not in the API? It sounds like it could have to do with the pagesize and page parameters.

The problem could be fixed by increasing the pagesize parameter but that would also slow down the UI. And if the number of entries are let's say 10000, it can also increase the load on the database.

What you are saying is that the problem is not in the UI, right?

@vishesh92
Copy link
Member Author

Hey @vishesh92 have you verified that this problem is not in the API? It sounds like it could have to do with the pagesize and page parameters.

The problem could be fixed by increasing the pagesize parameter but that would also slow down the UI. And if the number of entries are let's say 10000, it can also increase the load on the database.

What you are saying is that the problem is not in the UI, right?

This is an enhancement request. As of now, the end user will have to use the API instead of the UI.

UI should be making search queries with keyword when text is entered in the drop down to ensure that the user can search and select the desired resource irrespective of how many entries are present.

Another possible fix is to allow the user to enter the UUID even if it's not present in the drop down.

@DaanHoogland
Copy link
Contributor

This is an enhancement request. As of now, the end user will have to use the API instead of the UI.

UI should be making search queries with keyword when text is entered in the drop down to ensure that the user can search and select the desired resource irrespective of how many entries are present.

Another possible fix is to allow the user to enter the UUID even if it's not present in the drop down.

Yes, but still it is the API that must be fixed, unless you say that giving the page and pagesize parameters on the CLI will yield the requested results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants