* 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>
* chore: 🤖 Upgrade `addons/core` to Ember 4.12.2
Upgrade `addons/core` to Ember 4.12.2
✅ Closes: ICU-11341
* refactor: 💡 testing updating plugin-proposal-decorators version
Update `@babel/plugin-proposal-decorators` to latest version.
* refactor: 💡 testing legacy plugin-proposa-decorators version
Testin `legacy` version for `plugin-proposal-decorators` plugin
* refactor: 💡 testing plugin-proposal-decorators
Testing `@babel/plugin-proposal-decorators`
* refactor: 💡 Revert @babel/exlint-parser to previous version
Revert `@babel/eslint-parser` to use version 2018 EcmaScript version
until further research is done on latest versions
* Update package.json
put @babel/core back into `devDependencies`
* refactor: 💡 testing linging changes
Pushed ember-tempalate-lint, prettier, and ember template lint plugin
for prettier to latest versions to test why CI builds are not passing.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11341
* Ember `addon/auth` upgrade v4.4.1...v4.12.2
* Update .npmignore
* refactor: 💡 Quick refactor
Refactor `.eslintrc.js` to current `ecmaVersion` and use latest
`babelOptions`. Revert `.prettier.js` to use previous overrides. Setup
scripts to use `concurrently` instead of `npm-run-all`
* refactor: 💡 removed `npm-run-all`
Removed `npm-run-all` from package.json
* test(admin/e2e): Update locator for worker filter textbox
* test(admin/e2e): Update locator for the New button
* test(admin/e2e): Update locator for New link
* fixup! test(admin/e2e): Update locator for worker filter textbox
* 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
* fix: 🐛 ICU-11208 fix view of role under org, and
project scope
Fixed view of role under org, and project scope.
✅ Closes: ICU-11208
* refactor: 💡 Refactor scopes in roll
Refactor role to disregard subscopes for project scope
✅ Closes: ICU-11208
* refactor: 💡 refactor test
Refactor test to include test for a role having the correct grand scopes
✅ Closes: ICU-11208
* refactor: 💡 refactor test
Refactor test to test that role fectches scopes correctly
* quick refactor of previous test commit to grab the
role id from the response and use it in the next request
* refactor: 💡 refactor test
refactor test for scope fetching
* 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