Zhihe Li
9e263379a7
refactor: 💡 Remove usage of indexed DB ( #2979 )
...
* refactor: 💡 Remove usage of indexed DB
2025-09-03 11:41:43 -04: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
Zhihe Li
2d38266609
feat: 🎸 Add sqlite support for roles ( #2965 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17414
2025-09-03 11:41:41 -04:00
Lisbet Alvarez and Zhihe Li
d414df4ca4
feat: 🎸 Add custom sort support to sql parser ( #2959 )
...
* feat: 🎸 Add custom sort support to sql parser
* test: 💍 fix column numner
* refactor: 💡 apply pr feedback
* fix: 🐛 use every method for checking attrs
* refactor: 💡 PR feedback + ensure default sort
* refactor: 💡 Consolidate attributes field when sorting
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17441
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2025-09-03 11:41:41 -04:00
Zhihe Li
e0982da744
feat: 🎸 Add sqlite handler and parser ( #2933 )
...
* feat: 🎸 Add sqlite handler and parser
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17410
2025-09-03 11:41:41 -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
Carlos Alcaide Corvo
961f497b6b
Replace this.server.db with this.server.schema ( #2907 )
2025-06-26 14:14:26 -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
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
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
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
Priya Patel
93a57f26ee
Replace Rose::Icon with HDS::Icon ( #2762 )
...
* refactor: 💡 rose icons with hds icons
* fix: 🐛 remove child selector for h2
* fix: 🐛 removed unwanted changes
* fix: 🐛 remove unncessary change
* refactor: 💡 rose icon for rose components
* fix: 🐛 default size for doc-link, updated tests, removed TODO
* fix: 🐛 update doc-link test
2025-04-25 13:18:23 -07:00
Lauren
36db2d3f1d
Replace Rose::Button with Hds::Button ( #2771 )
...
* refactor btn
* refactor scope/workers/index.hbs
* refactor add-members, add-principals
* refactor btns, fix tests
* update json-secret-skeleton btn
* remove class from app.scss
2025-04-22 16:25:12 -04:00
3dded0a7bc
Llb/side nav refactor ( #2763 )
...
* feat: 🎸 scope picker component (#2646 )
* feat: 🎸 scope picker component
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 use hds side nav w/ hds frame instead of rose (#2688 )
* refactor: 💡 use hds side nav w/ hds frame instead of rose
* test: 💍 clean up selectors
* fix: 🐛 specificity of style override
* refactor: 💡 use hds side nav list instead of target and portal
* refactor: 💡 revert to using portal component & update scss
* docs: ✏️ update comment
* refactor: 💡 use custom class names for containers
* refactor: 💡 pr feedback (use @hasSidebar arg)
* refactor: 💡 fix onboarding page & fix settings title
* refactor: 💡 remove unneeded template file (pr feedback)
* test: 💍 fix tests due to merge conflicts
* test: 💍 add missing test selector due to merge conflict
* test: 💍 fix more broken tests due to merge conflicts
* chore: 🤖 update yarn.lock & update hds version to 4.18.1
* chore: 🤖 fix e2e test cases due to side nav refactor (#2751 )
* chore: 🤖 fix e2e test cases due to side nav refactor
* test: 💍 fix e2e test for desktop
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2025-04-14 14:27:02 -07:00
Cameron Perera
a697dba5b9
chore: 🤖 add test selectors to roles org-scope tests ( #2761 )
2025-04-04 13:33:41 -05:00
Cameron Perera
0f41a0a576
chore: 🤖 add test selectors to roles grants tests ( #2749 )
...
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
* chore: 🤖 add test selectors to roles grants tests
* refactor: 💡 create custom selector for grants tests
* refactor: 💡 use new FORM selector
2025-03-31 16:24:40 -05:00
Cameron Perera
b4d9cd5bb7
Icu 16409 roles list & global-scope ( #2747 )
...
* chore: 🤖 add test selectors to roles list tests
* chore: 🤖 add test selectors for roles global-scope tests
* chore: 🤖 add TABLE_RESOURCE_LINK to global-scope tests
* test: 💍 change exists to isVisible
2025-03-28 13:11:33 -05:00
Cameron Perera
ddbd1ca163
Icu 16406 roles read, update, delete ( #2741 )
...
* chore: 🤖 add test selectors to roles read tests
* chore: 🤖 add test selectors to roles update tests
* refactor: 💡 small test clean up
* chore: 🤖 add test selectors to roles delete tests
2025-03-21 15:34:17 -05:00
Cameron Perera
32e9fe8b6a
chore: 🤖 use test selectors for roles create tests ( #2738 )
2025-03-20 14:08:33 -05: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
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
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
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
Carlos Alcaide Corvo
70aceb1699
Update test selectors for create hosts ( #2542 )
...
* Use of common and domain specific selectors for create host test.
2024-11-04 08:43:41 -08:00
Cameron Perera
9bacb55e87
chore: 🤖 update TODO to with ICU ticket ( #2474 )
...
* chore: 🤖 update TODO to with ICU ticket
* chore: 🤖 add message back to todo
2024-09-05 10:21:17 -05:00
Cameron Perera
dea4a62955
test: 💍 add TODO for a11y violations ( #2471 )
2024-09-04 15:44:42 -05: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
Lisbet Alvarez and Cameron Perera
79b06ee565
ICU-13883 add remove org modal ( #2435 )
...
* feat: 🎸 add remove org modal
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13883
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-08-15 16:04:46 -07:00
Lisbet Alvarez
7ac904a31f
ICU-14496 add discard unsaved changes modal to manage scopes ( #2421 )
...
* refactor: 💡 add discard unsaved changes modal
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-14496
2024-08-08 10:46:39 -07:00
Lisbet Alvarez
7c51776c57
fix: 🐛 hide search & pagination for project role grant scopes ( #2411 )
...
* fix: 🐛 hide search & pagination for project role grant scopes
2024-07-25 08:09:06 -07:00
Lisbet Alvarez
45931be4da
refactor: 💡 add grant scopes applied badge ( #2374 )
...
* refactor: 💡 add grant scopes applied badge
* test: 💍 add extra asserts
2024-07-15 17:23:00 -07:00
Lisbet Alvarez
c340d9ab89
feat: 🎸 add search and filtering to scopes tab in a role ( #2371 )
...
* feat: 🎸 add search and filtering to scopes tab in a role
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13886
2024-07-15 17:23:00 -07:00
Wadi
3bcc5aabd8
ICU-13879 ( #2372 )
...
* Updated Dropdown in Roles menu to reflect Hds Dropdown
* Added data-test attributes
* Removed mixed rose code
* Fixed lint issues
* Fixed up tests and removed bare text to be replaced with translation.
* Fixed lint issues
* Updated Manage Scopes to reflect HDS self-closing element
* Lint issues
2024-07-15 17:23:00 -07:00
3064e51bc1
feat: 🎸 create manage projects in org route and view ( #2365 )
...
* feat: 🎸 create manage projects in org route and view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13882
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-07-15 17:23:00 -07:00
Lisbet Alvarez and Zhihe Li
27abf9e2d9
feat: 🎸 create manage custom scopes route and view ( #2359 )
...
* feat: 🎸 create manage custom scopes route and view
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13881
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-07-15 17:23:00 -07:00
Lisbet Alvarez and Zhihe Li
89e072401c
Icu 13880 create manage scopes route and view with keyword values ( #2342 )
...
* feat: 🎸 manage scopes route and page
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13880
* Update addons/core/translations/resources/en-us.yaml
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* Update ui/admin/app/abilities/role.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* Update ui/admin/app/components/form/role/manage-scopes/index.hbs
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-07-15 17:23:00 -07:00
Cameron Perera
85bce84356
feat: 🎸 add No scopes add to roles/role/scopes route ( #2338 )
...
* feat: 🎸 add No scopes add to roles/role/scopes route
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13878
* feat: 🎸 add new role ability
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13878
* refactor: 💡 fix permission for setting grant scopes on role
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13878
2024-07-15 17:23:00 -07:00
Cameron Perera
2bc314d271
Icu 12708 add scopes tab route in role route ( #2322 )
...
* feat: 🎸 add roles/role/scopes route
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 update role and scope mirage factories
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* feat: 🎸 add grantScopes to role model
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* feat: 🎸 fetch all scopes recursively
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* feat: 🎸 add new role grant scopes translations
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* feat: 🎸 add table to list grant scopes on a role
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* test: 💍 acceptance test for grant scope table and controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* test: 💍 add unit tests for grantScopes method on role model
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 small updates from PR feedback
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 update grantScopes to use sort
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* feat: 🎸 update role scope description for each scope type
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 make grant_scope_ids sort better
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 update global scope to show as Global vs global
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 update logic for display grant scope keywords
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 small improvement in role.grantScopes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 move scope query to roles/scope route
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
* refactor: 💡 remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12708
2024-07-15 17:23:00 -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
Lisbet Alvarez
edba33bbda
Icu 13359 refactor query requests for resources added to indexed db ( #2224 )
...
* refactor: 💡 update query requests for resources in indexedDB
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13359
2024-04-12 14:55:34 -04:00
Lisbet Alvarez
8be4e93a3c
Icu 12590 add filtering pagination support for roles ( #2204 )
...
* feat: 🎸 add search & pagination for roles
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12590
2024-04-12 14:55:33 -04:00
Cameron Perera
f366f0a858
fix: 🐛 update id to ids for target onboarding creation ( #2120 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12412
2024-01-30 09:13:20 -06: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