* refactor: 💡 Migrate `credential-libraries-list` to `Hds::Table`
Migrate `credential-libraries-list` to `Hds::Table` instead of
`Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
* refactor: 💡 Fix broken test for navigating to `credentials-libraries`
Fix broken test for navigating to `credentials-libraries`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11724
* refactor: 💡 Migrate `credentials-list` to `Hds::Table`
Migrate `credentials-list` to `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
* refactor: 💡 Refactor table to use `B.data`
Originally the Proxy(Array) was not being taking in as a correct model
object when using the `@columns` synthax, now it seems to work perfectly
fine.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11725
* refactor: 💡 Refactor `sessions-list` to use `Hds::Table`
Refactor `sessions-list` to use `Hds::Table` instead of `Rose::table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* refactor: 💡 Use `Hds::Text` component for `code` elements
Refactor `code` elements to use `Hds::Text::Code` component for text.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
* Update ui/admin/app/templates/scopes/scope/sessions/index.hbs
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 Refactor the condition around the `cancelSession`
route-action, to use the `SessionAbility` for permssion to cancel
session. Upgrade `Rose::Button` to `Hds::Button`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11732
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* 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