Commit graph

308 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
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
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
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
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
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
f3e31c6473
[UI][VAULT-44123] Update dynamic roles normalized key in Consumption Billing UI (#14033) (#14123)
* Update the key list so it displays units correctly

* Fix failing test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-04-20 21:42:04 +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
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
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
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
a3859d67e3
Backport rework UI CI workflow to partition JS tests into ce/main (#12515)
* rework UI CI workflow to partition JS tests (#11967)

* add setup-pnpm action

* remove reading vault keys from vault server output

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

* fix errant tests

* address PR feedback

* Apply suggestions from code review

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

* more feedback changes

* restore test-helper.js

* restore auth test helpers

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

* use v7 of download-artifact action

* make test-ui reusable workflow

* add status job

---------

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

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

---------

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

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
2026-02-25 19:09:42 +00:00
Vault Automation
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
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
2b27c76ef2
UI: Fix PKI error substates and add url lookup helper (#12394) (#12405)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-18 17:09:34 +00: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
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
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
5d869440c3
[UI] Ember Data Migration - Client Counts (#12026) (#12132)
* updates flags service to use api service

* converts clients index route to ts

* updates clients config workflows to use api service

* updates clients date-range component to handle Date objects rather than ISO strings

* updates clients page-header component to handle Date objects and use api and capabilities services

* updates clients route to use api and capabilities services

* updates types in client-counts helpers

* updates client counts route to use api service

* updates types for client-counts serializers

* updates date handling in client counts page component

* updates clients overview page component

* converts clients page-header component to ts

* fixes type errors in clients page-header component

* updates client counts tests

* updates client-count-card component to use api service

* converts client-count-card component to ts

* removes model-form-fields test that uses clients/config model

* removes clients/version-history model usage from client-counts helpers tests

* removes migrated models from adapter and model registries

* removes clients ember data models, adapters and serializers

* updates clients date-range component to format dates in time zone

* cleans up references to activityError in client counts route

* adds clients/activity mirage model

* updates activation flags assertions in sync overview tests

* fixes issue selecting current period in clients date-range component and adds test

* fixes issues with enabled state for client counts

* updates parseAPITimestamp to handle date object formatting

* removes unnecesarry type casting for format return in parseAPITimestamp util

* updates parseAPITimestamp to use formatInTimeZone for strings

* updates parseAPITimestamp comment

* updates enabled value in clients config component to boolean

* adds date-fns-tz to core addon

* removes parseISO from date-formatters util in favor of new Date

* updates comments for client counts

* updates retention months validation for client counts config

* updates comment and min retention months default for client counts config

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-02-03 16:18:52 +00:00
Vault Automation
2eb6905459
UI: remove cluster route and model boundary route mixins (#11873) (#12025)
* remove cluster route and model boundary route mixins

* add copyright header

* remove old unit test

* change replication/application route

* don't use cluster route in replication

* why have a base class at all?

* test tweaks

* remove afterModel redirect in replication

* refactor targetRouteName to use derived state

* Update route class name on replication-dr-promote.js



---------

Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-01-29 11:02:04 -06:00
Vault Automation
47b000674b
UI: Convert namespace service to typescript (#12008) (#12039)
* convert to typescript

* move getOptions to namespace service

* delete unneeded ts file

* add test coverage and cleanup getOptions method

* use new admin const

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-01-27 17:07:50 -08:00
Vault Automation
0d0a06c491
Update eslint console rule (#11883) (#11948)
Allow for console error and warn and fail for everything else.
Remove disable rules for console.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
2026-01-23 13:26:41 -08:00
Vault Automation
60eb60c24f
[UI] Ember Data Migration - KMIP Cleanup (#11838) (#11865)
* updates kmip scope roles route to ts

* updates kmip scope roles route to use api service and adds page component

* converts kmip role route to ts

* fixes a11y error in kmip header-credentials component

* updates kmip role route to use api service and adds page component

* removes kmip operation-field-display component that was moved into role page component

* converts kmip role create route to ts

* moves kmip role form component to component directory root

* converts kmip role form component to ts

* adds operation-groups helper and refactors kmip role page to use it

* adds operation-label helper and updates kmip role page to use it

* converts kmip edit role route to ts

* updates kmip role test to use operation-groups helper

* adds kmip role form

* updates kmip role edit and create routes to use api service and form class

* updates kmip role form component to work with form class

* updates kmip acceptance tests

* converts kmip credentials index route to ts

* updates kmip credentials route to use api service

* adds kmip credentials page component

* converts kmip credentials show route to ts

* updates kmip credentials show route to use api service and adds page component

* fixes flash message issue on kmip role form submit success

* converts kmip credentials generate route to ts

* reverts kmip credentials show page component in favor of details-credentials component which is also used in generate route

* fixes kmip details-credentials tests

* update kmip credentials generate route to use api service and updates page component

* removes store and pagination services from kmip engine

* converts kmip breadcrumb component to ts

* converts kmip header scope component to ts

* removes kmip Ember Data models and adapters

* removes store reference from kmip acceptance tests

* fixes issues routing back to secrets engine via breadcrumb in kmip roles and credentials routes

* removes kmip role adapter test

* updates open api helpers tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-01-21 17:20:19 +00:00
Vault Automation
7a29044ea4
UI: Implement policy generator in kv v2 routes (#11798) (#11813)
* add support for initializing with capability paths

* only render flyout for enterprise versions

* update PolicyStanza to support object

* add policy generator to kv

* only set preset stanzas if no changes have been made

* add test coverage for kv adding policy generate to page headers

* add community test

* add test coverage to capabilities service

* add changelog

* add close callback

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-01-16 10:45:01 -08:00
Vault Automation
a9b527583d
[UI] Kubernetes Auth Config Bug (#11643) (#11666)
* updates kubernetes_ca_cert auth config field to file editType

* adds changelog

* renames changelog file

* updates auth configure section route unit tests

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2026-01-09 20:27:52 +00:00
Vault Automation
174f387aef
[VAULT-33083] UI: followup pr to update helper syntax to follow best practices (#11493) (#11557)
* [VAULT-33083] UI: followup pr to update helper syntax to follow best practices

* fix test failures

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-01-05 13:12:43 -08:00
Vault Automation
91025c9ce7
[VAULT-33083] UI: support builtin plugins as external plugins (#11244) (#11489)
* [VAULT-33083] UI: support builtin plugins as external plugins

* address copilot review comments

* add changelog

* remove unused id property

* address some nits & add test coverage

* should use utils instead of mixins

* update comments

* move/consolidate logic for 'transform' engine type into ENGINE_TYPE_TO_MODEL_TYPE_MAP, added/updated test coverage

* cleanup: extract transform engine model type logic into helper functions

* address pr comment

* separation of concerns - move relevant vars/fns from all engines metadata to external plugin helpers & secret engine model helpers files

* add TODO; remove unnecessary exports

* rename secret-engine-model-helpers to secret-engine-helpers

* update unknown engine metadata from var to fn to handle a methodType param

* remove unnecessary test

* update changelog; return methodType for unknown engine metadata, simplify code for readability

* add optional chaining for fail-safe

* address kvv1 edge case - on exit configuration, kvv1 should redirect to list-root while kvv2 should redirect to the engineRoute defined in all-engines-metadata

* add ibm header

* fix test failure after updating unknown engine type

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-12-18 18:29:20 +00:00
Vault Automation
4900cbfe1a
[UI] Ember Data Migration - Kubernetes Overview/Cleanup (#11430) (#11435)
* converts kubernetes overview page component to ts

* converts kubernetes role index controller to ts

* updates kubernetes overview to use api service

* removes store service from kubernetes engine

* removes kubernetes models, adapters and serializers

* removes unused types

* updates removed type references

* removes fetch-secrets-config decorator

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-17 17:26:50 +00:00
Vault Automation
06068fb8eb
removes ember data models, adapaters and serializers for sync (#11026) (#11195)
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-12 11:00:10 -07:00
Vault Automation
fdacc28522
[UI] Ember Data Migration - LDAP Overview/Cleanup (#11255) (#11297)
* removes withConfig decorator and moves check to application route

* updates backendModel references in ldap engine to secretsEngine

* adds ldap config form class

* updates ldap config type in application route

* updates ldap configure and configuration routes to use api service

* adds capabilities service to ldap engine

* updates ldap mirage handler and scenario

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

* updates ldap roles view to use api service

* updates ldap role details view to use api service

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

* updates ldap role subdirectory view to use api service

* updates ldap role credentials view to use api service

* updates ldap libraries list views to use api service

* updates ldap library details view to use api service

* updates ldap library details accounts view to use api service

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

* updates ldap library details configuration view to use api service

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

* fixes lint errors

* updates ldap overview to use api service

* updates ldap overview tests

* removes store and pagination services from ldap engine

* removes ldap related ember data files

* updates path_to_library var casing

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

* updates pki overview route to use api service

* removes remaining references to store in pki tests

* removes unused store service injections in pki components

* removes store dependency from pki engine

* removes ember data related unit tests for pki

* removes pki ember data models, adapters and serializers

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

* removes unused store service injections from pki engine

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

* removes path-help test using pki model

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-12-03 20:37:20 +00:00
Vault Automation
d602d6164f
UI: Unsaved changes modal refinements (#10148) (#10248)
* Initial unsaved changes bug fixes

* Fix some transition bugs

* VAULT-39913 mount params

* Fix failing tests

* spitballin (#10179)

* spitballin

* fix second save bug

* Fix failing tests

* set initital state

* Put initial state back

---------



* Address feedback!

* Fix failing tests

* Add changelog

---------

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

* add test and hide client count card

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

* add banner description

* add changelog entry

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

* update tests

* add doc link

* Apply suggestions from code review



* naming updates

* update feature key format

* update casing

* add enum, revert naming, move helper to util

* test hidden nav link and dashboard card

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-11-17 09:11:14 -06:00
Vault Automation
091633203a
[VAULT-39917] UI: bugfix to support hierarchical ldap libraries (#10180) (#10569)
* [VAULT-39917] UI: bugfix to support hierarchical ldap libraries

* add loading state instead of staying on secret engine list page

* support deeply nested hierarchical libraries using recursion

* show library count as soon as we have it available

* fix breadcrumbs by supporting subdirectory routes

* code cleanup

* remove unnecessary loading text

* additional code cleanup

* more code cleanup / updating comments

* add changelog

* update tests

* fix build issues

* fix test failure

* address pr comments: update comment, use ember-concurrency for loading states

* address pr comment: changelog updates

* address PR comment: use await .last instead of .then()

* address pr comment: cleanup - remove unused args

* address PR comment: remove dup request for root libraries, add inline error

* remove unnecessary, dup logic

* update failing tests

* update failing tests

* Update comment

* bug fix: update record should support hierarchical paths; added test coverage

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-11-04 13:52:38 -08:00
Vault Automation
2d2b237505
update help text url to avoid appearance of real secret usage (#10398) (#10404)
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-10-27 15:34:21 -05:00
Vault Automation
0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

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

* updating all relevant tests

* leftover tests

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-10-17 16:36:29 -04:00
Vault Automation
79bab3edd1
Backport UI Fix: UI permissions banner and side bar nav gating respect Vault glob semantics (+, deny precedence) into ce/main (#9800)
* UI Fix: UI permissions banner and side bar nav gating respect Vault glob semantics (+, deny precedence) (#9522)

* add in empty states when no permissions error but no list values found.

* wip

* wip cont.

* a lot closer... I think

* looking good, now to smoke test (Again)

* welp revert fix to adapter that borked it.

* add changelog

* test coverage—a lot

* fix some issues with root vs fallback show sidebar nav

* address pr comments and clean up comments and left over duplicate methods in permission service

* Apply suggestion from @hellobontempo

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

* add resultant-acl in canary paths

* remove from canary and use capability check instead inside permissionsBanner

* clean up

* fix merge things

---------

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

* add conditional for enterprise vs ce

---------

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Angel Garbarino <argarbarino@gmail.com>
2025-10-14 10:30:41 -06:00
Vault Automation
a5c1e7f428
[UI][Bugfix]: Unsaved changes modal + Confirm Leave (#9984) (#10091)
* Update unsaved changes service + modal

* Remove more unused consts..

* Remove controller

* Fix bugs!

* Add copyright headers

* Add sevice comment

* suggested changes (#9998)

* Address more feedback

* Add unsaved changes modals

* Update modal header and add generalized text

* Add tests

* Fix ts errors

* Address feedback

* Redirect to general-settings route

* Address feedback!

* Remove extra data-test-breadcrumb!

* Remove ember testing..

---------

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

* updates kv list route to use api service

* updates kv config route to use api service

* updates kv secrets overview route to use api service

* updates kv secret details route to use api service

* adds kv form

* updates kv metadata details route to use api service

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

* refactors kv-data-fields component to form component

* updates kv secret create route to use api service

* updates kv secret edit route to use api service

* updates kv metadata edit route to use api service

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

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

* removes kv models, adapters and serializers

* removes store from kv addon

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

* updates comments that referred to kv ember data models

* updates kv-page-header tests

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

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

* fixes kv v2 workflow create tests

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

* decodes uri in path returned by api service parseError method

* fixes kv v2 edge cases tests

* fixes issue deleteing control group token in api service

* decodes url for control group token lookup in api service

* fixes version history linked block link

* defaults cas to 0 when creating new secret

* removes log

* adds ember-template-lint to kv engine

* more test fixes

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

* removes kv metadata model reference from quick actions card

* fixes sync destination sync secrets tests

* updates kv helpers from classic format

* updates kv helpers imports

* reverts to use secret.version in details edit route

* fixes isDeleted import in kv version history test

* adds waitFor to api service parseError method

* reverts removing async from addQueryParams api method

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

* more tweaks to requesting metadata from data

* adds waitFor to requestData method

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-02 12:52:26 -06:00
Vault Automation
0b939eaaf4
[UI] Ember Data Migration - KV Secrets/Metadata (#9508) (#9762)
* adds error handling for control groups to api service as post request middleware

* updates kv list route to use api service

* updates kv config route to use api service

* updates kv secrets overview route to use api service

* updates kv secret details route to use api service

* adds kv form

* updates kv metadata details route to use api service

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

* refactors kv-data-fields component to form component

* updates kv secret create route to use api service

* updates kv secret edit route to use api service

* updates kv metadata edit route to use api service

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

* adds kvMetadata path to capabilities path map

* fixes kv list item delete test selector

* fixes kv v2 workflow create tests

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

* decodes uri in path returned by api service parseError method

* fixes kv v2 edge cases tests

* fixes issue deleteing control group token in api service

* decodes url for control group token lookup in api service

* fixes version history linked block link

* defaults cas to 0 when creating new secret

* removes log

* adds ember-template-lint to kv engine

* more test fixes

* updates kv helpers from classic format

* updates kv helpers imports

* reverts to use secret.version in details edit route

* fixes isDeleted import in kv version history test

* adds waitFor to api service parseError method

* reverts removing async from addQueryParams api method

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

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

Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
2025-10-01 10:58:16 -06:00
Vault Automation
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