Commit Graph
3665 Commits
Author SHA1 Message Date
Lisbet Alvarez aa18f599ce test: 💍 refactor target worker test selectors (#2910)
* test: 💍 refactor target worker test selectors

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438

* test: 💍 update selector

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16438
2025-07-10 15:34:24 -07:00
Dharini 8e31adb9db fix: 🐛 release date (#2922) 2025-07-09 10:08:40 -07:00
Cameron Perera f0feb9e563 Icu 16439 enable session recording create storage bucket & index (#2886)
* test: 💍 update selectors for create-storage-bucket-test

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439

* test: 💍 add selectors for enable session recording index test

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439

* fix: 🐛 clean up duplicate test selectors

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439

* refactor: 💡 move single file use selectors back to file

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16439
2025-07-07 11:47:04 -05:00
Carlos Alcaide Corvo 44624e3820 Refactor test selectors for host-sets domain (#2911) 2025-07-07 09:17:06 -07:00
Lisbet Alvarez bd1b8542eb fix: 🐛 transition aborted error when deleting or saving (#2918) 2025-07-02 13:06:17 -07:00
Dharini c92e93ab1c chore: 🤖 change log and cli version (#2917) 2025-07-02 10:29:12 -07:00
Lisbet Alvarez 1358727832 test: 💍 refactor target host sources test selectors (#2906)
* test: 💍 refactor target host sources test selectors

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16435
2025-07-02 09:48:52 -07:00
Lisbet Alvarez 19426cfd51 chore: resolve brace expansion to patched versions for vulnerability fix (#2912)
* chore: 🤖 resolve brace-expansion 1.1.11 to 1.1.12

* chore: 🤖 resolve brace-expansion 2.0.1 to 2.0.2
2025-06-27 14:39:01 -07:00
Lisbet Alvarez 30c05eb834 refactor: 💡 update label and description for AWS DHC (#2909)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17308
2025-06-27 14:17:06 -07:00
Carlos Alcaide Corvo 961f497b6b Replace this.server.db with this.server.schema (#2907) 2025-06-26 14:14:26 -07:00
Lisbet Alvarez 89f33f3714 refactor: 💡 add last seen time column to workers list view (#2908)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17305
2025-06-26 11:18:28 -07:00
Carlos Alcaide Corvo 4bad52f43a Refactor host set update test (#2902)
* Refactor host set update test
2025-06-25 08:28:14 -07:00
Carlos Alcaide Corvo fd6cd3ddf7 Refactor test selectors aliases (#2897)
* Refactor delete test selectors

* Refactor list test selectors
2025-06-25 07:39:10 -07:00
Lisbet Alvarez adf7f8603b test: 💍 refactor targets create alias & enable SR test selectors (#2904)
* test: 💍 refactor targets create alias & enable SR test selector

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16433
2025-06-24 16:09:33 -07:00
Lauren 2a2e4350ee conditionally render separator (#2900) 2025-06-23 20:07:41 -04:00
Sohail 96ff0ddf27 Enhanced the refresh functionality in targets route (#2889)
* Enhanced the refresh functionality in targets and sessions route
2025-06-23 09:08:59 +05:30
hashicc 5d6e65f206 refactor: 💡 remove cached allSessions and related models (#2862) 2025-06-20 16:16:17 -04:00
Carlos Alcaide Corvo abf7866292 Refactor scopes test selectors (#2888) 2025-06-20 10:32:28 -07:00
Lisbet Alvarez 10c98c66e7 test: 💍 Refactor test selectors for targets credential sources (#2890)
* test: 💍 Refactor test selectors for targets credential sources

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16432
2025-06-19 18:04:18 -07:00
hashicc 7f4586ed9e chore: 🤖 migrate away from component helper for form/account (#2880) 2025-06-18 10:09:28 -04:00
Carlos Alcaide Corvo 0b6049c8b0 Refactor authentication test selectors (#2887) 2025-06-17 11:51:04 -07:00
Lisbet Alvarez 2d347171a9 refactor: 💡 add title to primary column in auth-methods table (#2882) 2025-06-13 15:55:06 -07:00
Carlos Alcaide Corvo 7e2f3e3df3 Refactor credential-store/credentials list test selectors (#2884)
* Refactor credential-store/credentials list test selectors
2025-06-13 08:24:18 -07:00
Carlos Alcaide Corvo 3899daea7c Add sortNameWithIdFallback to auth methods (#2878)
* Add sortNameWithIdFallback to auth methods
2025-06-12 15:35:39 -07:00
Cameron Perera 3d1ee732b4 Icu 17232 improve host source resource fetching (#2877)
* refactor: 💡 add fallback value for address column

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* fix: 🐛 make host address optional in search for plugin hosts

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* feat: 🎸 remove pageSize reset for user preference

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* test: 💍 update e2e tests for host sources

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* feat: 🎸 improve host source resource fetching

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* refactor: 💡 remove em dash translation

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* refactor: 💡 add comment to target route for duplicate hosts

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* refactor: 💡 add filter to query for hosts

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232

* refactor: 💡 use Promise.all() when fetching hosts

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17232
2025-06-12 17:19:56 -05:00
Lisbet Alvarez 899d7beee0 chore: 🤖 upgrade @babel/runtime to v7.27 (#2881)
* chore: 🤖 upgrade @babel/runtime to v7.26
2025-06-12 10:17:12 -07:00
Carlos Alcaide Corvo 4c7f3fad75 Icu 15478 refactor credentials delete test selectors (#2867)
* Refactor credential-store/credentials update test selectors

* Refactor credential-store/credentials delete test selectors
2025-06-11 09:29:46 -07:00
hashicc b8eb2c3c9b Upgrade ember-cli-flash (#2870)
* chore: 🤖 upgrade ember-cli-flash to v6

* chore: 🤖 remove unneeded timer disabling

This is no longer needed since the test helpers as of v5 are explicit:
disableTimeout and enableTimeout

Old world:
> Essentially importing this helper would cause the init hook of the FlashObject to become a no-op and disable the timeout running in consuming apps test runs.

> To get the same behaviour as "Old world 🌐 " a consuming app needs only to remove the blueprint import. ✅

https://github.com/adopted-ember-addons/ember-cli-flash/pull/392

* chore: 🤖 add @embroider/macros for ember-cli-flash

ember-cli-flash requires @embroider/macros as a dev dependency:
https://github.com/adopted-ember-addons/ember-cli-flash/pull/392/files/6c5743f424d14143c9309bcb0be8152fdaec11a2#r1369522866
https://github.com/adopted-ember-addons/ember-cli-flash/pull/395
2025-06-10 18:37:36 -04:00
Carlos Alcaide Corvo 4020f2d4e2 Icu 15477 refactor credentials update test selectors (#2866)
* Refactor credential-store/credentials update test selectors
2025-06-10 14:19:23 -07:00
Carlos Alcaide Corvo 1284a16978 Refactor credential-store/credentials read test selectors (#2864)
* Refactor credential-store/credentials read test selectors
2025-06-10 08:24:18 -07:00
f255a470cd Improve Project Navigation in Sidebar for Admin UI (#2829)
* When clicking on project in list, go to targets page

* Move Sessions link to bottom of main list on Project scope sidebar

* Add backlink to Orgs

* Add backlink to Global

* Fix some tests

* test: 💍 fix a couple more tests

---------

Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com>
2025-06-09 16:48:59 -07:00
hashicc f738e71657 chore: 🤖 explicitly require managing pnpm "built dependencies" (#2873)
pnpm by default refuses to run install scripts, some packages require
these and others are use install scripts as a way to provide messages.
Instead of a pnpm warning this commit ensures that the package that
is detected with an install script must be either listed in
ignoredBuiltDependencies or onlyBuiltDependencies. Running  pnpm
install will fail until a package has been categorized

As part of this commit the packages that were previously listed
as warnings have been categorized under ignoredBuiltDependencies
since their install scripts are not required for the functionality
of the package
2025-06-09 10:26:02 -04:00
Lisbet Alvarez eb365f0d39 Icu 17197 update logic in global roles to only add project scopes when using children (#2874)
* refactor: 💡 hide manage custom scopes button when using keyword

* refactor: 💡 update to only allow projects for global roles

* refactor: 💡 clean-up

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17197
2025-06-06 16:26:34 -07:00
Cameron Pereraandcameronperera 57e614e8db feat: 🎸 add search capability for host sources (#2861)
* feat: 🎸 add search capability for host sources

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094

* refactor: 💡 use Rose::Pagination component

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094

* refactor: 💡 move target detail body to index route

to fix whole page reload issue

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094

* Add missing copyright headers

* refactor: 💡 PR feedback

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17094

---------

Co-authored-by: cameronperera <29386339+cameronperera@users.noreply.github.com>
2025-06-06 16:07:48 -05:00
Lisbet Alvarez 738fa1f15f refactor: 💡 add custom sort to resources (#2860)
* refactor: 💡 add custom sort

* test: 💍 fix tests

* test: 💍 fix more tests

* refactor: 💡 use reusable sort function for name

* refactor: 💡 use sort util in all resources w/ optional name

* Add missing copyright headers

* test: 💍 fix broken tests & add tests for new util

* refactor: 💡 add name custom sort to users

* test: 💍 fix import in tests

* refactor: 💡 add custom name sort to scopes

* test: 💍 pr feedback on util test cases

* refactor: 💡 move sort function into object (pr feedback)
2025-06-05 11:00:25 -07:00
Lisbet Alvarez 4c959ab297 refactor: 💡 hide manage custom scopes button when using keyword (#2865)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17195
2025-06-04 09:41:02 -07:00
Carlos Alcaide Corvo e685295d04 Icu 17166 implement sort for auth methods (#2855)
* Implement sorting for auth methods
2025-06-04 09:05:19 +02:00
hashicc 204bd10e04 ICU-16782 sort admin aliases (#2843)
* feat: 🎸 add sorting to aliases/index route

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16782

* refactor: 💡 use hds table components directly for aliases table

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16782

* feat: 🎸 wire up sorting with alias table, incl. query params

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16782

* test: 💍 add tests for sorting aliases

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16782

* fix: 🐛 use {{true}} instead of 'true' for @isVisuallyHidden

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16782
2025-06-03 13:55:11 -04:00
hashicc 5a302b0bcc Migrate to pnpm (#2828)
* chore: 🤖 remove packageManager field from package.json

* chore: 🤖 migrate yarn resolutions to pnpm overrides

* chore: 🤖 generate pnpm-lock.yml by using: pnpm import yarn.lock

* chore: 🤖 remove yarn.lock file

* chore: 🤖 migrate workspace configuration

* chore: 🤖 remove .yarn and .yarnrc.yml config

* chore: 🤖 update .copyright.hcl to ignore root pnpm files

* chore: 🤖 migrate husky pre-commit hook from yarn to pnpm

* chore: 🤖 migrate package.json scripts from yarn to pnpm

* chore: 🤖 update rose package.json & build to use explicit deps

* chore: 🤖 remove unused cp metadata.json command in pjson script

The cp metadata.json to dist was added in:
d19a251

The addons/rose/metadata.json no longer exists so it can't be copied

* chore: 🤖 migrate electron-app package.json scripts to pnpm

* chore: 🤖 create pnpm workspace for electron-app w/ hoisted deps

* chore: 🤖 migrate electron-app yarn lockfile to pnpm lockfile

Used "pnpm import yarn.lock"

* chore: 🤖 migrate electron-app overrides

node-gyp isn't needed since the fork is used via @electron/node-gyp
see: https://github.com/electron/node-gyp?tab=readme-ov-file#node-gyp---nodejs-native-addon-build-tool

* chore: 🤖 add trusted deps to be built to onlyBuiltDependencies

This is a pnpm feature that increases security. By defining these
dependencies they are being trusted to allow install hooks,
including postinstall. See:
https://pnpm.io/settings#onlybuiltdependencies

* chore: 🤖 add electron-app pnpm files to copyright header ignore

* chore: 🤖 remove yarn references from .*ignore files

* chore: 🤖 migrate --yarn to --pnpm for ember-cli-update.json

This isn't clearly documented but something that is supported
and can be found in other ember apps:
https://github.com/search?q=--pnpm+ember-cli-update.json&type=code

* chore: 🤖 migrate ci and related scripts to use pnpm

The cache is migrated to use the cache supported by
actions/setup-node@v4, an action we are already using. This is the
recommended way by pnpm:
https://pnpm.io/continuous-integration#github-actions

This commit also ensures that all github actions are using
consistent versions of actions/setup-node and pnpm/action-setup

* docs: ✏️ update documentation to use pnpm instead of yarn

* chore: 🤖 use explicit asciinema-player dependency

Because we override styles on asciinema-player we depend on their
styles. What might be a minor non-breaking change in their version could
(and did) break our style expectations in our overrides.

* chore: 🤖 run pnpm install and commit lockfile changes

* chore: 🤖 Remove ember-inflector from being overidden

https://github.com/hashicorp/boundary-ui/pull/2828#discussion_r2110380711

* chore: 🤖 remove highlight.js from pnpm overrides

https://github.com/hashicorp/boundary-ui/pull/2828#discussion_r2109847938

* chore: 🤖 remove additional unnecessary files from ignore files

* docs: ✏️ fix pnpm doc links

* chore: 🤖 use corepack to specify packageManager in package.json

* chore: 🤖 let pnpm action in ci use packageManager for version

https://github.com/pnpm/action-setup?tab=readme-ov-file#version

* docs: ✏️ fix broken pnpm website links
2025-06-03 12:55:12 -04:00
hashicc daa23f66c4 ICU-16785 sort admin scopes (#2842)
* feat: 🎸 add sorting to scopes/scope/scopes/index route

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16785

* refactor: 💡 use direct hds components to support sorting

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16785

* feat: 🎸 wire up sorting to the scopes table

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16785

* test: 💍 add tests for sorting scopes

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16785
2025-06-03 09:40:32 -04:00
Priya Patel b06c396086 Refactor - Rose::Page::Layout (#2849)
* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813)

* refactor: 💡 page::layout- header,breadcrumb and actions

* refactor: 💡 added new class for the page layout, fixed a11y

* refactor: 💡 addressed comments

* refactor: 💡 moved copy snippet to PH.Generic

* refactor: 💡 addressed comments

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825)

* refactor: 💡 rose page layout header

* refactor: 💡 removed extra classes

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Final Part (#2840)

* refactor: 💡 rose page layout header

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs (#2813)

* refactor: 💡 page::layout- header,breadcrumb and actions

* refactor: 💡 added new class for the page layout, fixed a11y

* refactor: 💡 addressed comments

* refactor: 💡 moved copy snippet to PH.Generic

* refactor: 💡 addressed comments

* Refactor: Rose::Page::Layout - header, actions and breadcrumbs Part 2 (#2825)

* refactor: 💡 rose page layout header

* refactor: 💡 removed extra classes

* refactor: 💡 fixed a11y heading, actions dropdown

* refactor: 💡 fixed page header

* refactor: 💡 fix heading margin and failing tests

* refactor: 💡 add back margin for hds header tags

* refactor: 💡 fix style
2025-06-02 16:20:50 -05:00
Lauren 5555603a5c [Retire] Rose::Dropdown (#2858)
* remove dropdown styling

* remove rose/dropdown child component integration tests

* refactor tests, delete tests

* remove rose dropdown component from addons/

* refactor tests, delete tests

* run yarn format

* remove additional rose dropdown files from addons

* remove ref to rose dropdown from readme

* remove skipped test, comment states no longer relevant

* remove unused ref to rose-header-dropdown selector

* refactor tests using .rose-dropdown selector, cleanup

* run yarn format

* add selector to commonSelectors, refactor more tests

* nest .hds-dropdown selector in place of .rose-dropdown

* revert @use dropdpwn

* remove line, styling already applied on btn selector

* removed unused dropdown-radio-btn selector
2025-06-02 14:06:06 -04:00
hashicc 7c3b6d6d9e ICU-16787 sort admin users (#2844)
* feat: 🎸 add sorting to users route, feat. query params

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16787

* refactor: 💡 use hds components directly to support custom sort

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16787

* feat: 🎸 wire user sorting from controller to template

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16787

* test: 💍 add sorting tests for users

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16787
2025-06-02 13:26:11 -04:00
Carlos Alcaide Corvoandhashicc ce87d7728c Implement sorting for host catalogs (#2857)
Co-authored-by: hashicc <191911133+hashicc@users.noreply.github.com>
2025-05-30 16:14:00 -04:00
Carlos Alcaide Corvo e4da851172 Implement sorting for credential stores (#2856) 2025-05-30 15:36:43 -04:00
Cameron Perera e3433ec1f7 feat: 🎸 add pagination to host source table (#2854)
* feat: 🎸 add pagination to host source table

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093

* test: 💍 add e2e tests for host source pagination

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093

* refactor: 💡 change paginatedHosts to getter

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093

* test: 💍 refactor e2e pagination test

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17093
2025-05-29 15:55:05 -05:00
hashicc 96f30d1b31 Add sorting to Groups in boundary admin (#2846)
* feat: 🎸 wire up sorting for groups/index route

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16783

* refactor: 💡 use underlying hds components directly for sorting

This step refactors the table to use the components directly.
With this setup a sorting refactor can be done more easily.

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16783

* feat: 🎸 wire up sorting from controller to template

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16783

* test: 💍 add sorting tests for groups table

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16783
2025-05-28 18:20:43 -04:00
hashicc f4a48467e3 Add sorting to Roles in boundary admin (#2827)
* feat: 🎸 add sorting to roles/index route

Add sortAttribute and sortDirection query params, and use values in
this.store.query sorting option

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16784

* refactor: 💡 use manual hds table components for custom sort

This refactor uses the underlying hds components directly in order to
support custom sorting, see:
https://helios.hashicorp.design/components/table/table?tab=code#custom-sorting-using-the-yielded-sorting-argumentsfunctions

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16784

* feat: 🎸 wire-up query param state, controller action with table

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16784

* test: 💍 add sorting tests for admin roles list

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16784
2025-05-28 10:40:31 -04:00
Lisbet Alvarez bada405511 Icu 17087 implement sort for sessions (#2845)
* feat: 🎸 implement sort for sessions

* test: 💍 fix bug + add tests

* Add missing copyright headers

* refactor: 💡 remove fix so it can be its own PR

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17087
2025-05-27 17:31:55 -07:00
Cameron Perera 96d7c055b0 Icu 17092 replace hosts connect modal with table in target detail page (#2841)
* feat: 🎸 add host source table to target detail view

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092

* chore: 🤖 remove unused translation

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092

* test: 💍 update e2e tests for host source change

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092

* test: 💍 add test for target details main connect button

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092

* test: 💍 update e2e test selector

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17092
2025-05-23 11:45:27 -05:00