* refactor: 💡 Refactor workers list to use `Hds::Table`
Refactor workers list to use `Hds::Table` instead of `Rose`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11734
* Refactored `workers-list` table to use `margin-top` custom css instead
of removing the background from `Rose::Toolbar`
* chore: 🤖 Refactor main element padding
Refactor main element padding to achieve consistency within all our
UI's. This is a quick solution until we adopt app-frame and follow the
same layouting pattern within all our UI's
✅ Closes: ICU-11960
* Delete unnecessasry @use size
* feat: 🎸 implement helper
Implement `time-remainig` helper to display duration of a session for
desktop app.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 Refactored scenarios
Refactored `ipc.js` scenario to include `expiration_time` for a new
session.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* fix: 🐛 Fix add expiration_time when user has no grants to read (#2024)
* refactor: 💡 refactor styles
Removed `div` and added `Hds::Badge` to `h1` element. Condensed and
renamed styling for title to `session-details-info`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Refactored `projects/targets` controller to return the correct `expiration_time` field returned from CLI. Cleaned up CSS for `session-details-info` attribute and wrapped `@model.displayname` in span tag.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Update ui/desktop/app/controllers/scopes/scope/projects/targets/index.js
mixed naming expiration field on payload to store
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 refactored page header
Refactored `sessions` header to use `<Hds::Text::Dislpay/>` instead of a
span.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor cli response
Refactor `expiration` field from CLI response to be the correct
definition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor sessions layout
Removed span as parent of header information, and pushed styles to
yielded page.header. Fixed stub in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* test(admin/e2e): Modify password locators due to new Show Password button
* test(admin/e2e): Update breadcrumbs locators due to design updates
Previously, all breadcrumb items were links, but that is no longer the case for the active breadcrumb.
* HDS-2827 Bump HDS to latest version
* HDS-2827 Bump up to latest version
* chore: 🤖 yarn lock
---------
Co-authored-by: dharini <dharini@hashicorp.com>
* feat: 🎸 create helper
Create `time-remaining` helper to track remaining session time.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 Clean up code for time-remaining helper
Moved time remaining helper into `core` addons folder. Cleaned up the
`time-remaining` helper to use the `DurationUnitFormat` service.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
removed test implementation
* refactor: 💡 files added for helper
files added for helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
fix linting
* refactor: 💡 fix uneeded spacing
Fix spacing on hbs file used for testing time-remaining helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 refactor time-remaining helper
Cleaned up code that was returning a string if `differenceInSeconds` was
less than or equal to zero. Code is now conditionally checking in the
`differenceInSeconds` variable if the `difference` is greater than zero.
If it is not then it will return zero and let the `DurationUnitFormat`
handle the rest.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 fix failing test
Fix failing `time-remaining` test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* chore: 🤖 Update dependency
Updated `styelint-config-standard-scss` to fix incorrect peer dependency
warning for `styelint`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
* Update _notify.scss
remove test for media query
* refactor: 💡 refactor media queries
Refactor all media queries to include `context` notation.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
* chore: 🤖 Add custom key handler for windows
Add custom key handler only for Windows OS so we achieve Ctrl+C to copy
within the embedded terminal
* Await for clipboard promise to complete
* chore: 🤖 Upgrade addons/rose dependencies
Upgraded `addons/rose` dependencies to match other addons. Lint fixes,
and fixed scripts for concurrently
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587
* v4.4.1...v4.12.2
* Update ember-try.js
change scenarios to match 4.12.2
* Update addons/rose/tests/integration/components/rose/button-test.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
* Update ember-try.js
originally had the right scenarios for 4.
12.2
* chore: 🤖 upgrade ember-cli-babel
Upgrade ember-cli-babel to match other addons
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11587
* Update button-test.js
fix test declaration statement
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
* 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