499 Commits

Author SHA1 Message Date
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
Angel Garbarino
b0d8f4f1be
UI Bug fix: Fix DR Secondary view (#31478)
* test coverage and the fix

* not working

* fix failing test

* fix another test

* changelog

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

* delete unused controllers

* rename enum and move to client count utils

* wire up filters to route query params

* update test coverage

* add support for appliedFilters from parent

* update type of ns param

* move lists to client-list page component
2025-08-12 17:41:15 +00:00
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
Matthew Irish
970975cfa4
[UI] - Colocated components in addons (#31413)
* core: run colocated components codemod

* kmip: run colocated components codemod

* replication: run colocated components codemod

* core: remove manual setting of templates with setComponentTemplate

* run prettier
2025-08-04 08:02:27 -07:00
claire bontempo
f18a0643d3
UI: Cleanup scss color variables (#31386)
* update greys to use hds tokens

* update blue vars

* remove unused color vars

* replace remaining colors, add hex codes in commnets

* update kv rgp color

* remove color_variables file and use hds tokens directly
2025-07-29 13:13:08 -07: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
Dylan Hyun
046c33bc72
[VAULT-34734] UI: Move the text input block in FormField under the HDS block (#30859)
* [UI] Updated `FormField` to use `Hds::Form::TextInput` for `type=string` and `type=number`  (#34733)

* [UI] Updated `FormField` tests for `type=string` and `type=number` (#34733)

* [UI] Fixed failing test cases from `FormField` `type=string` and `type=number` updates (#34733)

* [UI] Removed checks for this.hideLabel and this.labelString (#34733)

* [UI] Standardize test cases for `FormField` `editType=undefined` (#34733)

* [UI] Update `editType=undefined` tests to use `assert.true` (#34733)

* [UI] Update logic of isHdsFormField to align to previous template (#34733)

* Update ui/tests/integration/components/form-field-test.js

Co-authored-by: Cristiano Rastelli <public@didoo.net>

* [UI] Added `CharacterCount` to `FormField` text input (#34733)

---------

Co-authored-by: Cristiano Rastelli <public@didoo.net>
2025-07-11 14:59:45 -04:00
Shannon Roberts (Beagin)
aa27ee4b0a
[VAULT-37111] UI: use general selector for textarea toggle (#31222)
* [VAULT-37111] UI: use general selector for textarea toggle

* rename data-test-text-file-textarea to data-test-masked-input to match hds component
2025-07-08 08:50:14 -07:00
Cristiano Rastelli
bcdce39002
[VAULT-34737] UI: move the dateTimeLocal block in FormField under the HDS block (#30939)
* [UI] Updated `FormField` to use `Hds::Form::TextInput` for `editType=datetime-local` (#34737)

* [UI] Updated `FormField` tests for `editType=datetime-local` (#34737)

* [UI] Fixed failing test cases from `FormField` `datetimeLocal` updates (#34798)
2025-07-01 09:27:06 +00:00
Cristiano Rastelli
54b1fceca0
[VAULT-34798] UI: move the boolean block in FormField under the HDS block (#30771)
* [UI] Updated `FormField` to use `Hds::Form::Checkbox` for `type/editType=boolean` (#34798)

* [UI] Updated `FormField` tests for `type/editType=boolean` (#34798)

* [UI] Fixed failing test cases from `FormField` `boolean` updates (#34798)

* [UI] fixes raised in PR review (#34798)

* removed `this.labelString` guard per agreement

see https://github.com/hashicorp/vault/pull/30788

* [UI] replaced `assert.ok` with `assert.true` per code review suggestion

* updated `isHdsFormField` logic to reflect more accurately inital “logic” flow in the `form-field.hbs` template file

for context: https://hashicorp.slack.com/archives/C05DGFEBCP2/p1751023770911809

* fixed test that was erroneously changed in previous PR due to an undetected bug

the previous code was generating a `checkbox` instead of a `toggleButton`
it’s now been fixed (see previous commit)

* Update ui/lib/core/addon/components/form-field.hbs

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

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-06-30 16:45:35 +01:00
Dylan Hyun
f85a7caa4b
[VAULT-34733] UI: Move the textarea block in FormField under the HDS block (#30762)
* [UI] Updated `FormField` to use `Hds::Form::Textarea` (#34733)

* [UI] Updated `FormField` tests for `editType` of `textarea` (#34733)

* [UI] Fixed failing test cases from `FormField` `textarea` updates (#37433)

* [UI] Update if statements in `FormField` for `textarea` (#34733)

* [UI] Update `id` from attribute to argument in `FormField` `textarea` (#34733)

* [UI] Removed checks for `this.hideLabel` and `this.labelString` (#34733)

* [UI] Standardize test cases for `FormField` `editType=textarea` (#34733)

* [UI] Update `textarea` tests to use `GENERAL` selectors (#37433)

* [UI] Update `textarea` tests to use `assert.true`

* [UI] Removed unneeded `hasVisibilityToggle` argument from `textarea` (#34733)
2025-06-26 12:41:04 -04:00
lane-wetmore
39841ff7f1
UI: A11y Fixes for malformed swagger interactives (#31034)
* update caret tab index

* make copy to clipboard accessible

* update try it out description

* add tests for a11y fixes

* lint fix

* use keys util, workaround swagger input event issue, disconnect mutation observer

* lint fixes

* lint fix
2025-06-24 16:44:39 -05: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
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
d3a604b3bc
Continued work on standardizing button selectors (#30972)
* download-button

* remaining data-test-button-

* manual cherry pick

* more

* fix test
2025-06-13 18:47:58 -06:00
claire bontempo
ad93d78ede
UI: Fix initial rendering of ToggleButton values for nested params (#30960)
* fix initial toggle of nested params

* use get from @ember/object

* add changelog

* add test for optionalText
2025-06-12 11:51:03 -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
claire bontempo
aa32c4e2ac
UI: Add assertion to FormField for @attr.name and @model args (#30788)
* test assertion for form fields

* resuse const cars

* add tests

* remove conditionals for attr.name

* link jira VAULT-36640

* test assertion for form fields

* resuse const cars

* add tests

* remove conditionals for attr.name

* [UI] removed guard for `this.hideLabel` and `this.labelString` for migrated HDS components

* reverty copy pasta

---------

Co-authored-by: Cristiano Rastelli <public@didoo.net>
2025-06-10 10:20:37 -07:00
Cristiano Rastelli
d89e69de72
[VAULT-36594] UI: add missing integration tests for FormField component (#30781)
* [UI] added missing tests for `@layout` argument of `editType=radio` (#36594)

* [UI] added missing tests for `@name` argument of `editType=radio` (#36594)

* [UI] added missing tests for `@value` argument of `possibleValue` in `editType=radio`

* [UI] added missing tests for `@editDisabled` option in `editType=radio` (#36594)

* [UI] added missing tests for `@name` argument of `editType=checkboxList` (#36594)

* [UI] added missing tests for `@value` argument of `possibleValue` in `editType=checkboxList` (#36594)

* [UI] added missing tests for `@id` argument and `name` attribute of `editType=select` (#36594)

* [UI] added missing tests for `name`, `placeholder`, `autocomplete`, `spellcheck` attributes of `editType=password` (#36594)

* [UI] added back test removed in PR 30768 (#30781)

context: https://hashicorp.slack.com/archives/CA64C81U5/p1748465244375689
2025-05-29 18:36:06 +01:00
claire bontempo
65677a9e77
UI: add legend to Hds::Form::Radio::Group (#30768)
* add legend to Hds::Form::Radio::Group

* add some tests for the radio groups in the wild
2025-05-28 21:35:35 +00:00
lane-wetmore
2e6d5b0703
UI: Replace Client Count Attribution Charts with Table (#30678)
* replace attribution charts with a table by month

* update tests to include mount_type

* fix another portion of tests that were missing secret sync stat and testing for old attribution charts

* add tests for attribution table

* add changelog and tidy

* remove remaining todos

* tidy

* reset month query param in ce

* fix tests missing month param

* add margin to pagination in accordance to helios rec

* remove query param, update change log, move table into own comp

* remove commented code

* remove month query params

* tidy

* update test mount paths

* remove unused client attribution component

* update tests
2025-05-23 15:58:48 +00:00
Shannon Roberts (Beagin)
7fb5eb72b8
[VAULT-34484] UI: Manage Namespaces: Enable Search (#30680)
* [VAULT-34484] UI: Manage Namespaces: Enable Search

* load query param in search field on page load

* add jsdocs

* add test coverage

* fix naming collision issue

* refresh namespace list on delete namespace + test coverage

* revert unnecessary check

* return model

* add changelog
2025-05-20 09:30:05 -07:00
Dan Rivera
ca778930d0
UI: Create engine list view into separate component (#30393)
* pulling engine list view into separate component

* add header

* add header x2

* rename and add test

* copyright

* removing the unnecessary, updating tracked

* tests

* adding tests

* fix tests

* wrap in enterprise?

* fix line

* add import

* fix tests pls

* move tests around

* cleanup

* some fixes
2025-05-19 18:15:07 -04:00
lane-wetmore
cdbb0c49cc
UI: Vault update client count charts to show new clients only (#30506)
* increase bar width, show new clients only, add timestamp to header, update bar color

* remove extra timestamps, switch to basic bar chart

* update docs and styling

* remove unneeded timestamp args

* show new client running totatls

* initial test updates

* update test

* clean up new client total calc into util fn

* bits of clean up and todos

* update tests

* update to avoid activity call when in CE and missing either start or end time

* update todos

* update tests

* tidying

* move new client total onto payload for easier access

* update more tests to align with copy changes and new client totals

* remove addressed TODOs

* Update comment

* add changelog entry

* revert to using total, update tests and clean up

* Update ui/app/components/clients/page/counts.hbs

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

* remove duplicate charts and update descriptions

* update tests after removing extra charts

* tidy

* update instances of byMonthActivityData to use byMonthNewClients and update tests

* Update ui/app/components/clients/running-total.ts

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

* update chart styles

---------

Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-05-19 15:57:32 -05:00
Jordan Reimer
771d8c6e7f
[UI] Ember Data Migration - Sync Destination Create/Edit (#30620)
* adds field group support to forms

* adds forms for sync destination types

* adds type for sync destination form

* adds readonlyParams to sync-destinations helper and error handling to findDestination util

* updates sync destinations create/edit routes to use forms

* updates sync create-and-edit component to use form class and api service

* updates sync destinations tests
2025-05-14 20:00:28 -06:00
Cristiano Rastelli
71254a4e0b
[VAULT-34808] UI: move the radio block in FormField under the HDS block (#30555)
* [UI] moved template logic for `radio` editType in `FormField` under the `isHdsField` block (#34742)

* [UI] added integration tests for `FormField` with editType=‘radio’ (#34742)

* [UI] fix broken tests (#34742)
2025-05-14 09:45:53 -06:00
Cristiano Rastelli
e9faec3832
[VAULT-34873] UI: improve FormField test coverage for fields migrated to HDS (#30345)
* [UI] added `data-test-form-field-doc-link` attribute to `<DocLink>` instances in `FormField` (#34873)

* [UI] renamed a few `data-test` attributes in `FormField` for consistency (#34873)

* [UI] added integration tests for `FormField` with editType='password' (#34873)

* [UI] added integration tests for `FormField` with editType='select' (#34873)

* [UI] added integration tests for `FormField` with editType='checkboxList' (#34873)

* [UI] tweakings per review comments (#34873)

* [UI] standardized template code and data attributes for `form-field` + added general selectors + updated/standardized integration tests (#34873)

* fixed a couple of broken tests (selector needed to be updated)
2025-05-13 20:59:13 +01:00
Angel Garbarino
27cbe2f168
Flaky test and info-table-row test selectors (#30525)
* selector things and addressing flakiness in secret-test

* replace and update the data test selectors for info-table-row

* fix a selector

* skip the replication test that borks it all, I have a follow up ticket and replication works still.

* remove the uneeded data-test-div thing

* missed one

* fix replication selector

* fix ci test failures

* pull in clicktrigger

* update transit test
2025-05-08 11:54:32 -06:00
Jordan Reimer
712d3338b7
[UI] Ember Data Migration - Sync Overview/Destinations (#30524)
* improves path handling in capabilities service

* converts has-capability to class helper and adds pathKey and params args

* adds api service to sync engine

* updates sync types

* improves typings in paginate-list util

* adds api client error handling to error page component

* adds api utils for sync

* updates sync overview route and page component to use api service

* updates sync destinations route and page component to use api service

* adds missing copyright header

* fixes paginate-list regression

* fixes return type for has-capability helper

* Apply suggestions from code review

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

* fixes page error tests

* resolves suggestions from review

* fixes has-capability usage errors

* fixes comment in capabilities service

* more test fixes

---------

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
2025-05-07 10:53:56 -06:00
Jaired Jawed
1150bc2c87
Replace e.keyCode with e.key (#30493)
* remove e.keyCode in favor of e.key

* remove key-codes.js

* add changelog

* update to satisfy pr comments

* changes

* changes
2025-05-05 10:06:52 -07:00
Jordan Reimer
e18b0485f5
[UI] Ember Data Migration - Config UI Engine (#30238)
* WIP updating config-ui engine to use api service and form class

* updates form-field component to support false values for radio types

* updates api-error-message util to log out error in dev env

* fixes issues in custom messages create and edit workflows

* fixes issues in api service

* updates capabilities handling

* updates to custom messages form

* removes store from custom messages tests

* removes store as dependency from config-ui engine

* removes commented out code in messages route

* updates orderedKeys to displayFields in messages page component

* removes unneccesary method var from message create-and-edit component

* removes comment about model in message details page
2025-04-28 16:09:11 -06:00
Jordan Reimer
5e9061262d
adds has-capability helper (#30328) 2025-04-24 13:50:45 -06:00
claire bontempo
03fbde820b
UI: Build Okta auth method component (#30316)
* finish okta auth method

* convert to ts

* move login fields down

* rename arg to prep for mfa business
2025-04-23 11:06:19 -07:00
Evan Moncuso
21f772d9d1
Chore/remove ember svg jar (#30181)
* bump hds to latest version

* disable ember-svg-jar

* fix mfa

* remove ember svg jar dep and cleanup

* cleanup old svgs and fix icon test

* add changelog

* rebuild yarn.lock
2025-04-23 09:27:01 -07:00
Dan Rivera
ceb9c6d062
UI: Add password field to static role creation page (#30275)
* adding password to static roles

* adding check for password rotation to disable password edit

* update field type and tests

* adding changelog

* replacing readonly with enableinput, added disable arg, test updates

* update to unless

* PR comments
2025-04-21 16:10:58 -04:00
lane-wetmore
55674ddd1f
UI: Add TOTP secrets engine (#29751)
* TOTP secrets in the web UI
---------

Co-authored-by: Moritz Pflanzer <moritz@pflanzer.eu>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
2025-04-17 12:59:45 -05:00
Jordan Reimer
46aa6454a5
[UI] Ember Data Migration - Pagination Util (#30226)
* adds paginate-list util

* adds missing copyright header

* updates pagination filter expression and updates test

* updates paginate-list lastPage calculation and updates test
2025-04-15 11:50:32 -06:00
Jordan Reimer
681a3b8563
[UI] Ember Data Migration - Form Class (#30232)
* moves validators from model-helpers to forms directory

* creates validate util and updates model-validations directory to use it

* adds form and field classes

* updates validation types

* updates validators import in test

* adds readme for forms

* Update ui/app/utils/forms/validate.ts

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>

---------

Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
2025-04-15 09:35:56 -06:00
Dan Rivera
0df36cd8a6
UI: Changing polarity for toggle logic with skip import rotation for roles (#30055)
* changing polarity for skip import toggles

* changelog & test fix

* tests

* adding to workflow test

* rename

* add opposite check and remove default

* connection change

* using beforeEach for static tests
2025-03-31 11:12:15 -04:00
Cristiano Rastelli
82fe418053
[VAULT-34821] UI: update showHelpText getter in FormField to return the helpText string (#29986)
* sample help text

* [UI] renamed `hasHelpText` getter to `helpTextString` for consistency with similar `labelString` getter (#34821)

* [UI] inverted `helpTextString` logic for consistency with `labelString` getter (#34821)

* [UI] updated `FormField` template code to follow changes introduced (#34821)

* Update ui/lib/core/addon/components/form-field.js

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

---------

Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2025-03-21 21:58:57 +00:00
Cristiano Rastelli
ba45d586f3
[VAULT-34729] UI: move the password block in FormField under the HDS block (#29962)
* [UI] updated logic in `isHdsFormField` of `FormField` to include the `password` use case (#34742)

* [UI] added large comments as visual code delimiters (#34729)

* [UI] moved template logic for `password` in `FormField` under the `isHdsField` block  (#34742)

* [UI] added `on input` handler to update model with the input value when is updated

* 

---------

Co-authored-by: Angel Garbarino <argarbarino@gmail.com>
2025-03-21 20:03:00 +00:00
Cristiano Rastelli
4850cb0779
[VAULT-34742] UI: move the generic select block in FormField under the HDS block (#29960)
* [UI] updated logic in `isHdsFormField` of `FormField` to include the generic `select` use case (#34742)

* [UI] moved template logic for generic `select` in `FormField` under the `isHdsField` block  (#34742)
2025-03-20 23:37:56 +00:00
Cristiano Rastelli
2679c42e56
[VAULT-34704] UI: update FilterInput component to use Hds::Form::TextInput (#29946)
* [UI] replaced internal implementation of `FilterInput` with equivalent `Hds::Form::TextInput::Base` (#34704)

* [UI] updated `FilterInput` instances to use correct `Hds::Form::TextInput::Base` arguments/API (#34704)

* [UI] updated `FilterInput` integration tests (#34704)
2025-03-19 20:06:16 +00:00
Cristiano Rastelli
00ef06ac58
[VAULT-34792] UI: refactor FormField template code to move checkboxList under the newly added HDS block (#29958)
* [UI] moved template logic for `checkboxList` of `FilterInput` under the `isHdsField` block (#34792)

* [UI] added handling of `label/helpText/subText/docLink` + validation errors message for `checkboxList` (#34792)

(now that is not anymore handled by the shared initial/final blocks of code)

* [UI] moved `validationWarning` block out of the conditional so it can serve both HDS and non-HDS use cases (#34792)

* [UI] removed `has-error-border` class on validation error (not conformant with HDS specs) (#34792)
2025-03-19 17:46:56 +00:00
Cristiano Rastelli
c11dfaabc7
[VAULT-34728] UI: prepare FormField template logic for migration to HDS components (#29944)
* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` controller

* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` template
2025-03-19 08:37:55 +00:00
Cristiano Rastelli
0c940f8d45
[VAULT-34703] UI: update InputSearch component to use Hds::Form::TextInput (#29949)
* [UI] replaced internal implementation of `InputSearch` with equivalent `Hds::Form::TextInput::Base` (#34703)

* [UI] fixed acceptance test for `InputSearch` (#34703)

* [UI] updated selector in acceptance test for `InputSearch` (#34703)

per PR suggestion
2025-03-18 20:40:15 +00:00