351 Commits

Author SHA1 Message Date
Vault Automation
9932623861
UI: Feature Descriptions (#12737) (#13055)
* add and update feature descriptions

* add description doc links, improve spacing,  remove dividers

* update tests

* Update ui/app/components/recovery/page/snapshots/load.hbs



* update seal action and tests

* use description argument for simple descriptions

* clean up

* update with finalized descriptions

* updated policy descriptions

* update client count description

* fix typo and update tests

* update tests

* more test updates

* Apply suggestions from code review



---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-18 11:03:29 -05:00
Vault Automation
b057aac746
[VAULT-43339] 1/2 Chore update TS (#13050) (#13105)
* Initial ts updgrade

* Migrate linked-block to ts to squash ts errors

* [VAULT-43339] 2/2 Update vault-reporting and add ember-intl (#13062)

* Update vault-reporting and add ember-intl

* Add setupIntl for rendering tests

Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2026-03-17 15:52:40 -07:00
Vault Automation
c852fa2542
UI: Cert auth method Vault UI (#12890) (#12922)
* add cert auth method to ui

* add test coverage

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-03-11 17:53:58 +00:00
Vault Automation
a3859d67e3
Backport rework UI CI workflow to partition JS tests into ce/main (#12515)
* rework UI CI workflow to partition JS tests (#11967)

* add setup-pnpm action

* remove reading vault keys from vault server output

* update ci workflow to build app and go binary first, then run tests in partitions

* fix errant tests

* address PR feedback

* Apply suggestions from code review

Co-authored-by: Ryan Cragun <me@ryan.ec>

* more feedback changes

* restore test-helper.js

* restore auth test helpers

* check in ui/tests/helpers/vault-keys.js

* use v7 of download-artifact action

* make test-ui reusable workflow

* add status job

---------

Co-authored-by: Ryan Cragun <me@ryan.ec>

* update new UI tests to run CE tests on the CE branch (#12537)

---------

Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2026-02-27 12:19:47 -06:00
Vault Automation
24c3412135
Add V2 Form generator script (#12062) (#12089)
Add automated form config generation from OpenAPI specs.
Generator script can be utilized by passing API method name
which will then parse the OAS and generate the necessary form
configuration to be used with the upcoming V2 Form systems.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
2026-02-25 19:09:42 +00:00
Vault Automation
d8788f7792
UI: Consolidate error templates and not-found route handling (#12420) (#12431)
* fill out test coverage before replacing component

* rename page error selectors

* delete unused templates

* render Page::Error in vault.cluster.not-found

* replace NotFound component with Page::Error

* support full page errors for Page::Error component

* finish updating getErrorResponse usage and remove "not found" message

* delete unused template and route

* cleanup unused selectors

* whoops, missed this test update

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 21:39:57 +00:00
Vault Automation
87c04c4814
[VAULT-40843] Tune External Plugin Version (#12091) (#12370)
* [VAULT-40843] Tune External Plugin Version

* update comment :)

* update test for edge case

* simplify version state management and add comments for clarity

* remove obsolete styling; update comments

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-19 10:13:22 -08:00
Vault Automation
e343a87243
[UI][VAULT-42370][VAULT-41964][VAULT-41143] Update secrets engines and client count page title and breadcrumbs (#12190) (#12237)
* Update kubernetes and kmip breadcrumbs

* Add breadcrumbs for non ember engines

* LDAP breadcrumbs..

* PKI breadcrumbs..

* Mostly working kv tests

* kv data persona tests

* Fix remaining kv-workflow test

* Route to vault.cluster instead of dashboard

* VAULT-41964 Update client count breadcrumb + test

* VAULT-41143 Remove user dropdown a11y override

* Add test for nav links on community

* Ensure we check for enterprise

* Address feedback

* Use selector instead

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-06 11:11:04 -08:00
Vault Automation
0079d343d8
[UI] VAULT-41960 resilience and recovery sidebar (#12056) (#12170)
* VAULT-41960 resiliance and recovery sidebar

* Add breadcrumbs and fix failing tests

* Update link to be external

* Update mode title

* Fix tests

* More tests

* Passing tests!

* Fix sidebar highlight issue

* Update remaining breadcrumbs and fix tests

* Fix recovery tests

* Add resilience and recovery tests

* Sidebar clients rearrangement

* Dasherize and address feedback

* Add copyright headers

* Move to snapshots component for integration test

* Create recovery route file in cluster

* Update ts file and create resilience route

* Remove unused comment

* Add display-nav-item helper

* remove extra nav instantiation

* Add copywrite header

* Address feedback!

* Add more tests!

* Remaining helper tests

* last resilience recovery test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 12:06:25 -08:00
Vault Automation
c499aa5288
UI: Namespace Wizard (#11556) (#12053)
* fill guided start content

* move namespace logic into page component

* add page component tests for namespace wizard

* add tree chart and changelog, update state management

* fix failing page usage test

* add back in breadcrumb update lost in merge conflict resolution across files

* fix test

* update terraform template function usage

* Update ui/app/components/wizard/namespaces/step-3.hbs



* formatting and fixes

* revert usage page changes

* move snippet generators into util and update code snippet initialization

* update test namespace page args

* move namespace wizard logic into its own component

* fix nested namespace creation via api and cli code snippets

* test update

* nested namespace terraform snippet

* remove outdated comment

* test clean up and hide wizard in CE

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-01-28 19:07:13 +00:00
Vault Automation
06ddf792f2
[UI] VAULT-41962 Updated tools sidebar (#11919) (#11984)
* VAULT-41962 Updated tools sidebar

* Fix failing tests and add copyright header

* Update capitailization of nav item titles

* Update tools breadcrumbs

* Add comments

* Fix failing tests!

* Update ui/tests/acceptance/config-ui/messages/messages-test.js



* Update ui/lib/core/addon/components/sidebar/nav/tools.ts



* Add more nav tests for custom messages

* Update test name

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-26 10:11:40 -08:00
Vault Automation
0793c817ef
[UI][VAULT-40930] Replace direct use of Hds::PageHeader with Page::Header (#11721) (#11760)
* Replace direct use of hds::pageheader with page::header

* Update test selector

* Remove unused selector

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-01-15 07:43:05 -08:00
Vault Automation
b7b7002d71
UI: Fix error parsing for creating LDAP roles (#11731) (#11737)
* parse error

* add test coverage

* update test so original code fails the same way

* remove unused vars

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-01-13 01:04:45 +00:00
Vault Automation
1211b75aaf
Backport [UI] Ember Data Migration: KMIP Config into ce/main (#11676)
* [UI] Ember Data Migration: KMIP Config (#11637)

* converts kmip configuration route to ts

* adds ts and template lint deps to kmip engine

* adds api service to kmip engine

* updates kmip configuration route to use api service

* converts kmip configuration template to page component

* converts kmip configure route to ts

* updates kmip configure workflow to use api service and form class

* enables ts transform in kmip engine

* fixes a11y violations on kmip configuration page

* Update ui/app/forms/secrets/kmip/config.ts

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>

* fixes lint error

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
2026-01-09 14:31:28 -07:00
Vault Automation
44e02fca43
[UI][VAULT-40923] Kubernetes Page Header (#11564) (#11574)
* Fix kubernetes tests!

* Use key icon instead of rorate-cw

* Remove unused button!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-12-31 07:21:06 -08:00
Vault Automation
5013a5e764
UI: Updating KVV2 to use new config/tune flow (#11256) (#11511)
* separate header comp

* replacing header

* redirect to general settings

* moving kv configure under plugin settings

* add exit button

* removing all use of old header with new, updated logic

* reuse secretPath, add button to badge

* test updates pt1

* test updates pt2, refactors

* test fixes

* testing

* removing extendedConfig

* put tabs out of header

* adding new config edit page & updates

* adding page test

* pr comments

* replace type with effectiveType

* test fixes

* adding badges, cleanup test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-12-18 23:19:37 +00:00
Ryan Cragun
f39d49e2fb
[UI] Ember Data Migration - Dashboard/Quick Actions Card (#11443) (#11480)
* converts quick-actions-card component to ts

* updates dashboard quick-actions-card to use hds super select component

* removes searchField from params search

* fixes kvv2 workflow test

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-18 16:55:55 +00:00
Vault Automation
366e77bac5
UI: Convert file policy-form to typescript (#11368) (#11434)
* convert file to typescript

* remove unused util

* add support for nested options

* move automation snippets outside of builder component

* update snippet utils

* Revert "remove unused util"

This reverts commit bcb53271e63dd1fc3d2f735d7f7fcc54e5e31988.

* render automation snippets for only acl policy types

* cleanup old args

* add default arg for formatEot

* make tfvp formatters easier to follow, maybe?

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-17 17:20:19 +00:00
Vault Automation
56de87a0c8
UI: Implement visual policy builder (#11250) (#11367)
* replace Hds::Reveal with Hds::Accordion

* adjust spacing to render in Hds::Form component

* fix spacing in policy-example

* cleanup form-section class usage

* implement visual builder in create policy form

* hide visual editor in search select modal

* use general selectors, alphabetize form/field selectors

* update test coverage to check for visual policy editor

* reorganzie tests by module

* add saving functionality for visual editor

* refactor event handling methods

* refactor component so parent manages stanzas

* move snippets to automation-snippets tab component

* polish up policy diff modal

* refactor arg to be isCompact

* update test coverage and export new component

* rearrange methods to make diff easier

* small cleanup, abc vars and remove unneeded change

* add lanuage and update test coverage

* update comment

* fix form hierarchy

* fix modal spacing;

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-15 20:42:13 +00:00
Vault Automation
1934f2698c
UI: Updating non-ember engines to utilize new config tune flow (#10853) (#11236)
* removing flags

* small changes

* fixes

* move things back

* utilizing aftermodel w mods, testing aws

* fix ssh tests

* fixing aws and azure

* fix gcp

* fix test and flip kv

* fix kv2 tests

* adding model to fix tests

* updates and removals

* fix tests

* no showing empty state, redirect to plugin settings after config save

* test fixes

* update subtitle to include namepsace, fix test

* removing index, replacing with general settings, updates

* updates and fix tests

* more test fixes

* wif tests

* updates to nav tests

* update tests and cleanup configuration logic

* add todos

* fix remaining tests, add nav test to gcp

* test tweak

* address todos, test update

* Update ui/app/routes/vault/cluster/secrets/backend/configuration/plugin-settings.ts



* I love prettier so much

---------

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-12-12 11:23:32 -08:00
Vault Automation
c5b3edc0e4
UI: Add general wizard component (#11136) (#11252)
* add general wizard component

* add copyright headers

* remove header, improve submit block conditional logic, add integration tests

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-12-12 11:14:00 -06:00
Vault Automation
2e0f2f1646
[UI] Ember Data Migration - LDAP Library (#11254) (#11260)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

* adds capabilities service to ldap engine

* updates ldap mirage handler and scenario

* adds ldap capabilities constants and helper for fetching capabilities for roles

* updates ldap roles view to use api service

* updates ldap role details view to use api service

* updates ldap role create/edit views to use api service and form classes

* updates ldap role subdirectory view to use api service

* updates ldap role credentials view to use api service

* updates ldap libraries list views to use api service

* updates ldap library details view to use api service

* updates ldap library details accounts view to use api service

* updates ldap library details accounts check out view to use api service

* updates ldap library details configuration view to use api service

* updates ldap library create/edit workflows to use api service and form class

* fixes lint errors

* removes errant log

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-10 10:38:40 -07:00
Vault Automation
63bbbd163b
UI: Build policy generator (#10985) (#11209)
* wip policy stanza builder

* Implement add and delete new stanza functionality

* refactor to use Set()

* make copy updates, add callback functionality to pass policy to parent

* move policy formatter to util, add test coverage

* =separate acl-policy component into two smaller components, add automation snippets

* reorganize utils, add test coverage

* finish rename

* reduce scope of builder

* fix spacing

* add a ns test, remove unused spacing var

* rename arg

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-12-05 22:28:39 +00:00
Vault Automation
c34e25fb76
[UI] Ember Data Migration - LDAP Config (#11048) (#11194)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-05 17:43:38 +00:00
Vault Automation
e6072b50e5
[UI] Ember Data Migration - PKI Overview/Cleanup (#11024) (#11117)
* removes store query from pki config route

* updates pki overview route to use api service

* removes remaining references to store in pki tests

* removes unused store service injections in pki components

* removes store dependency from pki engine

* removes ember data related unit tests for pki

* removes pki ember data models, adapters and serializers

* removes unused pagination service injections in config-ui, kv, pki and sync engines

* removes unused store service injections from pki engine

* updates dashboard quick-actions-card component to fetch options using api service

* removes path-help test using pki model

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-03 20:37:20 +00:00
Vault Automation
5ff894f494
[UI] Ember Data Migration - PKI Roles/Certificates (#11004) (#11016)
* removes unused model hook from issuer import route

* updates pki roles route to use api service

* updates pki role details route to use api service

* removes Ember Data Model support from pki-not-valid-after-form component

* updates pki role generate and sign workflows to use certificate form and api service

* adds pki certificate form

* updates pki certificates routes to use api service

* adds pki role form

* removes Ember Data Model support from pki-key-parameters component

* removes Ember Data Model support from pki-key-usage component

* updates pki role create and edit views to use api service and form class

* fixes tests

* fixes a11y violations

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-11-26 09:29:58 -07:00
Vault Automation
3092a60978
Cleanup secrets engine test selectors (#10898) (#10920)
* use SES.configure selector consistently

* VAULT-40956 remove duplicate "Configure" toolbar actions for kubernetes

* remaining selector cleanup and consolidation

* update tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-19 03:21:32 +00:00
Vault Automation
71dee6b2e5
[UI] Ember Data Migration - PKI Configuration (#10328) (#10523)
* [UI] Ember Data Migration - PKI Config Setup (#10320)

* adds api and capabilities services to pki engine

* updates eslintrc to ignore rest siblings for no-unused-vars rule

* adds ember-template-lint to pki engine

* updates check-issuers decorator to use api service

* adds constants for pki capabilities paths

* updates pki configuration route to use api service and fetch capabilities

* [UI] Ember Data Migration - PKI Config Generate Form (#10322)

* updates form class data object to tracked

* adds isNot validator

* updates tsconfig to resolve json modules

* updates open-api form class to use the spec file rather than help response for form field/group generation

* adds pki config generate form

* [UI] Ember Data Migration - PKI Config Create (#10331)

* updates pki configure create route and component

* updates pki generate csr component to use api service and form class

* updates pki generate root component to use api service and form class

* updates pki import bundle component to use api service

* [UI] Ember Data Migration - PKI Config Generate Sub Components (#10332)

* updates pki generate toggle groups component to support form class

* updates pki key parameters component to support form class

* updates pki generate immediate component based on csr component changes

* updates pki generate root component based on root component changes

* more pki config sub component updates

* updates pki issuer rotate root component to use api serivce and form

* updates pki acceptance tests (#10341)

* [UI] Ember Data Migration - PKI Configuration Edit (#10339)

* adds forms for pki config acme, cluster, crl and urls

* updates pki config edit worflow to use api service and forms

* updates pki config details workflow to use api service (#10340)

* updates auth configure section route to pass schema key to OpenApiForm constructor

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-11-18 09:42:22 -07:00
Vault Automation
a629acd818
[UI] VAULT-40825 LDAP Engine Plugin Settings Follow-on Tickets (#10768) (#10870)
* VAULT-40827 Remove isOldEngine property

* VAULT-40826 clean up plugin links logic

* Fix plugin settings logic..

* Add comments..

* Fix bug!

* AAdd configEdit and configRead route

* Configure tabs suggestion (#10795)

* refactor logic into one local helper

* refactor to pass in metadata

* update comments

* fix arg typo

* don't make assumptions! explicitly check whether an engine isConfigurable

* pass in @isConfigured arg and add isConfigurable boolean for any engine

* add integration test

* add acceptance test

* Use configs

* Remove unused vars

* Use configurableEngines

* Add aftermodel hook..

* add list route nav test

* Remove dropdown

* Remove mount config test

* Fix failign tests

* Fix tests..

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-11-17 17:48:12 -08:00
Vault Automation
a92bffe5ce
UI: Hide Client Count Dashboard for PKI Only Clusters (#10513) (#10831)
* hide client counting dashboard for PKI only clusters

* add test and hide client count card

* convert to ts,
add pki only license banner, add comments, and support for multiple dismissed types

* add banner description

* add changelog entry

* update tests + add test coverage for multiple banners + info banner

* update tests

* add doc link

* Apply suggestions from code review



* naming updates

* update feature key format

* update casing

* add enum, revert naming, move helper to util

* test hidden nav link and dashboard card

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-17 09:11:14 -06:00
Vault Automation
621e3686f0
UI: LDAP Plugin settings (#10476) (#10763)
* Update plugin-settings tab routes

* Get LDAP engine working with plugin-settings and general-settings

* Add copyright headers

* Fix ts error

* Fix more failing tests

* Gate header by ff

* Update failing tests and fix bugs

* Add changelog

* Fix configure tabs route name

* Update comment

* Address some comments

* configuration route..

* Update configure and configuration routes to use header

* Update tab-page-header component name

* Fix onClose modal issue where screen locks up

* Put configure back..

* Fix template errors

* Update manage dropdown..

* Move things back..

* Fix tests!

* Fix modal locked in bug

* Fix failing test where it wasnt transitioning to the configuration route

* Use ember concurrency instead

* Check if onConfirm exists before calling it

* Update variable

* Remove unused ConfigureTabs

* Fix JS doc and remove conditional

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-11-12 18:02:16 -08:00
Vault Automation
2150ee17c9
[UI] updated tests for table (#10547) (#10567)
Co-authored-by: Cristiano Rastelli <public@didoo.net>
2025-11-12 11:10:37 -05:00
Vault Automation
0e6dc73772
UI: fix PKI certificate key_usage parsing and add extended key flags to role form (#10416) (#10479)
* fix parsing of key_usage VAULT-40303

* VAULT-40220 add extended key usage flags and test coverage

* add test coverage

* add changelog

* fix mislabeled role parameter

* update tests

* VAULT-40219 link jira

* update changelog text

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-29 18:47:57 +00:00
Vault Automation
8346f0638c
UI: update aws generate credential form inputs to rely on credentialType (#10045) (#10351)
* update aws generate credential form inputs to rely on credentialType

* update tests

* show credential type + style updates

* Update ui/app/components/generate-credentials.ts



* update test, naming and help text

* add changelog

* rename changelog

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-27 11:41:57 -05:00
Vault Automation
3a4d34f241
[UI] Set up core page header component and update secret engine header (#10274) (#10330)
* Set up dynamic page header component and update secret engine header

* Add copyright headers

* Remvoe unsused tab for now

* Add page header test

* Remove component test since we deleted component

* Address feedback..

* Add deprecation comment

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-10-23 09:48:02 -07:00
Vault Automation
0845606fe3
UI: Adopt HDS tooltip (#9967) (#10326)
* replace instances of ToolTip component with HDS tooltip

* Replace InfoTooltip component instances with HDS tooltip

* update tests

* remove remaining custom tooltip code

* remove rich tooltip with copy

* update test and update toolbar link with styling to remove extra link

* Apply suggestions from code review



* update test and remove setRunOptions now that tooltip violations are addressed

* Revert "Apply suggestions from code review"

This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.

* Remove unused disabled tooltip code

* add comment and TODO explaining conditional modifier pattern

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-22 18:24:50 +00:00
Vault Automation
0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00
Vault Automation
048c2b3f5a
UI: Updating secrets engines routing structure (#10163) (#10206)
* updating routes from mounts/ to enable and updates to breadcrumbs

* updating all relevant tests

* leftover tests

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-10-17 16:36:29 -04:00
Vault Automation
6886447328
General test improvements (#10099) (#10147)
* add parallel command

* declare vault-keys module for test helpers

* use mirage to make dropdown check more reliably

* wait for inputs

* attempt to stabilize dashboard tests in parallel

* revert wait for inputs

* move problem acceptance tests to integration tests

* move more tests to integration

* remove assert.expect()  because there are no callback assertions

* delete redundant acceptance tests

* cleanup login state in afterEach hook

* use mirage for login settings test

* update other test based on mirage handler changes

* throw some waitFor in there

* revert waitFor

* use mirage in shared-identity-test

* remove storage cleanup from this pr

* remove parallel..again

* remove unnecessary auth login changes

* add version to dashboard/overview test "it shows the learn more card on enterprise"

* convert "version 2 with no update to config endpoint still allows mount of secret engine" to integration test

* restart tests

* Apply suggestion from @hellobontempo

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-15 19:50:39 +00:00
Vault Automation
ceed8011de
UI: Add new List-table component & replace list with table for Secret Engines (#9724) (#10113)
* sample setup with table & pagination

* adding selected, hooking actions

* no side border

* adding multi disable

* updates to placement, test labels

* updates for pagination, design change on filter

* update test

* update test selectors

* straggler test

* more test fixes

* minor fixes

* change back

* refactor components

* fixing tests, pls be the end

* some cleanup, adding comments

* adding cleanup for these tests

* added changelog

* modernize test and pray

* last try

* updates

* updates and I love tests, pt1

* i love tests pt2

* minor fix

* update card

* update card test

* pr comments

* updating disable tasks, test fix

* fix test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-10-14 14:07:21 -04:00
Vault Automation
f07b613f0a
UI: Client cout usage dashboard GA improvements (#10062) (#10096)
* add clarifying text for client_first_used_time

* add test coverage

* add changelog

* add conditional so export request only made on enterprise

* add enterprise note to last changelog

* revert change that rendered date range edit after query

* move button to match other filter designs

* fix route typo and add path to error message

* add test coverage

* update test assertions

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-13 23:51:49 +00:00
Vault Automation
e4309c0e18
UI: Fix auth form when token is the preferred type for a namespace (#9944) (#10070)
* normalize token type for ns_token auth mounts

* add changelog

* also check type is supported in route and add test coverage

* Apply suggestion from @hellobontempo

* update test coverage to expect array

* update tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-10-10 13:58:02 -07:00
Vault Automation
0671becbd3
[UI][Bugfix]: General settings page bug fixes pt.2 (#9915) (#9940)
* VAULT-39899 update metadata readonly copy fields to be copy snippet

* VAULT-39912 add bullet buttons to unsaved changes modal

* VAULT-39906 Allow flash message to accept title arg

* Fix failing tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-10-07 18:29:37 +00:00
Vault Automation
bf32d52450
[UI] Ember Data Migration - KV Cleanup (#9623) (#9794)
* adds error handling for control groups to api service as post request middleware

* updates kv list route to use api service

* updates kv config route to use api service

* updates kv secrets overview route to use api service

* updates kv secret details route to use api service

* adds kv form

* updates kv metadata details route to use api service

* updates kv paths and version history routes to use api service

* refactors kv-data-fields component to form component

* updates kv secret create route to use api service

* updates kv secret edit route to use api service

* updates kv metadata edit route to use api service

* adds waitFor to async middleware in api service to attempt to fix race conditions in tests

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

* removes kv models, adapters and serializers

* removes store from kv addon

* removes ember data related test helpers from kv-run-commands

* updates comments that referred to kv ember data models

* updates kv-page-header tests

* updates model-form-fields test to use totp-key model rather than kv/data

* removes another reference to kv/data model from path-help test

* fixes kv v2 workflow create tests

* fixes issue returning metadata for secret when latest version is deleted

* decodes uri in path returned by api service parseError method

* fixes kv v2 edge cases tests

* fixes issue deleteing control group token in api service

* decodes url for control group token lookup in api service

* fixes version history linked block link

* defaults cas to 0 when creating new secret

* removes log

* adds ember-template-lint to kv engine

* more test fixes

* updates kv-suggestion-input component to use api service

* removes kv metadata model reference from quick actions card

* fixes sync destination sync secrets tests

* updates kv helpers from classic format

* updates kv helpers imports

* reverts to use secret.version in details edit route

* fixes isDeleted import in kv version history test

* adds waitFor to api service parseError method

* reverts removing async from addQueryParams api method

* attempts to fix test flakiness requesting custom metadata from data endpoint

* more tweaks to requesting metadata from data

* adds waitFor to requestData method

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-02 12:52:26 -06:00
Vault Automation
5807d61ec7
[UI] Ember Data Migration - Control Group Error Handling (#9483) (#9548)
* adds error handling for control groups to api service as post request middleware

* adds waitFor to async middleware in api service to attempt to fix race conditions in tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-01 10:58:16 -06:00
Vault Automation
425e80a933
[UI] Ember Data Migration - KV List/Config (#9493) (#9676)
* adds error handling for control groups to api service as post request middleware

* updates kv list route to use api service

* updates kv config route to use api service

* adds waitFor to async middleware in api service to attempt to fix race conditions in tests

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-01 10:35:31 -06:00
Vault Automation
d17181c596
UI: Replace toolbar filters on Secret Engines List page (#9577) (#9692)
* first full pass with new filtering

* updates and making dropdowns searchable

* fixing tests

* updates, test fix

* update version dropdown

* update icons

* comments and cleanup

* filter fixes, update template and add test

* fix tests

* fix tests but not insane

* update, changelog

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-26 14:34:43 -04:00
Vault Automation
0400a442c0
UI: Skip recovery requests for community versions (#9555) (#9588)
* use "redirect" instead of "afterModel"

* fix styling of radio group buttons

* remove redundant route redirect

* wrap mount dropdown in loading conditional

* reuse parent redirect logic, delete unused outlet

* minor padding adjustments

* force restart tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-23 16:12:01 -07:00
Vault Automation
5c750e4ebb
UI: Implement MFA TOTP self-enrollment (#9161) (#9427)
* support wide width splash page

* add enable_self_enrollment param to mfa-method config

* build and implement mfa setup-card display only component

* fix transition bug navigating away from mfa method

* rename mfa card

* WIP implement self-enrollment workflow

* wip integration tests

* convert mfa-form to typescript

* remove unused import

* show alert whenver there is a QR code

* organze mfa steps into Mfa::VerifyForm and Mfa::SelfEnroll

* WIP stretch goals of mfa redesign

* add copyright headers

* update test

* add support for multiple constraints with self-enrollment

* remove comment

* fix multi-method UX

* fix state for failed validation

* remove changing button for error states

* add error handling and validation messages

* minor cleanup for params

* first round of cleanup and reorganization

* final round of logic cleanup and organization

* touch ups after testing with live backend

* fix comment

* final test cleanup!

* Apply suggestions from code review

* improve mirage error handling to more accurately mimic real failures

* add test coverage

* make qr rendering logic easier

* address PR feedback

* submit enroll form on enter, remove code digit number from copy, reset enroll state

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-18 10:00:09 -07:00
Vault Automation
02dd079e91
Backport UI: General settings Integration and Acceptance Tests. into ce/main (#9382)
* UI: General settings Integration and Acceptance Tests. (#9363)

* General settings integration tests

* Add page header integration tests

* Add page header test for plugin settings as a tab too

* More tests!

* Acceptance tests!

* Add more acceptnace tests

* Add copywrite headers

* Fix linting error

* Fix accessibility errors

* Remove unused vars

* Put mock secret engine back into beforeHook

* Add enterprise to key management test (#9392)

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2025-09-17 16:47:58 -07:00