705 Commits

Author SHA1 Message Date
Vault Automation
8a9c306960
UI: Create version card (#8710) (#8744)
* setup version card

* folder restructure

* Adding todos, removing test

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-08-20 18:06:44 +00:00
Vault Automation
9a73034335
UI: Creating Metadata card for configuration page (#8679) (#8709)
* card setup

* updating to pass in vals

* remove test usage

Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
2025-08-19 17:21:41 -04:00
claire bontempo
a607fb181c
UI: wrap ember-power-select- overrides so Hds::SuperSelect is usable (#31492)
* wrap ember-power-select overrides in search-select css selector

* move class accidentally applied to nested block

* make renderInPlace default to true
2025-08-13 18:01:10 -07: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
Dan Rivera
3f30ca89ce
UI: Security card component for new configuration page (#31487)
* setup layout for security card

* cleanup

* remove test use
2025-08-13 13:56:17 -04: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
Dan Rivera
33132416cc
moving CTA out from toolbar into separate hds button (#31456) 2025-08-07 17:41:05 -04: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
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
Matthew Irish
0d7882cda6
fix error on transform-edit-form component (#31409) 2025-08-01 13:19:45 -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
Matthew Irish
4a2b5bf690
run colocated components codemod (#31397) 2025-08-01 10:04:25 -06:00
Jordan Reimer
863ab9408c
[UI] Ember Data Migration - Auth Method Enable (#31394)
* adds form for auth method and updates mount backend form to use it

* fixes tests
2025-08-01 08:54:41 -06:00
Dan Rivera
c80c4b4180
UI: Fix externally mounted engine tooltip bug (#31382)
* adding clause for external plugin to tooltip

* fixing mouseover event

* fix check

* pulling object out of list

* fix used parameter

* adding comments

* fix

* fixing tests

* adding 1 more test

* update tooltip func, remove excess params, update tests
2025-07-30 12:01:27 -04:00
Zack Moore
e6ce95acd3
Replace codemirror 6 code editor with HDS CodeEditor component (#30188)
* Completed initial replacement of editor

* fixing ts issues

* removing codemirror modifier and deps

* working on replacing the code editor

* addressing linting concerns

* cleaning up policy-form editor

* fixing linting issues

* fixing linting issues

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing failing tests

* cleaning up PR

* fixing tests

* remove outdated message for navigating editor

* fix linting in tests

* add changelog

* fix tests

* update naming

* remove unused lint param + name changes

* update test selector usage

* update test selector usage

* update test selector usage

* lint fixes

* replace page object selectors

* lint fix

* fix lint

* fix lint after merge

* update tests

* remove import

---------

Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-07-23 11:12:20 -07:00
Jordan Reimer
8700becc45
[UI] Ember Data Migration - API Property Casing (#31325)
* updates api client vars to snake_case for custom messages

* updates api client vars to snake_case for tools

* updates api client vars to snake_case for sync

* updates api client vars to snake_case for secrets engine

* updates api client vars to snake_case for auth

* updates api client vars to snake_case for usage

* updates api client dep to point to gh repo

* fixes custom-messages service unit tests

* fixes configure-ssh test

* fixes configure-ssh test...again
2025-07-18 09:32:01 -06:00
claire bontempo
41d8301927
UI: Fix namespace picker selecting all namespaces with matching nodes (#31326)
* add test

* add changelog
2025-07-17 15:56:59 -07:00
claire bontempo
6981f475c6
remove sys/namespace capabilities check for refresh button (#31308) 2025-07-17 10:06:09 -07:00
claire bontempo
0fb6c5e895
UI: Include user's root namespace in the namespace picker if it is not the true root (#31300)
* add userRootNamespace to namespace picker

* add changelog
2025-07-16 22:39:21 +00:00
claire bontempo
a260fa668e
delete unused component (#31241) 2025-07-09 20:56:00 +00:00
claire bontempo
31051ef1e4
UI: Implement api service in auth components (#31085)
* change entity_id to camel casing, remove "backends" key from stored auth data

* fix tokenExpirationEpoch returning NaN, use authSuccess in auth service tests

* camel case mfa_requirement references

* refactor auth service

* implement api service for token method

* implement api service in standard auth methods

* add lookupSelf request to persistAuthData method in auht service instead of calling in components

* implement api service in oidc-jwt component

* implement api service in okta component

* implement api service in saml component

* use api service for wrapped_token query param

* remaining test updates, enterprise tests and stabilize auth helpers

* upate renew() to use new persistAuthData method, add a test

* revert as this will be addressed upstream

* rename supported-login-methods to auth-form-helpers and delete old supported-auth-backends helper, update tests

* cleanup normalize after testing mfa validation for each auth method

* update type declarations, set displayName in each method component

* stabilize redirect tests by waiting for login before asserting url

* stabilize tests

* modernize typescript syntax, move error const to util

* use mirage instead of vault server to resolve test race conditions

* fix file import
2025-07-09 10:11:23 -07:00
Jordan Reimer
75e1108750
[UI] Ember Data Migration - Auth Method List/Config (#31203)
* updates auth method list and config views to use api service

* adds capabilities checks to auth methods route

* fixes auth method config tests

* updates SecretsEngine type to Mount

* updates listingVisibility value in config test

* adds missing copyright header
2025-07-08 11:50:38 -06:00
claire bontempo
fef422756e
UI: fix custom message namespace test and mirage passthrough requests (#31164)
* navigate to namespace to fix custom message test

* properly return passthrough requests from mirage
2025-07-01 12:42:47 -07:00
claire bontempo
14db682a41
yield hds dropdown text (#31142) 2025-06-30 12:11:25 -07:00
claire bontempo
11c179c11d
render description when multiple mounts are visible (#31115) 2025-06-26 11:09:02 -07:00
Shannon Roberts (Beagin)
659f1b1ada
[VAULT-37108] UI: update toggle-input test selectors (#31087)
* [VAULT-37108] UI: update toggle-input test selectors
- update namespace-picker to data-test-button

* - replace instances of data-test-toggle-input with general selector

* - replace enableDefaultTtl() and enableMaxTtl()  with general selector

* - replace toggleJson with general selector

* - replace toggleButton with general selector

* - replace toggleTtl() with general selector

* - replace hasToggleButton() with general selector

* - replace hasTTLPicker() with general selector

* - replace toggleDiff with general selector

* fix lint error :]

* fix failing test
2025-06-26 09:18:01 -06:00
Angel Garbarino
6cc4eae735
Address flaky tests: namespace and config-ui/messages (#31016)
* namespace and ui-config, running out of time ahhh

* fix some tests

* triple back to back runs on namespace and we're solid

* add cleanup test pollution on config-ui/messages and also remove the empty state check as we do that in the component test:

* Fix test error: "Promise rejected during "it should show the list of custom messages": _generalSelectors.GENERAL.listItem is not a function"

* fix more tests

---------

Co-authored-by: Shannon Roberts <shannon.roberts@hashicorp.com>
2025-06-23 09:12:52 -06:00
Dan Rivera
008835ba36
UI: Surface plugin version & cleanup utils (#31001)
* surface plugin version & removing mountable-auth-methods.js

* UI: Removing mountable-secret-engines.js (#30950)

* first pass, removing all related imports

* fix usage

* fix category

* fix typos

* fix more tests

* fix more tests pt2

* attempting WIF const removal

* fix wif tests, removing config consts

* fixing tests

* please

* removing fallback

* cleanup

* fix type ent test

* remove isaddon

* Revert "remove isaddon"

This reverts commit ee114197b7299711e35e3c8e5aca9694063726eb.

* adding tab click

* update case

* fix case, rename to isOnlyMountable

* fix backend form

* more test fix

* adding changelog

* pr comments

* renaming params, adding requiresADP

* updates

* updates and pr comments

* perhaps update the test
2025-06-19 15:10:09 -04:00
Jordan Reimer
a6ab9bed1d
[UI] Ember Data Migration - Form Type Updates (#31011)
* updates type handling for forms

* fixes validation in aws and ssh config forms

* fixes issue with missing sync destination name
2025-06-19 10:03:09 -06:00
Shannon Roberts (Beagin)
be9111a677
[VAULT-37109] UI: Tackle data test toggle group selectors (#30982)
* [VAULT-37026] UI: Tackle data test toggle selectors

* remove shannontest debug
2025-06-17 13:52:57 -07:00
Jordan Reimer
2417aa9aad
[UI] Ember Data Migration - Secrets Engine (#30829)
* [UI] Ember Data Migration - Secrets Engine Resource (#30791)

* adds base factory for resources and secrets engine resource

* updates dashboard and secret-engine list route to fetch mounts from api service

* updates secret backends routes to use api service

* updates secrets engine config routes to use api service

* updates secrets backend route to use internal mounts endpoint and fixes error handling

* updates property casing in config details card component

* fixes dashboard tests

* fixes issues with engine configuration

* updates api service to only set token header if value is defined in auth service

* fixes more tests

* Update ui/app/routes/vault/cluster/secrets/backend/configuration/index.js

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>

* removes alwaysRender from publicKey field in secret engine configuration details component

* removes unused hideToggle arg from secret engine mount config template

* updates kv config route to load secret-engine model

* fixes kv config route

---------

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>

* [UI] Ember Data Migration - Secrets Engine Forms (#30951)

* adds secrets engine form class

* updates mount-secret-backend route and form component to use secrets engine form class and api service

* updates to form class proxy for nested form data properties

* adds form classes for configurable secrets engines

* updates secrets engine config edit route and components to use form classes and api service

* adds missing copyright header

* fixes tests

* fixes type error

* updates configure-ssh component to use form class and api service

* updates configure-ssh tests

* updates configuration-wif component tests

* fixes mount secret backend and form tests

* adds method to normalize request key casing to api service

* addresses pr review feedback

* removes unused secrets engine config models, adapters and serializers (#30980)

* fixes azure config tests

* fixes more ent tests

---------

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2025-06-16 14:29:17 -06:00
Angel Garbarino
5e6516ad83
Fix failing ent test (#30985)
* fix transform submit issues

* fix and clean up replication

* left overs

* build waiter for namespace capabilities check to show button, hoping it helps with test flaky issues
2025-06-16 19:21:12 +00:00
lane-wetmore
e64ce286e2
UI: Update Namespaces Page Link Component Behavior (#30861)
* namespace link using router.transitionTo and doesn't re-auth to match namespace-picker

* remove namespace link component and use interactive dd item

* update fn name + test

* trigger build

* add test

* update test

* test updates

* remove unneeded var
2025-06-13 11:07:12 -05:00
lane-wetmore
5a321b8d96
Docs: Update to Reflect Client Count Changes (#30798)
* naming updates

* start of renaming usage-metrics to client-usage

* update screenshots and remove docs for removed charts

* add redirect from usage-metrics to client-usage and rename doc file

* rename links

* add screenshot for attribution table

* update table screenshot

* update urls to new pattern

* Update website/content/docs/commands/operator/usage.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/concepts/client-count/client-usage.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/concepts/client-count/client-usage.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/concepts/client-count/client-usage.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/docs/concepts/client-count/counting.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* Update website/content/partials/faq/client-count/tools.mdx

Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>

* alt text improvements + removed outdated faq section

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2025-06-13 10:25:39 -05:00
claire bontempo
0d6559880a
UI: Reduces margin around Sign in button (#30963) 2025-06-12 15:12:06 -07:00
Shannon Roberts (Beagin)
b54aba9fd8
[VAULT-35715] UI: Namespace picker is updated after add/delete namespace (#30737)
* [VAULT-35715] UI: Namespace picker is updated after add/delete namespace

* + changelog

* pairing session updates

* fixing tests (wip)

* fix tests!

* remove meep lol

* fix one more test

* add missing test coverage

* address PR comments, enterprise tests are passing again!!

* fix lint issue
2025-06-11 10:59:16 -07:00
Angel Garbarino
a51c5ed362
Clean up button test selectors (#30694)
* clean up selectors file and then update testButton to buttonByAttr

* a lot but not really in the scheme of things

* fix component test failures

* fix acceptance test failures

* fix namespace selector

* clean up remaining tests

* another test

* last test

* small changes, but I have test failures

* a mess in custom messages, really hard to test because of test pollution.

* make data-test-submit vs data-test-save

* change other-methods to sign in with other methods

* clean up of failing test

* buttonByAttr to button

* clean up test pollution on config messages

* sweep of clean ups

* another round of small cleanups

* fix some message things, remaining oidc issue?

* use a runCmd to better delete things

* fix to amend for recent auth test changes

* remove skip
2025-06-10 16:25:34 -04:00
lane-wetmore
1637b3119b
use hds icon component (#30886) 2025-06-06 13:16:24 -05:00
Dan Rivera
e35a1bca25
UI: Move keyboard help text above code editor on ACL policy creation page (#30865)
* move helper text above code editor

* move above header
2025-06-06 14:03:34 -04:00
claire bontempo
dc0e85b625
UI: Fixes issue where backup tab was selected if they included default type (#30805)
* Fixes issue where backup tab was selected if backups include default type

* fix enterprise empty state assertion
2025-06-02 10:29:48 -07:00
claire bontempo
d82d82ef80
UI: Fix direct login link for auth mounts (#30800)
* fix typos, check for supported auth method and render direct link in display view too

* add namespace

* linebreak

* add tests
2025-06-02 09:05:04 -07:00
lane-wetmore
303c36e2c7
UI: Update Month Order to be Recent - Oldest (#30787)
* show most recent months first in option list

* update test
2025-05-30 09:20:46 -05:00
claire bontempo
71071183a6
UI: Rename "UI Login Rules" to "UI Login Settings", revert messages link back to "Custom messages" (#30767)
* change name back to "Custom messages"

* rename to "UI Login Settings"

* fix casing

* unused seletor

* fix comment typo
2025-05-28 08:22:31 -06:00
claire bontempo
2d0587f316
UI: Improve namespace input UX (#30751)
* yield namespace input and update tests

* add refocus logic

* more tests!
2025-05-27 16:41:01 -07:00
claire bontempo
8d0bdac3c1
UI: Rename "Vault Usage Metrics" to "Client Usage" (#30765)
* rename references to "Vault Usage Metrics" to "Client Usage"

* add changelog
2025-05-27 14:18:09 -07:00
Evan Moncuso
689ede2da5
[UI] - introduce Posthog for Vault Dedicated managed clusters (#30425)
* add dummy provider and wire it into the app

* add tests for analytics service

* add posthog provider

* wire in posthog

* add HVD limitation for analytics and add unit test

* filter out sensitive event properties

* add changelog

* run copywrite headers

* update logging tests for analytics service

* update changelog format

* disable telemetry in test mode

* remove unnecessary test

* self review

* Update vault-reporting addon with analytics tracking changes

* address review feedback

---------

Co-authored-by: Jim Wright <jim.wright@hashicorp.com>
2025-05-23 19:40:29 +00:00