hashicc
dc9376a460
(HACK WEEK 2025) a11y-audit-ignore codemod ( #2946 )
...
* chore: 🤖 add ember-a11y-ignore tool
* chore: 🤖 fix handling existing setRunOptions imports
* chore: 🤖 move codemod to support folder
* chore: 🤖 fix edge case for handling property key names
* chore: 🤖 handle case where multiple of same violation in test
This fixes a bug where multiple cases of the same violation would end up
with multiple entries
* chore: 🤖 ignore axe rules that are currently failing in admin
* chore: 🤖 ignore axe rules that are currently failing in desktop
* docs: ✏️ add a comment explaining the codemod
* chore: 🤖 include test.each cases for a11y ignores
* fix: 🐛 handle test.each test cases for a11y ignore codemod
2025-08-19 10:51:44 -05:00
Cameron Perera
f202d0f533
(HACK WEEK 2025) docs: ✏️ add a11y testing info to READMEs ( #2945 )
...
* docs: ✏️ add a11y testing info to READMEs
* chore: 🤖 remove light theme setup for acceptance tests in admin
* docs: ✏️ add link to test-helper.js in README
* chore: 🤖 update PR template for a11y-tests
* test: 💍 fix color theme switching tests
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
Zhihe Li
0a2d743ea2
fix: 🐛 Fix removing worker tag ( #2928 )
2025-07-16 13:27:13 -04: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
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
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
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
Carlos Alcaide Corvo
0b6049c8b0
Refactor authentication test selectors ( #2887 )
2025-06-17 11:51:04 -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
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
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
Lisbet Alvarez
308240be89
fix: 🐛 refocus on route changes when attempting to search ( #2839 )
...
* fix: 🐛 refocus on route changes when attempting to search
* refactor: 💡 update condition
* refactor: 💡 prevent refocus for more use cases like filtering
* refactor: 💡 use router service instead of window object
* refactor: 💡 PR feedback (use param finder instead of regex)
* test: 💍 update test title
* test: 💍 refactor tests to use test.each
2025-05-22 16:34:40 -07:00
Lisbet Alvarez
c12edc7f73
feat: 🎸 implement sort for session recordings ( #2837 )
...
* feat: 🎸 implement sort for session recordings
* refactor: 💡 update selectors w/ pr feedback
* refactor: 💡 remove click in tests
* test: 💍 update selectors due to merge
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17065
2025-05-22 10:27:19 -07:00
Lisbet Alvarez
44bd5ee1c6
Icu 16786 implement sort for targets ( #2830 )
...
* feat: 🎸 add sorting for targets
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16786
2025-05-21 12:20:48 -07:00
Lauren
8f3cccce32
[Retire] Rose::Button ( #2838 )
...
* remove rose::button files and imports
* remove rose btn utilities
* remove btn class from app.scss
* delete rose btn styling, component files
* update test
* remove playground.hbs, team agreed
* refactor dummy/app/templates/index.hbs to use hds btn
2025-05-21 05:23:21 -04:00
Cameron Perera
1ef7d9b5a7
Icu 16413 roles principals ( #2835 )
...
* test: 💍 add selectors to roles principals
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16413
* test: 💍 add selectors for roles project scope
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16413
* change exists() to isVisible()
2025-05-20 17:08:08 -05:00
Lauren
6181df4c69
[Replace][Desktop] Rose::Button ( #2812 )
...
* replace rose::button in ui/desktop
* replace .rose-button in ui/admin acceptance tests
* update @iconOnly to @isIconOnly
* add required @text arg for isIconOnly btns
* re-add title html element
* add _button.scss for custom styling
* add hover styling over close btn
* fix a bug when we hover in dark mode
* fix bug in main, hover white should trigger in dark mode
* remove &:not(:disabled) on btn close window class
* fix merge conflict
* fix styling
2025-05-20 12:15:45 -04:00
Dharini Jeeva
e222d5b909
chore: Migrate rose dropdown to HDS ( #2826 )
2025-05-15 11:05:05 -07:00
Lisbet Alvarez
04b51da60f
test: 💍 refactor targets test selectors ( #2824 )
...
* test: 💍 refactor targets test selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16427
2025-05-14 14:11:03 -07:00
Lisbet Alvarez
8dafc2b9a0
test: 💍 refactor session-recording test selectors ( #2811 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16423
2025-05-05 10:41:42 -07:00
Lisbet Alvarez
620f822504
Icu 16546 upgrade ember for admin UI ( #2793 )
...
* v4.12.2...v5.12.0
* chore: 🤖 yarn.lock changes
* chore: 🤖 ember init blueprint changes
* chore: 🤖 yarn.lock file changes
* style: 💄 run linter and formatter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16546
2025-04-25 14:39:59 -07:00