Lisbet Alvarez
72f7c8a92d
fix: 🐛 OIDC authentications not properly showing username ( #2930 )
...
* fix: 🐛 properly show username for oidc auth method in user menu
* test: 💍 fix admin ui tests
* test: 💍 fix desktop ui tests
* refactor: 💡 admin to not store username in authenticated object
* refactor: 💡 use getter in app controller
* test: 💍 POC for how we could update our tests to use auth account
* refactor: 💡 remove unused service
* test: 💍 fix all tests in ui/admin
* test: 💍 revert one change
* refactor: 💡 update ui/desktop w/ feedback + fix tests
* refactor: 💡 add in error handling
* refactor: 💡 cleanup unused service
* test: 💍 fix e2e test selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17231
2025-10-30 12:49:30 -07:00
Lisbet Alvarez
ba7b8b8824
feat: 🎸 add sqlite support for scopes ( #2968 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17415
2025-09-03 11:41:42 -04:00
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 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
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
Carlos Alcaide Corvo
44624e3820
Refactor test selectors for host-sets domain ( #2911 )
2025-07-07 09:17:06 -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
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
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
Priya Patel
b820bb19d7
Refactor: Hosts-sets test - delete, read and create ( #2778 )
...
* refactor: 💡 hosts-sets test refactor - delete,read,create
* fix: 🐛 updated test selectors
2025-04-22 14:16:15 -07:00
Lauren
f12ae90aba
refactor: 💅 Use common selector ALERT_TOAST_BODY across test suite ( #2692 )
...
* replace with alert toast body, replace with this.server.schema
* revert changes to db,schema
* use common selector, alert toast body
* replace ERROR_MSG_SELECTOR with common selector ALERT_TOAST_BODY
2025-02-13 15:54:40 -05:00
Zhihe Li
390d179917
feat: 🎸 Added GCP host sets and hosts ( #2655 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15994
2025-01-10 14:18:48 -08:00
Lauren
422cff4547
[ICU-15647] Replace Rose::Dialog with Hds::Modal in admin ui only ( #2623 )
...
* sort list
* refactor: 💡 Replace Rose::Dialog with Hds::Modal
✅ Closes: ICU-15647
* refactor targets-host-sources-test
* refactor update-test
* update test selectors
* refactor delete test
* refactor org scope test
* refactor delete scope and auth-method tests
* refactor update host catalogs tests
* refactor credential-stores credential update tests
* refactor credential-stores credentials delete tests
* refactor scopes update tests
* refactor storage buckets delete test
* refactor storage buckets delete test
* refactor credential library update test
* refactor targest workers test
* refactor workers create tags test
* refactor global scope test
* refactor users update test
* refactor host catalogs delete test
* refactor credential-store update tests
* refactor host catalogs, hosts and sets update tests
* remove unused vars
* rename selectors, remove attrs
* add @onDismiss callback
2024-12-20 14:16:43 -05:00
Lisbet Alvarez
371301b4ba
refactor: 💡 use hds::applicationstate instead of rose::message ( #2577 )
...
* refactor: 💡 use hds::applicationstate instead of rose::message
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15639
2024-12-04 14:16:05 -08:00
Carlos Alcaide Corvo
b64f1876dc
Refactor icu 15872 await authenticatesession admin ( #2603 )
...
* Add await for all authenticateSession within /tests/acceptance
* Add await for all authenticateSession within /tests/unit
2024-12-03 10:27:27 -08:00
Lisbet Alvarez
2f8a53e3ea
refactor: 💡 remove rose table references ( #2589 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15644
2024-12-02 12:22:01 -08:00
Cameron Perera
b24e5a2c22
fix: 🐛 default to light theme for acceptance tests ( #2587 )
...
* fix: 🐛 default to light theme for acceptance tests
* refactor: 💡 add async/await to authenticateSession
2024-12-02 12:51:24 -06:00
Carlos Alcaide Corvo
a4456f50cd
refactor: 💡 Delete not necessary comments ( #2588 )
2024-11-22 11:27:53 -08:00
Lisbet Alvarez
543cf4697f
refactor: 💡 remove rose::notification in favor of hds ( #2557 )
...
* refactor: 💡 remove rose::notification in favor of hds
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15634
2024-11-19 15:18:18 -08:00
Zack Moore
6eb83b2a25
Upgrade HDS dependency to 4.13 & migrate FlightIcon to Hds::Icon ( #2540 )
...
* updated hds and replaced deprecated flight-icon
* removed code trying to import from ember-flight-icons
* fixing linting issue
* fixing linting issue
* fixing dropdown test selectors
* updated dropdown selectors
* updated dropdown selectors
* updated dropdown selectors
* addressing pr feedback
* fixing linting error
* updating dropdown selectors
2024-11-04 11:29:56 -06:00
Lisbet Alvarez
ef163709f2
Upgrade ember a11y testing to v7 ( #2470 )
...
* chore: 🤖 update ember-a11y-testing and @ember/test-helpers
* chore: 🤖 upgrade to v7
* chore: 🤖 upgrade deps and force resolutions to fix errors
* chore: 🤖 fix ember-a11y errors due to summary title not showing
* chore: 🤖 fix yarn.lock
2024-09-04 13:04:14 -07:00
Wadi and Cameron Perera
a3082e97e6
refactor: 💡 Update manage dropdown for host-catalogs ( #2456 )
...
* refactor: 💡 Update manage dropdown for host-catalogs
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14664
* refactor: 💡 Refactored tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14664
* refactor: 💡 Refactored test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14664
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-08-26 09:44:51 -05:00
Wadi
9c018f131f
refactor: 💡 Updated Manage Dropdown in host-sets to HDS design ( #2433 )
...
* refactor: 💡 Updated Manage Dropdown in host-sets to HDS design
Updated the manage dropdown in host-sets to reflect HDS design
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14600
* refactor: 💡 Specified selector in host-test.js
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14600
2024-08-12 13:25:43 -04:00
Lisbet Alvarez
c0cecda312
refactor: 💡 use new baseURL and update topic paths ( #2109 )
...
* refactor: 💡 use new baseURL and update topic paths
2024-07-15 17:09:08 -07:00
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Devon Anderson
f1c5c99664
chore: 🤖 Migrate form.input to Hds::TextInput::Field ( #2147 )
...
* chore: 🤖 Migrate `form.input` to `Hds::TextInput::Field`
Migrate `form/host-set/aws`, `form/host-set/azure` and
`form/host-set/static` forms to use `Hds::TextInputField` instead of
`form.input`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* Update index.hbs
removed `@isOptional` field.
* Update index.hbs
removed `@isOptional` argument
* refactor: 💡 fix lint errors
fix lint
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 field argument cleanup
field argument cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 switch `disabled` argument to `readonly`
switch `disabled` argument to `readonly`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
* refactor: 💡 order of attributes
change order of attributes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12469
2024-02-28 10:18:22 -05:00
Devon Anderson
9241b7dd0e
refactor: 💡 Migrate hostslist within host-set to Hds::Table ( #2049 )
...
* refactor: 💡 Migrate `hosts`list within host-set to `Hds::Table`
Migrate `hosts` list within host-set to `Hds::Table` from `Rose::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
Not using `data-test` attribute for testing
* Update index.hbs
removed unused `data-test` selector
* refactor: 💡 quick lint error fix
Fix lint error in `hosts/index.hbs`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor test to use `data-test` selector
Refactored hosts-test to use `data-test` selectors for grabbing
`Hds::Dropdown` toggle and interactive instead of long nested selector.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* Update index.hbs
spelling fix
* Update hosts-test.js
fixed spelling errors
* refactor: 💡 fix lint errors
Fix lint errors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Use `Hds::Code::Snippet`
Migrate from `Copyable` component to use `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor incorrect use of `Hds::Code::Snippet`
Refactor the incorrect usage of `Hds::Code::Snippet`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 refactor header of `Hds::Table`
Refactor conditional header of `Hds::Table`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactored conditional header translations
Refactored conditional header translations to live in controller file
for `scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Move conditional check for header labels into `js`
Move conditional logic for checking header lables into `controller` file
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Quick refactor for columns getter
Quick refactor to clean up getter that conditionally renders column
header label based on `isStatic` boolean
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 Refactor `host-sets/host-set/hosts` tablee
Refactor `host-sets/host-set/hosts` table to adhere more to codebase
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
* refactor: 💡 rearrange attributes order for table
Rearrange attributes order for `Hds::Table` to keep inline with codebase
patterns.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11728
2024-01-11 16:49:47 -05:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Zhihe Li
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
Dharini Jeeva
c5edd4dd52
Update auth methods form ( #1981 )
...
Update auth methods form (#1981 )
2023-11-07 11:27:48 -08:00
0129784322
fix url when user tries to access resource with incorrect url ( #1958 )
...
* refactor: 💡 auth-method, account, & managed abilities & routes
* refactor: 💡 credential store resources abilities & routes
* refactor: 💡 group abilities & routes
* refactor: 💡 host-catalog resources abilities & routes
* refactor: 💡 role abilities & routes
* test: 💍 fix route-info-test
* test: 💍 fix host serializer tests
* test: 💍 fix create-test for host-sets
* refactor: 💡 session recording resources abilities & routes
* refactor: 💡 storage bucket abilities & routes
* refactor: 💡 target abilities & routes
* refactor: 💡 user abilities & routes
* refactor: 💡 worker abilities & routes
* refactor: 💡 remove ability changes and add comments
* Update ui/admin/app/utils/route-info.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* test: 💍 add test cases and rename util file
* refactor: 💡 remove dup file and update imports
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* docs: ✏️ update comments & remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* Update ui/admin/app/routes/scopes/scope/auth-methods/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-02 16:08:25 -07:00
Dharini Jeeva
722acdc1fc
chore: 🤖 refactor key value list component, text input support ( #1957 )
...
refactor: 💡 refactor list wrapper component and fix test
2023-10-30 12:30:05 -07:00
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
Dharini Jeeva
7d3727dc34
Radio card migration - hostcatalog hosts host sets ( #1503 )
...
* chore: 🤖 radio card migration
2022-12-13 17:45:26 -08:00
lisbet-alvarez and Cameron Perera
e8a3650fbe
refactor: 💡 adjust css selector for specific asserts ( #1468 )
...
* refactor: 💡 adjust css selector for specific asserts
✅ Closes: ICU-6889
* refactor: 💡 small update
* refactor: 💡 selectors for .doesNotExist()
* Update addons/core/tests/integration/helpers/relative-datetime-live-test.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2022-11-28 14:44:34 -08:00
Randall Morey and Zhihe Li
f7c1523adb
Refactor host set fragment arrays ( #1464 )
...
* refactor: 💡 change host_ids to a simple attribute
* refactor: 💡 manually manage host set array model attributes
* refactor: 💡 Fix host set IDs usage
* style: 💄 Fix comment and add braces for if statements
* refactor: 💡 Add back in empty array for normalizer
* refactor: 💡 Move attributes to generated model
* refactor: 💡 Update array actions when creating new host sets
* test: 💍 Add a few create tests for azure and aws host sets
* test: 💍 Add update tests for azure and aws host sets
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2022-11-21 19:07:46 -05:00
lisbet-alvarez
a91cbaf231
refactor: 💡 host set read acceptance tests ( #1402 )
...
* refactor: 💡 host set read acceptance tests
✅ Closes: ICU-6546
2022-11-02 11:11:02 -07:00
Carlos Alcaide Corvo
6f8afbb7af
Chore update eslint and plugins update ( #1171 )
2022-07-07 11:18:51 -07:00
Randall Morey
c68e1d9f49
fix: 🐛 fix broken LinkButton component and associated new tests
2021-11-05 14:23:20 -04:00
Randall Morey
c5222c4b54
feat: 🎸 implement host set host association capabilities
2021-10-01 17:22:50 -04:00
dharini
6babacd0bc
fix: 🐛 verify manage options
2021-09-02 16:16:19 -07:00
dharini
4423c53cc4
fix: 🐛 add test for manage catalog options
2021-09-02 15:58:45 -07:00
dharini
e2b0c3ad13
fix: 🐛 typo
2021-09-02 13:17:19 -07:00
dharini
b454efe41f
fix: 🐛 host sets capabilities create/list
2021-09-02 13:01:58 -07:00
dharini
2d35037365
feat: 🎸 hostset capability
2021-08-18 13:03:28 -07:00
Susmitha Girumala
83dadb01b5
refactor: Rename ui/core to ui/admin
2020-11-16 16:18:31 -05:00