Commit graph

1789 commits

Author SHA1 Message Date
Vault Automation
6f613e8d28
UI: Ember Data Migration: Transit Secrets Engine (#15195) (#15232)
* UI: Ember data migration: Transit secrets engine - Show & List views (#15015)

* Adding api calls

* fixing timestamps and actions

* fixing routing and moving functions around for model creation

* UI: Ember Data migration: Transit - Create & Edit  (#15085)

* adding in new create form

* updating form to handle editing

* yielding ttl, updating conditional renders

* a lot of moving around

* test fix 1

* test fix 2

* UI: Ember Data migration: Transit Secrets Engine - Key actions (#15176)

* updating store use to use api calls per actions

* forgot export, fixing some tests

* test fixes

* converting to .ts and minor tweaks

* test fixes

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-06-08 11:27:02 -04:00
Vault Automation
1779d0b264
Backport [UI] Ember Data Migration - Transform Role and Transformation views | VAULT-45708 | VAULT-45709 into ce/main (#15234)
* no-op commit

* migrates transform role and transformation views

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* fixed failing tests and updated query selectors

---------

Co-authored-by: Mohit Ojha <mohit.ojha@hashicorp.com>
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-05 22:28:33 +05:30
Vault Automation
7c746abafd
[UI] Ember Data Migration - Transform Templates views | VAULT-45707 (#15188) (#15196)
* VAULT-45707 - migrates transform templates views

* updated fields to snake_case

* updated selectors in test to use GENERAL selector

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-06-04 18:37:21 +00:00
Vault Automation
70d5341132
[UI] Ember Data Migration - Transform Alphabets views | VAULT-45706 (#15184) (#15187)
* VAULT-45706 - migrated transform alphabets views

* fixed failing test

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-06-04 15:22:42 +00:00
Vault Automation
75b0c7664d
[UI] Update some identity routes to be class based (#15103) (#15104)
* Update routes to be class based

* Update controller super

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-06-03 07:43:56 -07:00
Vault Automation
a1fcf39983
VAULT-44224 - Cleans up SSH-related code and remove unused adapters and models (#15117) (#15120)
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-06-02 20:59:19 +05:30
Vault Automation
5a7eb39077
[UI] Ember Data Migration - SSH Role Sign Key and Generate Credential Views | Vault-45234 (#15100) (#15107)
* migrated ssh views - list, detail, create and edit

* adds validation for role name and update test attributes for consistency

* updated sign key attr name in test

* migrated ssh views - list, detail, create and edit

* adds validation for role name and update test attributes for consistency

* updated sign key attr name in test

* moved flat ordering logic to form as per dynamic selection

* Humanized TTL field display value

* Apply suggestions from code review



* fixed prettier issue

* VAULT-45234 - Migrates SSH credential generation and signing components with forms and Api service

* fixed review comments

* Apply suggestions from code review



---------

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-06-02 00:45:48 +05:30
Vault Automation
c39f093f1e
[UI] Ember Data Migration - SSH Views | VAULT-44224 (#15012) (#15084)
* migrated ssh views - list, detail, create and edit

* adds validation for role name and update test attributes for consistency

* updated sign key attr name in test

* migrated ssh views - list, detail, create and edit

* adds validation for role name and update test attributes for consistency

* updated sign key attr name in test

* moved flat ordering logic to form as per dynamic selection

* Humanized TTL field display value

* Apply suggestions from code review



* fixed prettier issue

---------

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-30 00:12:57 +05:30
Vault Automation
b00064cba2
UI: Ember Data migration: DB overview / credentials (#14912) (#15040)
* migrating db overview page

* fix toolbar alignment on remaining links

* migrating database creds + minor secrets table fix

* update totp key fetch

* removing store for aws

* fix workflow test

* removed commented code

* fix return line

* [UI] Ember Data Migration - Core Addon (#14891)

* 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

* fix pathfors

* dont throw messages that dont need to be thrown :)

* updating to use allSettled

* matching whats in adapter

* fix

* updating to use enums

* [UI] Ember Data Migration - TOTP Secrets Engine Views | VAULT-44225 (#14933)

* VAULT-44225 - edm secrets totp views

* fixed review comments and updated validations to match original

* fixed review comments

* fix 2

* update to parseError

* fix

---------

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-05-28 11:10:35 -04:00
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
0f36a0f477
UI: Fix stuck transit dropdowns (#14845) (#14860)
* use loose-equal comparison so string and numeric values match

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-05-18 13:24:32 -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
86e46a1691
feat(wizard-service): extract namespaces wizard state logic into wizard service (#14793) (#14815)
Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-05-15 08:23:11 -05: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
4a6007742d
Backport [UI][VAULT-44640] - Extract shared code snippets logic to snippet service into ce/main (#14769)
* no-op commit

* [UI][VAULT-44640] - Extract shared code snippets logic to snippet service (#14760)

* feat(snippet-service): extract shared logic between namespace wizard and v2 forms

* feat(snippet-service): update namespace wizard and forms apply to use snippet service.

* feat(tests): unit tests for snippet service

* fix(copyright): add copyright header for snippet constants file

---------

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-05-13 16:57:54 -05:00
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
72c3492cef
[UI][VAULT-44837] Update Credential units total to only show 4 decimal places (#14625) (#14711)
* Add tests for chart helper

* Ensure the decimal places are 4 for credential units total

* Add new chart-helpers method

* Add jsdoc comment

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-11 16:30:11 +00:00
Vault Automation
417d3dbcb0
[UI] Ember Data Migration - OIDC Cleanup (#14658) (#14709)
* removes unused ember data files for oidc

* updates custom message test to return a different value for current token rather than resetting the stub

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-05-11 15:47:46 +00: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
5ec71e45ab
fix(policies): mark policy name as required to enforce client side validation (#14589) (#14603)
Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-05-07 14:46:20 +00: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
6a5b643590
[UI] Update billing request to filter by current month and previous month (#14563) (#14582)
* Update so it returns the current month and previous month data

* Add playwright tests and ensure timezone is UTC

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-06 21:58:40 +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
68564cde45
[UI] billing dashboard remaining tickets (#14447) (#14465)
* VAULT-44326 only poll currentmonth and intial load

* VAULT-44370 API always returns the value now, so we can remove this logic

* Fix tests..

* Add logic back in

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-04 17:02:15 +00: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
ce37adeecf
[UI] Fix secrets to secrets-engines redirect for bookmarked URLs. (#14445) (#14453)
* Fix secrets -> secrets-engines redirect

* Add changelog..

* Add tests and another route for path

* Fix test name

* Ensure we delete the engine

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-05-04 14:58:40 +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
3f3c29607f
[UI] Add total credential units + GCP KMS in data protection calls (#14312) (#14367)
* Add tests!

* Add gcp kms value

* Update to use enum

* Update metric helper test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-28 12:57:30 -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
cb9e2e49bb
[UI][VAULT-44082] Billing metrics dashboard date subtext and update dashboard copy (#14174) (#14230)
* Update billing date subtext

* Update billing acceptance tests...

* Code cleanup and tests

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-23 17:12:34 +00:00
Vault Automation
ebe1a5d496
Add sidebar to billing route (#14220) (#14227)
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-23 09:28:57 -07:00
Vault Automation
5a83114127
[UI][VAULT-43922] Update serializer to factor in optional data obj in payload (#14197) (#14212)
* fix(serializer):  update model serializer to factor in optional data obj with keys

* chore(changelog): add bug fix desc for changelog

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-04-22 23:03:10 +00:00
Vault Automation
bd03ef2e0f
[UI] Fixes Overlapping Nav Panels Bug (#14175) (#14210)
* moves and renames cluster sidenav to dashboard

* adds changelog

* reverts cluster to dashboard nav name change

* reverts cluster nav import path change

* reverts cluster nav test name change

* adds nav to cluster error, mfa-setup, not-found, storage-restore and storage routes

* fixes tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-04-22 22:43:23 +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
07e4823ea3
[UI][VAULT-43929]::Update copy to specify entity ID is the required data input for merging entities (#14161) (#14162)
* fix(copy): update copy to specify entity ID is the required data input for merging entities

* chore(changelog): add improvement changelog

Co-authored-by: Nina Bucholtz <nina.balachandranmary@gmail.com>
2026-04-21 19:07:27 -05:00
Vault Automation
1024ffd532
UI: Fix Namespace url and content on page synchronization with pagination (#14095) (#14140)
* adding handlers to keep track of current page and page size, adds them to url

* pr comments

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-04-21 12:27:32 -04:00
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
27bac19693
fix(ui/usage-dashboard): fix documentation links (#14030) (#14125)
Co-authored-by: Guilherme Santos <157053549+gsantos-hc@users.noreply.github.com>
2026-04-20 22:01:03 +00:00