* refactor: 💡 session isCancelable to isAvailable
* refactor: 💡 check for target info for showing target details
* refactor: 💡 add fallback for session data from connect command
* refactor: 💡 remove extra divs
* refactor: 💡 remove await from peekRecord of a session
* test: 💍 add test for no read permission for sessions
* test: 💍 reset global qunit after test is done
* refactor: 💡 allow for graceful error handling when connecting
to a target where host-sets cannot be fetched
* refactor: 💡 update for loop to for...of loop
* Move fetching host from target to session domain
* Decouple getting target host-sets and getting hosts from the host-sets, now this code is extracted in 2 methods. Now if the user does not have permissions to fetch host or host-sets we do not show an error and we allow for quick-connect approach
* Fix a check within getHostsFromHostSets
* Change a for loop for Promise.all within getTargetHostSets
* Change a for loop for Promise.All within getHostsFromHostSets
* Delete unnecessary condition
* Delete unnecessary condition
* chore: 🤖 remove host sources from target mirage factory
by default it uses address when using 'withAssociations'
* test: 💍 update target address tests to use 'withOneHost'
* test: 💍 remove connect tests from scopes acceptance tests
* refactor: 💡 remove can initiate connect target ability
and associated code and tests
* refactor: 💡 update target model afterModel hook, and preconnect
* refactor: 💡 revert 'withAssociations' mirage change
* test: 💍 add tests for permissions issues for host-sets and host
* test: 💍 visiting session without permissions to read hosts
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
* fix: 🐛 host modal renders whenever there is an error
✅ Closes: ICU-11231
* test: 💍 add test case to make sure fix is working properly
* fix: 🐛 toggle flag back to false and remove @tracked
* fix: 🐛 host modal should also close after host connection error
* refactor: 💡 change toggle to toggleModal
* test: 💍 rename toggle in test cases
* test: 💍 update acceptance tests in desktop UI
✅ Closes: ICU-11130
* test: 💍 move tests to target-test.js
* test: 💍 add another test case for targets list view
* feat: 🎸 allow for connection for target with single host
✅ Closes: ICU-10431
* refactor: 💡 small code clean up
* refactor: 💡 move host fetch to model hook
* feat: 🎸 add Proxy URL info to session detail screen
✅ Closes: ICU-10311
* chore: 🤖 add setupIntl to proxy-url tests
* refactor: 💡 update styles for proxy-url component
* refactor: 💡 display proxy info based on target type
* refactor: 💡 move proxy-url into session specific directory
* refactor: 💡 change template logic for which command to show
* refactor: 💡 remove isSSH getter for session/proxy-url
* feat: 🎸 add credentials panel for session detail screen
✅ Closes: ICU-10315
* fix: 🐛 remove use of A in sessions list array
* refactor: 💡 fix class name to apply style to both detail screen
* refactor: 💡 add comment to resetController on session route
* refactor: 💡 add @value to HDS Toggle in session detail page
* refactor: 💡 class name refactor for credential panel
* refactor: 💡 remove unneeded div around CodeEditor
* refactor: 💡 change border units from rem to px
* feat: 🎸 create CredentialsPanel component
* Update ui/desktop/tests/integration/components/credentials-panel-test.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* refactor: 💡 update credential panel styles
* style: 💄 fix lint error for desktop styles
* chore: 🤖 yarn.lock update
---------
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
* feat: 🎸 add canRead ability for session model
* refactor: 💡 create constant values for session status types
* feat: 🎸 add link to session detail from sessions list
✅ Closes: ICU-10521