-
Notifications
You must be signed in to change notification settings - Fork 898
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
Add Search Bar for Cloud Tenants Images and Instances Page #23002
Comments
Hey @Fryguy , implementing a search bar will be a time-consuming task much more than this. ManageIQ/manageiq-ui-classic#9159. Possible ToDo's-
We need to dig deep to find a solution. In the meantime, @Rajkannan-2252 can refer to the previous PRs and post his findings here to discuss further. |
Hi @jeffibm, Thank you for your response and for trying out the solution from the previous pull request. It's unfortunate that the search bar didn't appear on our page even after adding the React component above the specified line in the cloud_tenant/show.html.haml#L8 file. |
Hey @Rajkannan-2252 , Adding the component directly is not enough :) You will have to improvise a bit to make it work. I only suggested that you refer to the previous PR to get some ideas. |
Hello @jeffibm Thanks for the input. We are trying this from our end too. Meanwhile, kindly let us know if you get any outputs for the same. |
Hello @jeffibm "Based on our previous pull request, we're looking to incorporate the code snippet for the filter_with_name method. You can find it at this location: manageiq/app/models/miq_template.rb Line 35 in 71899d6
For this request, where should this code be added? |
Hey, @Rajkannan-2252 , I have no idea about this. |
"Hi @jeffibm, I implemented the changes from the previous pull request as instructed. While I successfully added the search bar function to the cloud tenant page, I encountered an issue with filtering the search results. I've provided screenshots below for your reference. Thank you." |
Hey @Rajkannan-2252 , I will have to debug this whole module before I can support you with answers, and it's way more complicated than the previous PR. we will let you know once the resources are available to work on this. |
Hi @jeffibm, Thank you for the update. Take your time with the debugging process. |
Hi @jeffibm, Any updates on this PR? |
Hey @Rajkannan-2252 , no updates yet. will start on this when resources are released from high-priority tasks. |
Hello @jeffibm, Got it! Just let me know when you're ready to proceed, and I'll be here to assist you with whatever you need. |
Hello @Fryguy , Any updates on this PR? |
Hello @jeffibm , Any updates on this PR? |
Hi @GilbertCherrie , I need to have a search bar for these pages, When I go to Cloud Tenants, I can see the tenant user dashboard. In that dashboard, there are multiple images and instances, so I need a search option to filter the images or instances. Path: Compute/Cloud/Tenants/Tenant Dashboard/Tenant Name (All Images), (All Instances) Could you please guide me on how to add a search bar? For your reference, I shared the screenshots below. |
I'm not too sure how to do it and don't really have the bandwidth to look into this right now, @jeffibm do you have any idea how to add the search bar here? |
Hi @jeffibm, I understand you're busy. For your reference, we added a new React component named FilterImage. Below are the details: Component File /** Component to filter the images at provisioning instances page. */ useEffect(() => { /** Function to handle the clear button's click event of the search bar. */ /** Function to render the Clear button. */ /** Function to render the Lens button. */ return ( <TextInput hideLabel value={data.searchText} placeholder={('Search with name')} labelText={('Search')} id="filter_with_name" disabled={data.loading} onChange={(event) => setData({ ...data, searchText: event.target.value })} /> { data.searchText && renderClear() } { renderLens() } ); }; export default FilterImage; FilterImage.propTypes = { View File
Could you please review this and let me know if anything needs to be adjusted? |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on |
Hi @Fryguy,
I need to have a search bar for these pages,
When I go to Cloud Tenants, I can see the tenant user dashboard. In that dashboard, there are multiple images and instances, so I need a search option to filter the images or instances.
Path: Compute/Cloud/Tenants/Tenant Dashboard/Tenant Name (All Images), (All Instances)
Could you please guide me on how to add a search bar?
For your reference, I shared the screenshots below.
The text was updated successfully, but these errors were encountered: