-
Notifications
You must be signed in to change notification settings - Fork 358
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
[WIP] Introduce the VM description editing page #8954
base: master
Are you sure you want to change the base?
Conversation
@jeffibm is there a supports feature check here? |
1917d66
to
dc81e5b
Compare
2cde17d
to
83c6dd6
Compare
Hey @kbrock , I was able to update the description with the old API. Is this alright? Screen.Recording.2023-11-06.at.10.45.09.AM.mov |
@jeffibm I see an example case using the api to edit a description: https://github.com/ManageIQ/manageiq-api/blob/master/spec/requests/vms_spec.rb#L1590 Is there a reason to not use this api and introduce on in ui-classic? update:
|
I don't believe that means that we don't need one though. It looks like the previous edit page only changed attributes that live in our database, which means every providers' vms would support it. Setting the description on the underlying provider object is not the same. |
]); | ||
|
||
function createSchema(emsId, parentOptions, editDescription) { | ||
console.log(editDescription); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: remove this
e7470e1
to
4200819
Compare
This works for vmware vms, templates, and ibm_power_hmc vms (where host_hmc_managed) The privileges for this is the basic |
If we keep the feature flag as (which is different from the |
25ea6ef
to
c987fd6
Compare
Checked commit jeffbonson@c987fd6 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint app/controllers/application_controller/explorer.rb
app/controllers/vm_common.rb
app/helpers/application_helper/toolbar/x_vm_center.rb
app/views/vm_common/_form.html.haml
|
@jeffibm did you say that the API was not working for you if the user had |
If we try to use the same |
Can we have 2 menu items that depend upon the same privileges. |
This pull request has been automatically marked as stale because it has not been updated for at least 3 months. If these changes are still valid, please remove the |
2 similar comments
This pull request has been automatically marked as stale because it has not been updated for at least 3 months. If these changes are still valid, please remove the |
This pull request has been automatically marked as stale because it has not been updated for at least 3 months. If these changes are still valid, please remove the |
Edit this VM Description
Related PRS -
Issue - ManageIQ/manageiq#21561