Cameron Perera
87d6bbae2a
(HACK WEEK 2025) chore: 🤖 add new gh workflow for a11y tests ( #2942 )
...
* chore: 🤖 add new gh workflow for a11y tests
* chore: 🤖 remove a11y dark tests job
* chore: 🤖 increase a11y tests timeout
2025-08-19 10:51:44 -05:00
Cameron Perera
7a42bf456e
(HACK WEEK 2025) Dark mode a11y audit rules ( #2939 )
...
* chore: 🤖 change axe runOptions based on color theme
* fix: 🐛 fix background-color and color styles application
2025-08-19 10:51:44 -05:00
Carlos Alcaide Corvo and Lisbet Alvarez
5b72a916e4
(HACK WEEK 2025) A11y admin test helper ( #2937 )
...
* chore: 🤖 add a11y audit test helper config
* chore: 🤖 remove report files
* refactor: 💡 remove console.log
* Apply PR feedback
* Delete the flag --server when running a11y tests
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2025-08-19 10:51:44 -05:00
Cameron Perera and calcaide
42013a919f
(HACK WEEK 2025) refactor: 💡 remove explicit a11yAudit usage ( #2936 )
...
* refactor: 💡 remove explicit usage of a11yAudit
* Delete a11yAudit method from readme
---------
Co-authored-by: calcaide <ccorvo@hashicorp.com >
2025-08-19 10:51:44 -05:00
Cameron Perera
3918f82e14
chore: 🤖 add DARK_MODE env variable to testem config ( #2935 )
...
for admin and desktop
2025-08-19 10:51:44 -05:00
hashicc
fb57965457
chore: 🤖 update @glimmer/component to v2 ( #2871 )
...
* chore: 🤖 update @glimmer/component to v2
* chore: 🤖 bump ember-a11y-refocus to fix focus errors in tests
Previous runs had three failing tests related to focusing from
ember-a11y-refocus:
* global failure: TypeError: Cannot read properties of null (reading 'focus')
Tests failing with this error were fixed as part of this PR:
https://github.com/ember-a11y/ember-a11y-refocus/pull/347
After bumping to a later version of ember-a11y-refocus, the
existing failing tests now pass
2025-07-18 13:12:34 -04:00
Zhihe Li
0a2d743ea2
fix: 🐛 Fix removing worker tag ( #2928 )
2025-07-16 13:27:13 -04:00
Lisbet Alvarez
fbd613084d
fix: 🐛 prevent worker registration icon from shrinking ( #2929 )
...
* fix: 🐛 prevent worker registration icon from shrinking
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17392
2025-07-15 17:13:07 -07:00
Cameron Perera
4cd56f8ae5
Icu 17393 manage resource button permissions bug ( #2927 )
...
* fix: 🐛 hide manage button if no action items
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for credential-stores
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for groups
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for host-sets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for roles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage action for targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for workers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for users
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
* fix: 🐛 update manage actions for auth-methods
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17393
2025-07-15 14:03:27 -05:00
Lisbet Alvarez
d93a0c170c
test: 💍 refactor targets manage alias test selectors ( #2921 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16437
2025-07-10 16:20:37 -07:00
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
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
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
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
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
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
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
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 Corvo and hashicc
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
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