[dashboard] filtering apps by category is broken when no apps belong to any category.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
High
|
Li Xipeng | ||
Kilo |
Fix Committed
|
High
|
Kirill Zaitsev |
Bug Description
To reproduce:
1) Upload several packages.
2) Make sure you have some categories defined and a category with no pkgs in it.
3) Create an environment
4) In the env component list view select a category with zero apps in it.
5) Select All in the same drop down.
Observed result: no apps, even though we chose All (or any category with apps in it)
Expected result: all apps should be displayed (or apps in the corresponding category)
NOTE: Filtering by categories, that have packages in them work as expected.
NOTE: The obvious user-friendly fix would be to show only categories that have at least one app in them. It's senseless to filter apps by category with 0 apps in it, from user standpoint.
-------
The category menu is not hidden after the desired category is selected. User gave to click somewhere to hide it.
description: | updated |
Changed in murano: | |
milestone: | none → liberty-1 |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
Changed in murano: | |
assignee: | nobody → Li Xipeng (lixipeng) |
Changed in murano: | |
status: | Confirmed → Fix Released |
Changed in murano: | |
status: | Fix Released → Confirmed |
Changed in murano: | |
milestone: | liberty-1 → liberty-2 |
Changed in murano: | |
status: | Confirmed → In Progress |
tags: |
added: dashboard kilo-backport-potential removed: murano |
Changed in murano: | |
status: | Fix Committed → Fix Released |
tags: | added: in-stable-kilo |
Changed in murano: | |
milestone: | liberty-2 → 1.0.0 |
Changed in murano: | |
milestone: | 1.0.0 → 1.0.1 |
Same behavior with "Search":
1) Upload several packages.
2) Create an environment
3) In the env component list type something random to "Search" field and click on "Enter"
4) Type the name of one apps to the "Search" and click on "Enter"
Observed result:
Chosen app has to be shown
Actual result:
Nothing happened after step 4