d469f305de
Replace Rose::CodeEditor with Hds::CodeEditor ( #2679 )
...
* chore: 🤖 replace Rose::CodeEditor with Hds::CodeEditor
- Remove CodeEditor 5 dependency
* chore: 🤖 Replace CodeMirror5 dep
remove CodeMirror5 and replace existing editors with HDS::CodeEditor
* chore: 🤖 deleting old codeeditor styles
* feat: 🎸 changing code editor
changing code editor
✅ Closes: 0
* removed unused export
* pr cleanup
* updating tests for new code editor
* responding to PR feedback
* added whitespace
* fixing linting violations
* chore: 🤖 self-review PR
self-review PR in the course of switching to new HDS code editor
* fix: 🐛 fix linting bug
* fix: 🐛 unneeded dependency
remove jslint dependency as this is handled in the new code editor from
HDS
* fix: 🐛 Fixing import bug
Fix import bug caused by importing scss modules that no longer exist
* Fix and refactor code editor acceptance test
* Fix and refactor code editor acceptance test
* chore: 🤖 remove codemirror dependency
* refactor: 💡 fix merge conflict issues
* test: 💍 update e2e test selectors
* test: 💍 fix target spec click event
* refactor: 💡 clean up test selectors for code editor
* refactor: 💡 clean up storage bucket test selectors
* chore: 🤖 remove code mirror modifiers
---------
Co-authored-by: calcaide <ccorvo@hashicorp.com >
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2026-05-14 15:21:27 -04:00
Zhihe Li
999c21c66a
Upgrade eslint ( #3175 )
...
* chore: 🤖 Upgrade eslint config for admin ui
* chore: 🤖 Fix eslint issues for admin
* chore: 🤖 Upgrade eslint config for desktop
* chore: 🤖 Fix linting errors in desktop
* chore: 🤖 Upgrade eslint for api addon
* chore: 🤖 Fix eslint issues in api addon
* chore: 🤖 Upgrade eslint for auth addon
* chore: 🤖 Fix eslint issues in auth addon
* chore: 🤖 Upgrade core eslint config
* chore: 🤖 Fix eslint issue for core addon
* chore: 🤖 Upgrade eslint config for rose addon
* chore: 🤖 Fix eslint issue for rose addon
* chore: 🤖 Upgrade e2e eslint config
* chore: 🤖 Fix eslint issues in e2e
* chore: 🤖 Fix CI linting issues
* chore: 🤖 Add back linting server files for the future
* chore: 🤖 Update qunit rules to use extends
2026-02-27 13:32:27 -05:00
Lisbet Alvarez
3ba93927fe
Update copyright headers ( #3146 )
...
* empty commit
* Add missing copyright headers
* chore: 🤖 update copywrite config file with correct year
* Add missing copyright headers
* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00
55e1e68f30
[COMPLIANCE] Update Copyright and License Headers ( #3099 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com >
2026-01-20 11:35:10 -05:00
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
Zhihe Li
9e263379a7
refactor: 💡 Remove usage of indexed DB ( #2979 )
...
* refactor: 💡 Remove usage of indexed DB
2025-09-03 11:41:43 -04:00
Zhihe Li
9e612cf83d
feat: 🎸 Add sqlite support for credential stores ( #2967 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17416
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
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 Jeeva
dff5cac4fe
refactor: 💡 worker filter feature flags ( #2720 )
2025-03-13 15:12:36 -07:00
Cameron Perera
7807b7a280
Icu 15471 credential store tests ( #2663 )
...
* test: 💍 update cred store read tests to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store update to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store delete to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* test: 💍 update cred store list to use selectors
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
* chore: 🤖 remove refactored selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15471
2025-02-10 17:41:37 -06: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
2869020e65
Llb/worker filter improvements ( #2614 )
...
* test: 💍 clean up worker filter component tests (#2559 )
* Icu 15741 add show filter generator toggle to worker filter component (#2562 )
* feat: 🎸 add filter generator to worker filter component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15741
* feat: 🎸 show add worker filter when none set for targets (#2564 )
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15760
* Icu 15743 tag workflow (#2565 )
* feat: 🎸 add tag generator workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* test: 💍 add test cases
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* refactor: 💡 update selected type name to selectedGeneratorType
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* Apply suggestions from code review
minor translation change
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update id for generated-value
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* Icu 15744 name workflow (#2566 )
* feat: 🎸 add name workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* test: 💍 add "name" workflow tests for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 use const test selectors for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 add default option
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* docs: ✏️ fix comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
* refactor: 💡 move worker filter generator outside of rose::form (#2574 )
* refactor: 💡 move worker filter generator outside of rose::form
* [ICU-15718] Add worker filter route, template for empty state (#2576 )
* feat: 🎸 Vault Credential Store Worker Filter
The Worker Filters tab will display the associated worker filter and
have an empty state for when there is no worker filter assigned.
* add template
* Add missing copyright headers
* update styling, remove Rose component
* color primary is already default, remove
* add rose component, remove custom css
* fix test
* singularize lang
---------
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
* feat: 🎸 update worker filter field to use code editor (#2578 )
* feat: 🎸 update worker filter field to use code editor
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 fix failing storage bucket tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 update tests for new worker filter field (#2580 )
* test: 💍 update tests for new worker filter field
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15739
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* [ICU-15719] Create edit worker filter route and template (#2582 )
* add codeblock to template
* add cancel btn fn
* add controller test
* add save fn
* display formatted worker filter text inside codeblock
* move codeblock component outside rose::layout::centered
* remove console.log
* remove router.refresh() and refactor translations yaml
* refactor translations, add breadcrumb::item
* replace html elements with hds
* move component, delete file
* [ICU-15720] Add edit worker filter action to manage dropdown (#2593 )
* add acceptance test file
* delete test file
* add edit option to manage dropdown
* update route in dropdown
* add check for model isVault
* add acceptance test file
* delete test file
* remove data test selectors, fix syntax
* [ICU-15721] Remove worker filter input field (#2596 )
* remove worker filter input field from vault credential store form
* revert yaml
* [ICU-15838] Add vault credential store worker filter tests (#2595 )
* add data test elements
* add subtests to update-test.js
* add subtext to check for .hasText()
* add subtest when worker filter exists
* update subtest name
* remove console.log
* clean up
* add new selectors
* refactor: 💡 worker filter clean-up (#2592 )
* refactor: 💡 worker filter clean-up
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 add aria labels & missing can save check
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 pr feedback of using uuid
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* Add missing copyright headers
* refactor: 💡 use unique-id helper for aria labels (pr feedback)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update icon logic for egress worker filter (#2612 )
* refactor: 💡 update worker_filter help translation
* refactor: 💡 add maxHeight to worker filter code blocks
* refactor: 💡 use existing default option for dropdowns
* refactor: 💡 hide copy button when no result to copy
and remove unused styles
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lauren <lauren.burwell@hashicorp.com >
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
2024-12-11 14:00:27 -06: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
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
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
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Lisbet Alvarez
1270458430
fix: 🐛 add missing pagination component to cred stores ( #2264 )
...
* fix: 🐛 add missing pagination component to cred stores
* test: 💍 fix cred store acceptance tests
2024-04-22 12:43:39 -07:00
Devon Anderson
060f995f94
chore: 🤖 Migrate form.input to Hds::TextInput::Field ( #2143 )
...
* chore: 🤖 Migrate `form.input` to `Hds::TextInput::Field`
Migrate `form/credential` forms for for `json`, `ssh_private_key`,
`username_password`, and `form/credential-store` forms for `static` and
`vault` to use `Hds::TextInput::Field` instead of `form.input`.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 fix broken test
fix broken test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 fix broken test
fix broken test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 added `@hasVisibilityToggle` back and clean up test
Added `@hasVisibilityToggle` back and clean up test by use `data-test-*`
attributes for error messaging
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 set `@hasVisiblityToggle` to default
set `@hasVisiblityToggle` to default
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 field argument clean up
field argument cleanup
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 switch `disabled` argument to `readonly`
switch `disabled` argument to `readonly`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
* refactor: 💡 clean up attribute order
clean up field attribute order
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12461
2024-02-28 12:21:37 -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
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
lisbet-alvarez
f00da3d8d7
test: 💍 credential store CRUDL tests ( #1212 )
...
Revised acceptance tests to reflect two types of credential stores
✅ Closes: ICU-5329
* test: 💍 credential store CRUDL tests
* test: 💍 small addition to type of cred. store
* test: 💍 Add missing vault cred. store type tests
* fix: 🐛 rename variable in read-test.js
2022-07-26 10:02:29 -07:00
Dharini Jeeva
b6a811cbbd
fix: 🐛 filter out scopes with no auth methods ( #1115 )
...
* fix: 🐛 filter out scopes with no authenticatable auth methods
2022-07-18 09:08:09 -07:00
Carlos Alcaide Corvo
6f8afbb7af
Chore update eslint and plugins update ( #1171 )
2022-07-07 11:18:51 -07:00
dharini
876fc0c71f
feat: 🎸 cred store capabilities
2021-08-23 15:55:20 -07:00