pagination and fixed filter will not work together
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
High
|
goutham pratapa |
Bug Description
Steps to Reproduce:
1. Have several images
I have 2 Public and 5 Project images as displayed in Admin > Images. Please see (A) in attachment.
2. Now if you go to Project > Images, you will see at the top 3 buttons. For me it says: Project (5), Shared With Me (0) and Public (2)
3. If you click on those, they will show you the images in those categories (see (B) in attachment)
4. Now, check-out this patch: https:/
5. Go to Settings and set Items Per Page to 2
6. On Project > Images, it says Project (2), Shared With Me (0) and Public (1) (see (C) in attachment)
=> This is not accurate though. This is applying those filters on the *current items* displayed on the page. With pagination enabled those are only 2 items.
DRF Added: the Prev and Next buttons don't work quite as expected here either. I've included my scenario and notes in comments below.
Questions:
Do we want to pagination and fixed filter to work together? Or just stick with what we have now (even though Glance supports pagination)?
Possible solution:
I don't think we should use the FixedFilter. It seems like we plan on eventually supporting filtering by column and if we have both FixedFilter and Filter - that would be confusing. Maybe we can add a 'Category' column and have Project, Shared with Me and Public as entries. Then have a dropdown menu with the choice 'Category.' This would be align with the Admin > Instances filter. Something like this?
tags: | added: horizon-core ux |
Changed in horizon: | |
assignee: | nobody → Adriano (dritec) |
assignee: | Adriano (dritec) → nobody |
Changed in horizon: | |
assignee: | nobody → goutham pratapa (goutham-pratapa) |
I prefer the proposed possible solution. Overall, as a product I think it is important to have consistent support across the different table views. Ignoring that for now..
What is the history / why does images use FixedFilter while other tables do not. Is there concern over the quantity of images, so we have a filter set initially? Or are Project, Shared with Me, and Public filters more important and warrant a higher level of visibility than the 'normal' table filter gives?