1417 Commits

Author SHA1 Message Date
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
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
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
b5c6e83db1
VAULT-42410 - Refactored empty state component for kmip directory (#12806) (#13020)
* VAULT-42410 - refactored empty state component for kmip directory

* added data-test attributes

* fixed failing tests

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-03-14 08:44:55 +05:30
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
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
0fcda801c0
dismiss wizard for sidebar nav tests (#12550) (#12553)
Co-authored-by: Matthew Irish <39469+meirish@users.noreply.github.com>
2026-02-26 09:41:01 -06:00
Vault Automation
75484c6082
Backport UI: Fix secrets engine list not refreshing after deleting within a namespace into ce/main (#12538)
* no-op commit

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

* rename arg to differentiate between selectionKey for HDS component

* add more test coverage, fix bug for isObject rendering

* fix namespace test coverage to actually test relevant stuff

* more test updates to use latest selectors

* add changelog

* add more test coverage

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-25 21:17:34 +00:00
Vault Automation
24c3412135
Add V2 Form generator script (#12062) (#12089)
Add automated form config generation from OpenAPI specs.
Generator script can be utilized by passing API method name
which will then parse the OAS and generate the necessary form
configuration to be used with the upcoming V2 Form systems.

Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
2026-02-25 19:09:42 +00:00
Vault Automation
b593ca128e
Backport [VAULT-40813] ManageDropdown component into ce/main (#12508)
* [VAULT-40813] ManageDropdown component (#12295)

* [VAULT-40813] ManageDropdown component

* address pr comments, add routing test coverage

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

---------

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
2026-02-25 10:37:43 -08:00
Vault Automation
ad9144da7e
Fix issues from partitioning tests (#12523) (#12525)
* lets add some waits

* maybe its the wizard?

* clear logout state

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-24 18:03: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
422acb5e1f
UI: Fix reset password error substate (#12429) (#12434)
* fix reset password error substate not rendering

* fix user dropdown not closing after route click

* add test coverage for stuck user menu;

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 15:29:00 -08:00
Vault Automation
d8788f7792
UI: Consolidate error templates and not-found route handling (#12420) (#12431)
* fill out test coverage before replacing component

* rename page error selectors

* delete unused templates

* render Page::Error in vault.cluster.not-found

* replace NotFound component with Page::Error

* support full page errors for Page::Error component

* finish updating getErrorResponse usage and remove "not found" message

* delete unused template and route

* cleanup unused selectors

* whoops, missed this test update

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 21:39:57 +00:00
Vault Automation
6527d7ad85
UI: Code Cleanup & Namespace bug fixing for configuration tuning (#12203) (#12449)
* testing

* testing some routing fixes, removing more unused code

* using direct config route instead of general settings

* same for general settings save

* testing without unsavedChanges interrupt

* put things back but add hvd flag for refresh

* cleanup

* putting things back

* undo

* redos

* fix model refresh  & ttl bug

* fixing ember engines

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-19 16:27:02 -05:00
Vault Automation
b9c8afc9da
refactor test (#12446) (#12448)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 13:05:50 -08:00
Vault Automation
43519e1220
UI: Add ACL Policy Intro Page (#12332) (#12444)
* move policy template logic into page component and add acl policy intro page

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

* add and update tests, add changelog entry

* update modal copy

* update comment

* address test failure

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



* Apply suggestions from code review



* update deletion method and add
test coverage

* update comment

* clean up

* update intro action

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-19 19:29:34 +00:00
Vault Automation
87c04c4814
[VAULT-40843] Tune External Plugin Version (#12091) (#12370)
* [VAULT-40843] Tune External Plugin Version

* update comment :)

* update test for edge case

* simplify version state management and add comments for clarity

* remove obsolete styling; update comments

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-19 10:13:22 -08:00
Vault Automation
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
504334f8bb
UI: Add policy flyout to PKI (#12335) (#12373)
* make router-lookup helper

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

* update kv flyouts and test coverage

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

* alphabetize PATH_MAP

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

* update overview requests and improve ux for limited permissions

* request each key permissions

* add flyout to pki page header

* update changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-17 19:28:47 -08:00
Vault Automation
8f6253cc0b
UI: Add secret engines intro page (#12343) (#12379)
* Add secret engines intro page

* add test coverage

* hide header actions when showing wizard

* add changelog entry

* update copy and variable naming

* fix tests

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

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

* update kv flyouts and test coverage

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

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

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

* update comments

* add modal for namespace intro and improve reusability

* style updates and general reusability updates

* make intro pages more generic and rename welcome to intro

* update tests

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

* Update arg docs

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

* WIP...

* Update page headers and move logic back

* remove unused stuff

* Fix failing tests

* Use hasNavPermission

* Update raft storage locatin and add namespace link on top

* Update access sidebar link to Access control

* Update order of API_PATHS

* Remove namespace link

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

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

* add changelog

* address copilot review comments

* address PR comments, code cleanup

* fix test failures

* Add support for external plugins registered without a plugin version

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

* fix tests

* address copilot feedback

* fix failing tests, add unit test coverage

* address PR comments

* address PR comments

* remove dead code

* move no external versions alert

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

* address PR comments

* use ApiService instead of custom PluginPinsService; fix failing tests

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

Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2026-02-10 14:18:14 -08:00
Vault Automation
e26fc8067e
UI: fix capability request to generate keys (#12256) (#12257)
* rename args

* fix capabilities request path and update tests

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-10 00:22:31 +00:00
Vault Automation
47849d7cea
UI: Wizard Improvements (#12254) (#12261)
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal

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

* update comments

* add wizard service unit test coverage

* move item filtering into helper func

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-02-09 23:33:13 +00:00
Vault Automation
e343a87243
[UI][VAULT-42370][VAULT-41964][VAULT-41143] Update secrets engines and client count page title and breadcrumbs (#12190) (#12237)
* Update kubernetes and kmip breadcrumbs

* Add breadcrumbs for non ember engines

* LDAP breadcrumbs..

* PKI breadcrumbs..

* Mostly working kv tests

* kv data persona tests

* Fix remaining kv-workflow test

* Route to vault.cluster instead of dashboard

* VAULT-41964 Update client count breadcrumb + test

* VAULT-41143 Remove user dropdown a11y override

* Add test for nav links on community

* Ensure we check for enterprise

* Address feedback

* Use selector instead

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-06 11:11:04 -08:00
Vault Automation
3842e8df73
[UI][VAULT-41959] Secrets sidebar (#12118) (#12175)
* WIP secrets sidebar

* Remove unwanted text and put some things back..

* Add secrets templates for sidebar

* Fix tests

* Update more Secrets navlinks

* Add copywrite headers

* Creates secrets.hbs so its the parent route

* Update secrets comment

* Update component name

* Update sidebar to use helper

* Secrets sync breadcrumbs

* Address feedback~

* Use enum and add helper test

* Fix links!

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 14:36:06 -08:00
Vault Automation
80a651c342
UI: Secrets Engines tune support clean up (#12125) (#12178)
* removing isOldEngine, moving list view actions into header

* removing old unused config page

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-02-04 21:25:39 +00:00
Vault Automation
0079d343d8
[UI] VAULT-41960 resilience and recovery sidebar (#12056) (#12170)
* VAULT-41960 resiliance and recovery sidebar

* Add breadcrumbs and fix failing tests

* Update link to be external

* Update mode title

* Fix tests

* More tests

* Passing tests!

* Fix sidebar highlight issue

* Update remaining breadcrumbs and fix tests

* Fix recovery tests

* Add resilience and recovery tests

* Sidebar clients rearrangement

* Dasherize and address feedback

* Add copyright headers

* Move to snapshots component for integration test

* Create recovery route file in cluster

* Update ts file and create resilience route

* Remove unused comment

* Add display-nav-item helper

* remove extra nav instantiation

* Add copywrite header

* Address feedback!

* Add more tests!

* Remaining helper tests

* last resilience recovery test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-02-04 12:06:25 -08:00
Vault Automation
4e78a0bfc5
UI: Prioritize direct link when multiple mounts are visible (#12142) (#12156)
* override auth form with direct link

* add changelog

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2026-02-03 22:50:14 +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
8edcbc5a04
UI: Add tune support to KMIP Secrets Engine (#12028) (#12105)
* adding kmip header

* updating header usage across pages

* updating config routes to use new pages

* fixes to config page & test

* Remove unused comp

* fixes for headers

* fix in router

* update headers to use page comp directly, add tabs comp

* remember copywrite

* code cleanup

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2026-01-30 15:03:28 -05:00
Vault Automation
eb1d3edfb0
UI: update namespace empty state (#11924) (#12082)
* update namespace empty state

add in refresh button to empty state and update tests

update button design

* update copy

* update when exit button is shown

* update css class

* revert state changes

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2026-01-29 19:19:42 +00:00
Vault Automation
ad7cf8ca8d
[UI] VAULT-41963 add reporting sidenav (#12011) (#12055)
* VAULT-41963 add reporting sidenav

* Fix failing tests and add new tests

* Add copywrite headers

* Update checks for reporting

* Update vault reporting acceptance tests

* Update tests to use test helpers

* Update sidebar enterprise test selectors

* Update vault reporting title test

Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
2026-01-29 09:53:35 -08: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
1a68ff6123
VAULT-41682 - Replace EmptyState components with Hds::ApplicationState in database directory (#12065) (#12068)
* VAULT-41682 - Replace EmptyState components with Hds::ApplicationState in database directory

* fixed co-pilot review comments

* fixed failing test case

Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
2026-01-29 10:54:53 -06:00