Commit graph

1732 commits

Author SHA1 Message Date
Vault Automation
9a6d507dec
[UI] [VAULT-42855]: billing overview poc (#12548) (#13556)
* Create billing route and add to sidebar

* WIP

* Working dynamic cards

* Update billing copy

* Fix bugs

* WIP polling

* WIP Add polling..

* Move card logic to metric-card

* Remove gcp KMS

* Working polling

* broken but just to demo normalization (#12594)

* broken but just to demo normalization

* Pair with Claire to clean up data

* Fix merge conflict issue

* Create type file and add helper

* Add unit test!

* Add copywright headers

* Update unit test name

---------



* Fixes summary card component

* Polling...

* Fix ts errors

* Write sidebar logic and add acceptance test

* Add comment explaining license feature

* Address feedback and fix styling so its responsive

* Fix failing tests

* Remove polling service and code clean up

* Add changelog and update some styling!

* Update changelog...

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-04-02 09:15:34 -07:00
Vault Automation
bcda5f99b5
update header spacing (#13505) (#13561)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-04-01 12:10:06 -05:00
Vault Automation
6e78ee6a61
UI: fix bug when mounting external kv version & empty payload when tuning external versions (#13361) (#13450)
* default to version 1 when options is returned empty for external kv  mounts

* updating checks for kv, tuning version after mount, reloading plugin after tuning verision

* fix comment

* moved array to const

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-26 16:58:42 -04:00
Vault Automation
45530c0d48
[UI] Dismiss Wizards in Ember Tests (#13407) (#13442)
* dismisses wizards in ember tests

* clears localStorage for tests that require intro pages

* fixes version assertions in reduced disclosure tests

* adds a wait for file upload in snapshots recovery test

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-26 18:21:01 +00:00
Vault Automation
2c2068f3ca
[UI] [VAULT-43463] Update breacrumbs in remaining pages (#13347) (#13374)
* Update breacrumbs!

* OIDC breadcrumbs..

* Update label to scope(s)

* Fix failing tests!

* Add breadcrumbs to MFA

* Address feedback and fix breadcrumb bugs

* Remove console

* Fix failing tests!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-24 22:43:16 -07:00
Vault Automation
d3bd7e6e30
VAULT-43456 - Updates region field for aws on secrets engines config page (#13322) (#13332)
* VAULT-43456 - updates region field for aws on secrets engines config page

* fixed co-pilot review comments

* fixed import

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-24 06:09:23 +00:00
Vault Automation
5176344499
UI: Removing separate hds icon class causing alignment issue + fix toolbar link alignment (#13320) (#13323)
* removing separate hds icon class

* removing duplicate class, adding separate class to handle toolbar link misalignment

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-23 20:45:22 +00:00
Vault Automation
1331818193
UI: Fix namespace search showing empty state when namespaces exist (#13257) (#13286)
* updating verbiage and testing with new listtable replacement

* remove and fix empty state

* cleanup

* rename

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-20 22:06:56 +00:00
Vault Automation
16f98c11ce
[UI] Dismiss Wizards in Playwright Tests (#12699) (#12728)
* adds constants util for wizards and updates service to use WizardId type

* updates wizards to use WIZARD_ID_MAP values

* updates wizard tests to use the service for dismissal

* updates playwright setup to add all wizard ids as dismissed in localStorage

* removes wizard dismissal step from existing playwright tests

* fixes issues accessing owner in beforeEach hooks of namespaces acceptance tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-03-20 15:51:44 -04:00
Vault Automation
72cf31a196
UI: Fix transition when mounting an unsupported engine (#13137) (#13170)
* updating transition for unsupported engines to route to config, code cleanup

* test updates

* updated tests to assert route & path are called with transition

* fix assertions

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-03-19 15:48:53 +00:00
Vault Automation
c95abc09e6
[UI][Bugfix] Only show back to leases button when there is a basekey (#13123) (#13125)
* Only show back to leases button when there is a basekey

* Use if statement

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-18 10:28:25 -07:00
Vault Automation
0a163df630
Backport VAULT-42410 - Deprecated empty state component into ce/main (#13122)
* VAULT-42410 - Deprecated empty state component (#13070)

* VAULT-42410 - Deprecated empty state component

* fixed failing test

* updated list.empty to use HDS Application State component

* [UI] Use hds application state directly suggestion (#13101)

* Use hds application state directly

* Code cleanup..

* updated footer of ApplicationState to use F.LinkStandalone

---------

Co-authored-by: Mohit Ojha <mohit.ojha@hashicorp.com>

---------

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>

* fixed prettier issue

---------

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-18 22:33:59 +05:30
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
7cd77ffaeb
fix tree chart label cut off, tree chart visibility state, validation (#13094) (#13119)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-18 09:41:17 -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
248b9c5a50
[UI] Kubernetes Secrets Engine Playwright Test (#12972) (#12982)
* adds playwright test for kubernetes secrets engine

* updates kubernetes create and edit page tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-16 09:54:03 -07:00
Vault Automation
9d5cf9b20f
VAULT-42410 - Updated alignment for application state components (#12817) (#13025)
* VAULT-42410 - updating quick actions card to use arg @isAutoCentered={{false}}

* VAULT-42410 - Updated alignment for application state components

* fixed review comment

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-14 08:53:35 +05:30
Vault Automation
7ed28a9e59
VAULT-42410 - Refactored empty state component for remaining files (#12809) (#13023)
* VAULT-42410 - refactored empty state component for remaining files

* added data-test attributes

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-14 08:51:49 +05:30
Vault Automation
1ea39ba53d
VAULT-42410 - refactored empty state component for replication and recovery directories (#12807) (#13021)
* VAULT-42410 - refactored empty state component for replication and recovery directories

* added data-test attributes

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-14 08:51:19 +05:30
Vault Automation
6208c6a416
UI: add playwright test coverage for policies (#12860) (#12947)
* add playwright test coverage for policies

* add playwright test coverage for policy generator in kv v2

* only show intro button for acl policies

* separate ent tests

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-12 17:20:40 -05: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
e5c23d42d1
[UI][VAULT-42864][Bugfix] Update container margins and padding (#12687) (#12709)
* Update container margins and padding

* Use 64px padding

* Add centered-container

* This wraps all the page content in vault

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-05 18:21:21 +00:00
Vault Automation
561a757ade
UI: Intro Page Style Updates + Fixes (#12488) (#12619)
* update styles and casing

* fix check for default secret engines

* show content behind intro modal

* revert header changes

* update alert and test

* add test coverage and update flash message

* update doc link style class and update test

* update tests

* update test to avoid state mismatches

* update test

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-05 17:52:36 +00:00
Vault Automation
54e6129513
Copy UI/fix renew token button into main (#12637) (#12722)
* Copy https://github.com/hashicorp/vault/pull/31807 into main



* ui: hide Renew token button when renew-self capability is denied

* Changed test title by mistake

* Changed test title by mistake #2

* Moved and updated renew capability fetching

* Undo additional removal

* final tweaks and removed redundant test

* Changelog entry

---------

Co-authored-by: lklivingstone <livingstone.lk.337@gmail.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-04 17:11:40 +00:00
Vault Automation
d744b80e68
[UI] API Client Update / Enum Updates (#12549) (#12565)
* bumps api client version

* updates imported enum names from api client

* updates sync activation request method

* updates pki list enums imports

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-26 17:20:30 +00:00
Vault Automation
73aa757660
UI: Remove bulk action to disable secrets engines (#12493) (#12546)
* remove bulk delete operation

* remove selectedItems yield

* cleanup disable engine action

* remove var left behind from rebase

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-25 21:57:02 +00:00
Vault Automation
75484c6082
Backport UI: Fix secrets engine list not refreshing after deleting within a namespace into ce/main (#12538)
* no-op commit

* UI: Fix secrets engine list not refreshing after deleting within a namespace (#12511)

* rename arg to differentiate between selectionKey for HDS component

* add more test coverage, fix bug for isObject rendering

* fix namespace test coverage to actually test relevant stuff

* more test updates to use latest selectors

* add changelog

* add more test coverage

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-25 21:17:34 +00: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
b593ca128e
Backport [VAULT-40813] ManageDropdown component into ce/main (#12508)
* [VAULT-40813] ManageDropdown component (#12295)

* [VAULT-40813] ManageDropdown component

* address pr comments, add routing test coverage

* fix test: generate policy is an enterprise-only feature

---------

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
2026-02-25 10:37:43 -08:00
Vault Automation
1d0009efd1
UI: Part II: Consolidate error handling and update views to use Hds::ApplicationState (#12432) (#12467)
* render Hds::ApplicationState in Page::Error component

* fix initial test failures

* implement Page::Error component in remaining error templates

* replacing remaining errors with Page::Error

* update test coverage, clarify message logic

* fix status code for already parsed errors and revert to root url

* update tests to reflect more detailed error messages

* replace not found test coverage with more robust tests

* remove unnecessary error intervention

* round out test coverage, add typescript definitions for each error type

* remove manual db credentials error intervention

* var cleanup

* add titleTags to errors

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-21 01:35:14 +00:00
Vault Automation
4148334d42
UI: Hide agent_registry backend from secrets engines list page (#12459) (#12466)
* add agent registry to hidden backend list

* consolidate excluded mounts to a single list

---------

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2026-02-21 00:53:43 +00:00
Vault Automation
9e14f5c2d2
Backport UI: Auth Methods Intro Page into ce/main (#12445)
* UI: Auth Methods Intro Page (#12387)

* create methods page component and add methods intro page

* add changelog entry

* polish intro and add test coverage

* center modal and update namespace empty state to new pattern

* Update tests + general copy changes

* fix lint error

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-20 09:18:39 -06:00
Vault Automation
422acb5e1f
UI: Fix reset password error substate (#12429) (#12434)
* fix reset password error substate not rendering

* fix user dropdown not closing after route click

* add test coverage for stuck user menu;

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 15:29:00 -08: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
6527d7ad85
UI: Code Cleanup & Namespace bug fixing for configuration tuning (#12203) (#12449)
* testing

* testing some routing fixes, removing more unused code

* using direct config route instead of general settings

* same for general settings save

* testing without unsavedChanges interrupt

* put things back but add hvd flag for refresh

* cleanup

* putting things back

* undo

* redos

* fix model refresh  & ttl bug

* fixing ember engines

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-19 16:27:02 -05:00
Vault Automation
43519e1220
UI: Add ACL Policy Intro Page (#12332) (#12444)
* move policy template logic into page component and add acl policy intro page

* do not show wizard for empty state caused by filter, clean up policy page component

* add and update tests, add changelog entry

* update modal copy

* update comment

* address test failure

* Update ui/app/components/page/policies.ts



* Apply suggestions from code review



* update deletion method and add
test coverage

* update comment

* clean up

* update intro action

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 19:29:34 +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
978293788d
Left align page context (#12426) (#12435)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-19 09:02:44 -08:00
Vault Automation
504334f8bb
UI: Add policy flyout to PKI (#12335) (#12373)
* make router-lookup helper

* add policyPaths arg to flyout and update route cache to map

* update kv flyouts and test coverage

* round out test coverage, rename method from get to lookup

* alphabetize PATH_MAP

* support other change events for inputSearch to allow copy/pasting items

* update overview requests and improve ux for limited permissions

* request each key permissions

* add flyout to pki page header

* update changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-17 19:28:47 -08:00
Vault Automation
763be2684d
[UI] Playwright Automated Binary Testing (#12214) (#12386)
* adds playwright

* adds playwright auth setup and kv tests

* removes generated gh action for playwright

* removes testem ignore paths

* consolidates kv e2e workflows into single test

* adds missing ids to key shares and threshold inputs

* updates ariaLabel arg to attribute in enabled and disabled plugin card components

* adds script to start vault with config for playwright tests

* updates playwright setup to initialize and unseal vault and create user for testing rather than using root token

* adds policies for e2e tests

* updates e2e init setup to use web repl for creating token

* moves kv e2e test under superuser directory

* updates playwright config to create projects for multiple user types

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-17 17:09:03 +00:00
Vault Automation
8f6253cc0b
UI: Add secret engines intro page (#12343) (#12379)
* Add secret engines intro page

* add test coverage

* hide header actions when showing wizard

* add changelog entry

* update copy and variable naming

* fix tests

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-17 10:44:22 -06:00
Vault Automation
35aa42fce1
UI: Improve policy flyout context awareness (#12334) (#12354)
* make router-lookup helper

* add policyPaths arg to flyout and update route cache to map

* update kv flyouts and test coverage

* round out test coverage, rename method from get to lookup

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-14 15:31:22 -08:00
Vault Automation
a407faa971
Namespace Intro Page (#12255) (#12311)
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal

* use class helper to check for multiple nodes when rendering tree chart, add test coverage

* update comments

* add modal for namespace intro and improve reusability

* style updates and general reusability updates

* make intro pages more generic and rename welcome to intro

* update tests

* update styles, use service to track intro visibility, rename components

* Update arg docs

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-11 23:17:27 +00:00
Vault Automation
5d265dd284
[UI][VAULT-42484][VAULT-42483]: sidebar bugs (#12263) (#12293)
* WIP

* WIP...

* Update page headers and move logic back

* remove unused stuff

* Fix failing tests

* Use hasNavPermission

* Update raft storage locatin and add namespace link on top

* Update access sidebar link to Access control

* Update order of API_PATHS

* Remove namespace link

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-11 09:49:53 -08:00
Vault Automation
af07b60f99
[VAULT-33083] support mount external engine (#11659) (#12284)
* [VAULT-33083] support mount external engine

* add "Plugin type" and "Plugin version" fields to the enable mount page

* add changelog

* address copilot review comments

* address PR comments, code cleanup

* fix test failures

* Add support for external plugins registered without a plugin version

* external plugin should be enabled for enterprise only, plugin version should be mandatory for external plugins

* fix tests

* address copilot feedback

* fix failing tests, add unit test coverage

* address PR comments

* address PR comments

* remove dead code

* move no external versions alert

* Only show un-versioned plugin message if there are un-versioned plugins in the catalog.

* address PR comments

* use ApiService instead of custom PluginPinsService; fix failing tests

* revert changes to forms/mount.ts and forms/auth/method.ts

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-10 14:18:14 -08:00
Vault Automation
93aa30f3b6
[UI] Remove Template Lint A11y Overrides (#12236) (#12276)
* removes require-input-label ember-template-lint override

* adds aria-label to textarea in MaskedInput component

* more a11y fixes for missing labels

* adds aria-label back to lookup-input

* adds aria-label back to select component

* ensures aria-label has value in select component

* removes duplicate onchange handler from lookup-input component

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-10 10:22:23 -07:00
Vault Automation
47849d7cea
UI: Wizard Improvements (#12254) (#12261)
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal

* use class helper to check for multiple nodes when rendering tree chart, add test coverage

* update comments

* add wizard service unit test coverage

* move item filtering into helper func

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-09 23:33:13 +00: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
a5b65edbcc
VAULT-41682 - Updates header to add title tag and centre align with icon (#12166) (#12174)
* VAULT-41682 - update header to add title tag and centre align with icon

* Fixed linting error

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-02-05 21:03:10 +05:30
Vault Automation
3842e8df73
[UI][VAULT-41959] Secrets sidebar (#12118) (#12175)
* WIP secrets sidebar

* Remove unwanted text and put some things back..

* Add secrets templates for sidebar

* Fix tests

* Update more Secrets navlinks

* Add copywrite headers

* Creates secrets.hbs so its the parent route

* Update secrets comment

* Update component name

* Update sidebar to use helper

* Secrets sync breadcrumbs

* Address feedback~

* Use enum and add helper test

* Fix links!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 14:36:06 -08:00