* wrap ember-power-select overrides in search-select css selector
* move class accidentally applied to nested block
* make renderInPlace default to true
* 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
* 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
* 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
* 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
* [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>
* [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)
* [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>
* [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)
* 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>
* [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>
* 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
* 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>
* [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
* 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
* 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>
* 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
* [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)
* [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)
* 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
* 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>
* 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
* 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
* 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
* 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>
* 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>
* [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>
* [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)
* [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)
* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` controller
* [VAULT-34728] UI: added `isHdsFormField` logic to the `FormField` template
* [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