ui: show project instance volumes in default view - #14158
Open
1fanwang wants to merge 2 commits into
Open
Conversation
Fixes: apache#14070 Signed-off-by: 1fanwang <1fannnw@gmail.com>
Signed-off-by: 1fanwang <1fannnw@gmail.com>
|
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Opening a project instance from Default view shows an empty Volumes tab even though its disks exist. The tab now includes accessible project resources while keeping the instance ID filter, so the disks appear without switching projects.
Fixes: #14070
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
The reproduction checks the rendered table rows; the layout is unchanged.
How Has This Been Tested?
The committed regression mounts Vue against a local HTTP fixture with CloudStack's project filtering. It exercises the API client, Axios project selection, and rendered rows without replacing those functions.
I also ran the mounted tab against CloudStack 4.22.1.0 with real MySQL and API-created instances on its Simulator hypervisor. The live reproduction and logs cover that run.
Raw logs
From
ui; the test and its HTTP fixture are both in this diff:Before:
After:
How did you try to break this feature and the system with this change?
I also selected a different project and exercised account and system VMs. Regression cases cover disk order and prefetched rows.