Commit graph

934 commits

Author SHA1 Message Date
Vault Automation
3f2f491f1d
[UI] Ember Data Migration - TOTP Secrets Engine Views | VAULT-44225 (#14933) (#14983)
* VAULT-44225 - edm secrets totp views

* fixed review comments and updated validations to match original

* fixed review comments

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-05-26 11:31:44 +05:30
Vault Automation
e30d937d03
Backport [UI] Ember Data Migration - Core Addon - Search Select into ce/main (#14952)
* no-op commit

* backports 2a98c83

* fixes conflicts

---------

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
2026-05-22 09:58:00 -06:00
Vault Automation
48efc519bc
[UI] Ember Data Migration - Core Addon (#14891) (#14953)
* removes store service from confirm-leave decorator

* updates secret list header tab component to use capabilities service for database type

* removes store service from edit-form component

* removes ember data fetch support from InfoTableItemArray component

* removes store from shamir components

* removes store from replication components in core addon

* adds missing service injection to shamir flow component

* fixes reduced disclosure test

* fixes issues with seal/unseal workflow

* reverts assertion change in info-table-item-array test

* fixes database test

* updates shamir flow test

* removes commented out code

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-21 16:52:55 -06:00
Vault Automation
f315c2fc89
[UI] Migrate lineal charts to carbon (#14448) (#14898)
* Migrate lineal bar charts to carbon

* revert changes made to mirage

* fix failing tests

* fix test failures

* removed the usage of render modifiers

* Update RunningTotal component to handle null values for chart data and adjust test for simple chart rendering

* Enhance RunningTotal component with Carbon Charts integration and accessibility improvements



* Migrate client usage by month bar chart to Carbon Charts with updated options and styles



* Update overview tests to utilize new chart selectors and improve assertions for client stats visibility



* Remove unnecessary nested-interactive a11y rule suppression from carbon-chart tests

* UI: Enhance chart color scales and options for client usage visualization to use HDS color tokens

* Refactor chart-related constants and remove unused functions from chart helpers

* Update date range inputs in client usage overview tests to use constants for historical months

---------

Co-authored-by: Aravind VM <aravind.vm@ibm.com>
Co-authored-by: Copilot <copilot@github.com>
2026-05-20 17:19:50 +00:00
Vault Automation
0a27857988
[UI] Ember Data Migration - MFA (#14721) (#14894)
* Update mfa index route beforeModel to use api instead of store

* MFA form...

* Remove mfa method

* WIP

* first arg..

* Working form submit

* Working create forms..

* Put model back in original state..

* Working edit

* Update methods list

* Working detail..

* Working infotablerows

* Use form arg instead of model

* Set up new enforcements form

* MFA enforcement...

* Update remaining pages...

* Add more util helpers

* Refactor

* Update targets initial values

* Update targets to use api

* Update useExisting

* Patch SearchSelect and fix mfa-login-enforcement-form test

* Some more tests fixed..

* Working mfa-method tests

* Passing method-form-test

* Update editDisabled

* Address feedback..

* Add attribute to data for display

* Update displayFields

* Add defaultValue

* Update tests..

* Conditionally show onClose

* Add defaultvalue

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-20 13:36:35 +00:00
Vault Automation
28d1fe0387
UI: Generalize certificate card to display other encoding formats (#14844) (#14867)
* rename component from CertificateCard to EncodedDataCard

* differentiate between pem and general encoded data

* convert to typescript, update tets

* separate conditional so its easier to read

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-05-18 16:36:37 -07:00
Vault Automation
74dce07c96
VAULT-44211 - removed legacy Key Management adapter, model, and serializer files (#14838) (#14839)
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-05-15 20:25:36 +00:00
Vault Automation
3679be155f
Ember Data Migration - Keymanagement Provider views | VAULT-44905 (#14816) (#14828)
* VAULT-44904 - edm for keymgmt key views



* resolved pr review comments



* moved distribution fields to component and added util tests

* fixed review comments

* updated key-edit component to use form and fixed failing tests

* VAULT-44905 - edm keymgmt provider views

---------

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Copilot <copilot@github.com>
2026-05-15 17:39:49 +00:00
Vault Automation
3a3b6a3725
[UI] Ember Data Migration - Keymanagement Key views | VAULT-44904 (#14744) (#14810)
* VAULT-44904 - edm for keymgmt key views



* resolved pr review comments



* moved distribution fields to component and added util tests

* fixed review comments

* updated key-edit component to use form and fixed failing tests

---------

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Copilot <copilot@github.com>
2026-05-15 15:22:15 +05:30
Vault Automation
bc7c3ed5f7
UI: Ember Data migration: Policies (#14710) (#14787)
* updating policies to use api instead of ember models

* minor fixes

* pr comments pt1

* PR comments pt2

* test fix

* updating test

* updating intefaces

* updating to remove model arg

* remove comments

* refactor for pr comments

* fixes

* form field fix

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-05-13 21:09:50 +00:00
Vault Automation
f0cf2a4b68
UI/v2 forms infrastructure (#14134) (#14694)
* copies v2 form components from POC branch

* fixes issue in form-config-generator when path parameters are not defined

* adds api code-generator for snippet creation

* expands cli and terraform code generators

* updates form-config-generator to return api path from spec

* fixes issue setting field value in v2-form class

* updates form-config types

* updates v2 form and renderer components to conditional render fields

* adds v2 form apply component

* updates v2 form wizard component to support apply step

* add support for field types (text input variants, text area, checkbox, radio, masked input) and add test coverage

* Dynamic field visibility and Select field support

* [POC] Public PKI (mocked) Wizard - revert this before merging

* Revert "[POC] Public PKI (mocked) Wizard - revert this before merging"

This reverts commit 66646f1d7a71d0e67028ebcabcfe33925197ffc9.

* cleanup & address copilot pr comments

* address PR comments

---------

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
2026-05-13 08:46:34 -07:00
Vault Automation
41bfbebb5a
[UI] Ember Data Migration - OIDC Assignments (#14491) (#14657)
* updates oidc assignmenmts list view to use api service

* updates oidc assignments details view to use api service

* updates oidc assignment create and edit views to use api service and form class

* updates oidc assignment-form tests

* updates oidc-key-template component to use form class

* updates oidc-assignment-template component to use form class

* updates teardown in oidc-config clients tests to use api service

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-11 08:37:31 -06:00
Vault Automation
db7a0ee071
UI: Add validations to visual policy editor (#14688) (#14696)
* add validations to policy flyout

* add validations to policy form

* remove passing formatted policy back from policy/builder

* add changelog

* change label to "path"

Co-authored-by: claire b <68122737+hellobontempo@users.noreply.github.com>
2026-05-08 23:03:46 +00:00
Vault Automation
c46cbea1bc
UI: Add primary token input for authed generate operation token in DR (#14508) (#14614)
* add primary token input for authed generate operation token

* update token validation

* update tests and cancellation logic

* update test selectors

* update order of pgp and primary  token input

* add changelog entry

* clean up

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-05-07 13:05:47 -05:00
Vault Automation
af595e88a9
[UI] Billing overview bugs (#14562) (#14586)
* VAULT-44732 redirect to dashboard if user manually goes to billing route and does not have permissions

* Fix playwright tests

* VAULT-44730 update plugin label to custom plugins

* Add acceptance test for redirect

* Update labels

* Add tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-06 22:47:46 +00:00
Vault Automation
a70ede72cd
[UI] Ember Data Migration - OIDC Keys (#14469) (#14521)
* updates oidc key list route to use api service

* updates oidc key details route to use api service

* updates oidc key edit and create routes to use api service

* updates oidc key clients route to use api service

* fixes oidc key tests

* removes console in oidc key-form

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-06 14:02:09 -06:00
Vault Automation
7d474e2d8c
[UI] Ember Data Migration - OIDC Scopes (#14488) (#14520)
* updates oidc scope list view to use api service

* updates oidc scope details route to use api service

* updates oidc scopes edit and create views to use api service and form class

* updates oidc scopes tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-06 14:01:22 -06:00
Vault Automation
00a5ed132f
[UI] Update sidebar to also hide/show billing metrics dashboard based on permissions (#14490) (#14517)
* Update sidebar to also hide/show based on permissions

* Add tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-05 11:29:58 -07:00
Vault Automation
ab7e7ef70f
UI: Update kv max_version validation (#14430) (#14455)
* update kv max_version validation to ensure non-negative whole number, add min max options to number validator

* update tests

* add changelog entry

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-05-04 15:10:29 +00:00
Vault Automation
18ef01267b
[UI] Ember Data Migration - OIDC Providers (#14386) (#14443)
* cleanup from clients migrations

* updates oidc provider list views to use api client

* updates oidc provider details view to use api service

* adds oidc provider form class

* updates oidc provider create and edit routes to use api service and form

* updates oidc provider-form component to support form class

* updates oidc acceptance tests

* updates oidc provider delete to use api service

* test fixes

* updates search-select fallback to check if fallback component is defined

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-01 07:47:31 -07:00
Kianna
cb41400bf2
Manual backport... (#14369) 2026-04-28 15:28:07 -07:00
Vault Automation
42780fbcf2
[UI] Ember Data Migration - OIDC Clients (#14288) (#14353)
* updates oidc clients list view to use api service

* updates oidc client and client details routes to use api service

* updates form field groups component to yield out form field yields

* adds oidc client form class

* updates oidc client client and edit routes to use api service

* updates oidc client-form component to use form class and removes store/model support

* updates oidc provider client route to use api service

* updates oidc key clients route to use api service

* fixes tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-28 17:22:28 +00:00
Vault Automation
eec654c6d6
[UI][VAULT-44070] Hide billing metrics sidebar link from namespaces other than root and admin (#14186) (#14229)
* Only show dashboard if user is in hvd namespace and root namespace

* Add tests..

* Fix test names

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-23 17:23:57 +00:00
Vault Automation
1cce49692f
[UI] Playwright Client Counts Workflows (#13994) (#14016)
* moves namespace service constants to separate file

* initial file for playwright client counts test

* adds playwright tests for client counts workflows

* updates api service post request middleware to read json data more reliably

* fixes acl policy intro page not displaying

* adds teardown to mfa playwright test

* adds steps and teardown to userpass playwright test

* fixes transform playwright test

* updates api service tests

* fixes policies page tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-22 09:05:45 -06:00
Vault Automation
31fb778a51
[UI] VAULT-42756 - Secret sync WIF implementation (#14001) (#14167)
* VAULT-42427 - initial code updates for aws form

* VAULT-42756 - implemented wif support for secret sync

* VAULT-42756 - added acceptance and integration test cases for WIF support

* refactor: streamline WIF credential handling and enhance destination details management

* added changelog

* fixed review comments

* updated changelog

* fixed failing tests

* fixed review comments

* fixed validation for Edit scenario

* fixed region field to have no default value selected

* Refactor: updated string literals with centralized enums and some other refactors

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-04-22 12:46:13 +05:30
Vault Automation
5d01a51a23
fix(ui/overview): hide client count card (#14032) (#14129)
Hide the client count card from the main cluster dashboard when the
cluster is licensed for usage-based billing.

Co-authored-by: Guilherme Santos <157053549+gsantos-hc@users.noreply.github.com>
2026-04-20 22:28:01 +00:00
Vault Automation
82ed6cf5f9
[UI][VAULT-43823][VAULT-43824] Custom messages filter button (#13920) (#13934)
* VAULT-43823 make apply filters a primary button when there are filters selected

* VAULT-43824 update pageSize to 10

* Add filter and pagination tests

* Add changelog

* Fix a11y errors

* Update test selectors

* Remove unused getter

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-14 09:13:40 -07:00
Vault Automation
13fa8cd0db
[UI][VAULT-43825] Have inactive custom messages show the message end date (#13884) (#13913)
* fix(custom-messages): show end time for expired/inactive messages

* test: update tests to verify badge text and color combinations

* chore(test-selectors): prefer using generalized test selectors over individual data-test-*

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-04-13 20:51:36 +00:00
Vault Automation
28a1f595c5
[UI][vault-43821]Update table to accurately fetch results when pagination is out of bounds (#13794) (#13850)
* fix(secrets-engines): update table to accurately fetch results when current page is out of bounds

* fix(tests): update table and util fn tests

* fix(changelog): introduce changelog for bug fix

* Update changelog/_13794.txt



---------

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-04-09 22:53:44 +00: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
e0f43fb59c
Update messages from plug tier to standard tier (#13140) (#13163)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-03-19 16:34:18 +00: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
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
94c5e6b68e
VAULT-42410 - Refactored empty state component for pki directory (#12805) (#13019)
* VAULT-42410 - refactored empty state component for pki directory

* added data-test attributes

* fixed failing tests

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-14 08:43:42 +05:30
Vault Automation
83b6e12d81
UI: fix dropdown triggered flyout (#12933) (#13011)
* fix dropdown triggered flyout

* update tests

* hide policy generator action on community

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-03-13 21:08:42 +00: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
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
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
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
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
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