1256 Commits

Author SHA1 Message Date
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
fb68084036
UI: Recovery test coverage and request updates (#9659) (#9675)
* update component names

* VAULT-39340 update db request

* add test coverage for backup input and copy recovery

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-26 01:31:57 +00:00
Vault Automation
fefc549e59
UI: Small design updates following TOTP self-enroll demo (#9578) (#9619)
* copy changes WIP

* update descriptions and headers to match latest designs

* add details to method info table

* update test assertion

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-25 23:42:49 +00:00
Vault Automation
c777815f62
Backport Update typescript client into ce/main (#9650)
* Update typescript client (#9624)

* update typescript client

* update args to match new typescript client expectation

* use api service for snapshot-load

* restart tests

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-25 16:01:59 -07:00
Vault Automation
2b0a682b4d
UI: Support Recover to Copy (#9608) (#9627)
* add support for recover to copy

* handle read db errors + recover to copy

* update tests

* update changelog entry + prefill copy path

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-25 12:49:25 -05: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
8ce8932117
UI: MFA self-enroll cleanup tasks (#9441) (#9456)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-19 08:56:44 -07:00
Vault Automation
15ed6007d0
UI: Support database static roles recovery (#9374) (#9444)
* support read and recovery of database static roles

* add and update tests

* add changelog entry

* add manual database input support and fix search

* change dropdown alignment

* update changelog entry

* tidy

* update changelog and api headers

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-18 20:52:30 +00: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
Vault Automation
cc9e227d0b
feat: pre-fill SAML login role from URL (#9394) (#9402)
* prefill role for saml auth method

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-17 18:16:57 +00:00
Vault Automation
dfc8b589be
feat: pre-fill OIDC login role from URL (#9342) (#9391)
* feat: pre-fill OIDC login role from URL

Closes #31340

* chore: add changelog file

* chore: format

* test: cover new behavior

* refactor: avoid router access within component

* chore: remove unused `value` from auth field model

* refactor: pass query param value by key

* =rename changelog

* Credit attribution.

 Co-authored-by: evan-cohen <25253818+evan-cohen@users.noreply.github.com>

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Evan Cohen <25253818+evan-cohen@users.noreply.github.com>
2025-09-17 09:42:12 -07:00
Vault Automation
de3d4453a3
UI: Improve formatting of API errors (#9330) (#9390)
* format error message with bullets

* format error message with bullets

* add changelog

* update kv error messages

* address tests and add coverage

* fix tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-17 09:41:24 -07:00
Vault Automation
64d421da69
UI: Add donut chart to client counts overview (#9040) (#9367)
* =replace client stats with donut chart viz

* update chart styling

* add a changelog entry

* test updates

* remove css changes

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-17 15:12:06 +00:00
Vault Automation
3942acf61a
[VAULT-39571] Update vault-reporting package to 0.8.0 (#9340) (#9344)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 15:17:27 -07:00
Vault Automation
f17451d675
[VAULT-39375] Ability to pick namespaces in usage dashboard (#9143) (#9259)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2025-09-16 13:36:39 -07:00
Vault Automation
528434ab83
UI: updates to how we handle unknown mount type (#9349) (#9378)
* updates to how we handle unknown mount type

* update test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-16 18:12:03 +00:00
Vault Automation
1515ea76fe
[VAULT-39375] Update vault-reporting to 0.5.1 (#9094) (#9141)
Co-authored-by: Eren Tantekin <eren.tantekin@hashicorp.com>
2025-09-16 11:01:11 -07:00
Vault Automation
7d026fa5a8
[VAULT-37521] UI: decouple auth and secret engines (#9307) (#9347)
* [VAULT-37521] UI: decouple auth and secret engines

* add copyright header

* address acceptance test failure

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-09-15 18:22:35 +00:00
Vault Automation
7a6d1b5b6b
adding tests for plugin settings page (#9292) (#9296)
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-09-11 21:15:48 +00:00
Vault Automation
5ead15b8f2
UI: Add month filtering to client count dashboard (#9148) (#9255)
* delete activity component, convert date-formatters to ts

* add "month" filter to overview tab

* add test coverage for date range dropdown

* add month filtering to client-list

* remove old comment

* wire up clients to route filters for client-list

* adds changelog

* only link to client-list for enterprise versions

* add refresh page link

* render all tabs, add custom empty state for secret sycn clients

* cleanup unused service imports

* revert billing periods as first of the month

* first round of test updates

* update client count utils test

* fix comment typo

* organize tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-10 18:09:20 +00:00
Vault Automation
d173b10eb1
[VAULT-37521] UI: update secrets/mounts route to call plugin-catalog endpoint (#9224) (#9236)
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-09-09 16:40:28 -07:00
Vault Automation
98108f8e0e
UI: Rely on sys/internal/counters/activity response to set time period for client data (#9096) (#9137)
* add error handling for permission denied

* one more for the error handling business

* remove date range alert

* add more test coverage to date formatters

* update date querying and test coverage

* one more lil cleanup

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-06 13:30:00 -07:00
Vault Automation
556810cd81
stub billing start for CE test runs (#9159) (#9160)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-06 12:27:48 -07:00
Vault Automation
0cb3c19047
fix setting type in test (#9152) (#9154)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-05 18:06:50 +00:00
Vault Automation
b79dcd715a
[UI] Ember Data Migration - Auth Method/Config Cleanup (#9033) (#9058)
* removes remaining instances of auth-method model/adapter use

* removes auth method and config models/adapters/serializers

* fixes field to attrs tests

* fixes mfa tests

* fixes password reset

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
2025-09-04 11:00:29 -06:00
Jordan Reimer
d8ecd066b8
Copy [UI] Ember Data Migration - Auth Method Configs into main (#9000) (#9099)
* updates auth method options route to use form and api client

* updates auth method config and section routes to use api client and open api form

* updates display attrs for auth method configs

* fixes plugin identity util fields tests

* fixes js lint error

* updates enable-tune-form tests

* hides specific form field for jwt/oidc auth config types

* Revert "updates display attrs for auth method configs"

This reverts commit 5d382f79276f56b3fdbe64fcbc9c8365c5f4b421.

* Revert "fixes plugin identity util fields tests"

This reverts commit 6d4acbe3228c796745f2dea6279c1540bb053c62.

* fixes config section test

* bumps api client version

* updates auth config form options component to use proper endpoint

* fixes enable tune form tests

* fixes auth config form options tests

* fixes type errors in snapshot-manage component

* updates recover_source_path arg to undefined so it is not included in the query params

* fixes remaining test failures related to user_lockout_config

---------

Co-authored-by: Vault Automation <github-team-secure-vault-core@hashicorp.com>
2025-09-03 17:11:41 -07:00
Jordan Reimer
a5216935da
UI: Snapshot details view (#8974) (#9097)
* snapshot details view

* acceptance tests + polling improvements

* fix routing issue when navigating via side nav

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-09-03 16:21:16 -06:00
Jordan Reimer
27f194f9d3
UI: Snapshot load form (#8743) (#9093)
* build mirage handler for snapshot recovery endpoints

* WIP add namespace and mount fields to read/recover form

* change option to engine object

* update badge color according to status and make loaded snapshot reqs within root ns

* wip read reqs and view

* add recovery banner and form validation

* move read view into modal

* tidying

* organize

* tests

* style fixes

* error handling

* tests

* WIP load form and update header

* styling

* update requests with snapshot params

* style fix

* yarn lock update for latest spec updates

* hide dr seconday + flesh out load reqs

* tests

* add polling for snapshot status

* disable button when not in ready state

* reset errors

* don't poll during tests

* remove todo

* test updates

* fix ns select + test

* remove todo

* Revert "Merge branch 'copy/main/VAULT-38374/build-snapshot-manage-form' into ui/VAULT-38373/build-snapshot-load-form"

This reverts commit f7cce759cda286bc7b76e84186b5497589706095, reversing
changes made to 6cba99557ce6d8478f4c875579b71be4c531522e.

* add breadcrumbs for load form

* hide shared paths on performance secondaries

* styling, tidy, mount options, engine types

* lots of tidying, add manual mount input, slower polling

* make read + recover requests in selected namespace

* link to child ns if recovering there

* test updates

* remove todos

* centralize recovery data values

* type, state and error improvements

* update FileToArrayBuffer to use HDS FileInput

* error handling

* allow manual input

* tests

* remove unneeded services

* api call update

* update radio fields to allow a badge for 404 message

* update tests

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-03 15:36:57 -06:00
Vault Automation
9538905b86
UI: Build snapshot manage form (#8675) (#8957)
* build mirage handler for snapshot recovery endpoints

* WIP add namespace and mount fields to read/recover form

* change option to engine object

* update badge color according to status and make loaded snapshot reqs within root ns

* wip read reqs and view

* add recovery banner and form validation

* move read view into modal

* tidying

* organize

* tests

* style fixes

* error handling

* tests

* update requests with snapshot params

* style fix

* yarn lock update for latest spec updates

* tests

* add polling for snapshot status

* disable button when not in ready state

* reset errors

* don't poll during tests

* remove todo

* test updates

* fix ns select + test

* remove todo

* styling, tidy, mount options, engine types

* lots of tidying, add manual mount input, slower polling

* make read + recover requests in selected namespace

* link to child ns if recovering there

* test updates

* centralize recovery data values

* type, state and error improvements

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-09-03 12:22:30 -06:00
Vault Automation
c2823e96eb
UI: Render client export table in "Client list" tab (#8880) (#9071)
* render export activity in table by client type

* refactor filter toolbar to apply filters when selected

* finish filter toolbar refactor

* finish building client-list page

* remaing test updates from the filter-toolbar refactor

* WIP tests

* finish tests for export tab!

* add test for bar chart colors

* reveal client list tab

* add changelog

* filter root namespace on empty string or "root"

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-03 00:24:00 +00:00
Vault Automation
6a50eeed9f
UI: Fix entities and groups error when navigating away from list views (#9060) (#9066)
* add model to pagination component

* add test coverage

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-09-02 23:54:59 +00:00
Vault Automation
ea46b31d25
UI: Fix chart legend order (#8827) (#8856)
* fix chart legend order and make sync clients last

* reimplement using idx in chart legend

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 16:43:21 -07:00
Vault Automation
db994695e0
Backport UI: Reorganize client components into ce/main (#8826)
* UI: Reorganize client components (#8742)

* remove complex logic from running totals component

* move byMonthNewClients getter to overview

* organization: remove unused @versionHistory, update tests

* rename namespaceLabels getter

* refactor filter-toolbar to manage drodown Sets

* add search bar to filter toolbar

* make export request

* finish adding search logic to dropdown

* rename route method

* move typescript declarations because all of the client ones are in client-count-utils

* add error template for failed export request

* update tests

* stub activity export adapter method instead of trying to mock readable stream

* lint

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 15:54:52 -07:00
Vault Automation
2b469deeca
UI: Update client count overview table and add filtering (#8663) (#9057)
* rename query params to match keys from api response

* move type guard check to util

* update color scheme

* remove passing selected namespace to export activity data request

* remove namespace and mount filter toolbar

* update response, sort by client count number

* remove default page size for testing

* implement table and filters in overview tab

* remove old query params

* cleanup unused args

* revert page header changes

* update mirage, remove month from utils

* update client count utils

* one more color!

* reset table to page 1;

* workaround to force Hds::Pagination::Numbered to update when currentPage changes

* add empty state test for no attribution

* delete unused methods

* add test for new utils

* add changelog

* rename changelog

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
2025-09-02 13:43:02 -07:00
Vault Automation
4a885a8ec8
[VAULT-34035] UI: Retrieve plugin catalog data on enable a secrets engine (#8832) (#9050) 2025-09-02 11:17:17 -07:00
Vault Automation
bfd2e54d39
UI: Moving settings/mount-backend-form to secrets/mounts (#8975) (#8998)
* adding route and replacing old route usage

* adding comments

* updating secrets tests to new route

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-08-28 17:57:24 -04:00
Vault Automation
9c09be2b45
[UI] Cubbyhole List View Bug (#8859) (#8871)
* fixes issue with cubbyhole list view throwing error in child namespace

* updates to use engineType prop

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-08-25 08:25:49 -06:00
lane-wetmore
bb54062c3d
UI: Snapshots index route (#31473)
* build out snapshots index route

* add card for loaded snapshot

* add tests

* lint fix and remove logs

* use api enum

* lint fix

* remove extra imports

* tidy

* routing updates

* update tests

* update styling

* improve types

* lint

* add copyright header

* update capability check

* pull out header

* add copyright headers

* update url

* Update ui/app/routes/vault/cluster/recovery/snapshots/snapshot.ts

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>

* test + error handling updates

* update details route and add integration tests

* tidy tests and pull out header title

* lint

* test updates

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-08-13 15:07:45 -05:00
Angel Garbarino
b0d8f4f1be
UI Bug fix: Fix DR Secondary view (#31478)
* test coverage and the fix

* not working

* fix failing test

* fix another test

* changelog

* the correct changelog number
2025-08-13 11:16:46 -06:00
claire bontempo
7d4854d549
UI: Build dropdown filter toolbar (#31475)
* build filter toolbar component

* delete unused controllers

* rename enum and move to client count utils

* wire up filters to route query params

* update test coverage

* add support for appliedFilters from parent

* update type of ns param

* move lists to client-list page component
2025-08-12 17:41:15 +00:00
Matthew Irish
32e806f88a
[UI] - Glimmerize b64-toggle component (#31423)
* convert b64-toggle to ts and make it a glimmer component

* update usage of b64-toggle
2025-08-12 11:23:32 -05:00
claire bontempo
b0a9ad2236
UI: Generalize Clients::Table component (#31439)
* generalize test selectors

* generalize table component

* update tests, add component test

* delete unused selectors

* add coverage for yielded empty state

* update sync selector

* update to advanced table

* rename key to "namespace_path"
2025-08-11 11:36:56 -07:00
claire bontempo
6b1a6b2efd
UI: Upgrade to HDS 4.20.1 (#31467)
* update package

* update test for replicaiton

* fix a11y failure
2025-08-11 09:12:15 -07:00
claire bontempo
9b752258ef
use findRecord instead (#31470) 2025-08-11 08:46:25 -05:00
lane-wetmore
3d461150b1
add basic routes for secrets recovery (#31412)
* add basic routes for secrets recovery

* lint fix no index invocation

* hide routes in production

* update routes

* add missing route js files

* add comments and clean up

* update tests
2025-08-06 12:02:05 -05:00
claire bontempo
3b1513127e
delete open api tests (#31426) 2025-08-05 11:36:25 -07:00
claire bontempo
9507c22c45
UI: Builds template and basic page component for new client-list route (#31414)
* resolve todos

* rename chart container component

* template the client-list route

* update tests

* only render colon if items is selected

* stub clients endpoint so activity is consistent
2025-08-05 10:26:27 -07:00
Evan Moncuso
fb6982b5e9
replace tooltip and tweak working on for replication dash card (#31395) 2025-08-04 08:33:52 -07:00
claire bontempo
f04fe92b89
UI: Remove tabs for each client count type (#31393)
* delete vertical bar grouped

* delete individual routes and tabs for client count types

* add nav-bar component to hide tab in production

* first round of test updates

* skip client list tests for now

* reogranize overview tests

* fix css color for chart

* change chart styling from grid to flex

* add split view for running total chart

* update latest colors from designs

* add changelog

* rename yield blocks to be more flexible

* add conditional for description

* delete routes
2025-08-01 11:02:06 -07:00