ezntt opened a new pull request, #7351:
URL: https://github.com/apache/cloudstack/pull/7351

   ### Description
   
   This PR adds a new button that allows the user to copy the VM console URL to 
the clipboard. VM consoles have a security mechanism that allows for a one-time 
use per URL (see #6577). Therefore, if the same URL is accessed again, an error 
message is displayed. When access to the console is requested via the UI 
button, a new tab is opened which automatically connects to the VM console.  
However, for the purpose of obtaining only the URL for later use or sharing, it 
is more convenient to copy the URL rather than opening it directly in a new 
tab. The new button appears alongside the existing button that opens the 
console in a new tab
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [x] Minor
   
   ### Screenshots (if appropriate):
   
![image](https://user-images.githubusercontent.com/48932878/226007219-38238f7f-68bf-43fc-a633-8e3432e26217.png)
   
   ### How Has This Been Tested?
   I conducted manual testing in a local lab environment. During the testing 
process, I clicked the new added button and then accessed the copied URL. This 
allowed me to access the console in the same way as the existing "View Console" 
button.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to