* 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>
* Update mfa index route beforeModel to use api instead of store
* MFA form...
* Remove mfa method
* WIP
* first arg..
* Working form submit
* Working create forms..
* Put model back in original state..
* Working edit
* Update methods list
* Working detail..
* Working infotablerows
* Use form arg instead of model
* Set up new enforcements form
* MFA enforcement...
* Update remaining pages...
* Add more util helpers
* Refactor
* Update targets initial values
* Update targets to use api
* Update useExisting
* Patch SearchSelect and fix mfa-login-enforcement-form test
* Some more tests fixed..
* Working mfa-method tests
* Passing method-form-test
* Update editDisabled
* Address feedback..
* Add attribute to data for display
* Update displayFields
* Add defaultValue
* Update tests..
* Conditionally show onClose
* Add defaultvalue
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* use loose-equal comparison so string and numeric values match
* add changelog
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* 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>
* 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>
* updating policies to use api instead of ember models
* minor fixes
* pr comments pt1
* PR comments pt2
* test fix
* updating test
* updating intefaces
* updating to remove model arg
* remove comments
* refactor for pr comments
* fixes
* form field fix
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* copies v2 form components from POC branch
* fixes issue in form-config-generator when path parameters are not defined
* adds api code-generator for snippet creation
* expands cli and terraform code generators
* updates form-config-generator to return api path from spec
* fixes issue setting field value in v2-form class
* updates form-config types
* updates v2 form and renderer components to conditional render fields
* adds v2 form apply component
* updates v2 form wizard component to support apply step
* add support for field types (text input variants, text area, checkbox, radio, masked input) and add test coverage
* Dynamic field visibility and Select field support
* [POC] Public PKI (mocked) Wizard - revert this before merging
* Revert "[POC] Public PKI (mocked) Wizard - revert this before merging"
This reverts commit 66646f1d7a71d0e67028ebcabcfe33925197ffc9.
* cleanup & address copilot pr comments
* address PR comments
---------
Co-authored-by: Shannon Roberts (Beagin) <beagins@users.noreply.github.com>
Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
* 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>
* updates oidc assignmenmts list view to use api service
* updates oidc assignments details view to use api service
* updates oidc assignment create and edit views to use api service and form class
* updates oidc assignment-form tests
* updates oidc-key-template component to use form class
* updates oidc-assignment-template component to use form class
* updates teardown in oidc-config clients tests to use api service
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* add validations to policy flyout
* add validations to policy form
* remove passing formatted policy back from policy/builder
* add changelog
* change label to "path"
Co-authored-by: claire b <68122737+hellobontempo@users.noreply.github.com>
* VAULT-44732 redirect to dashboard if user manually goes to billing route and does not have permissions
* Fix playwright tests
* VAULT-44730 update plugin label to custom plugins
* Add acceptance test for redirect
* Update labels
* Add tests
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* Update so it returns the current month and previous month data
* Add playwright tests and ensure timezone is UTC
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* updates oidc key list route to use api service
* updates oidc key details route to use api service
* updates oidc key edit and create routes to use api service
* updates oidc key clients route to use api service
* fixes oidc key tests
* removes console in oidc key-form
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates oidc scope list view to use api service
* updates oidc scope details route to use api service
* updates oidc scopes edit and create views to use api service and form class
* updates oidc scopes tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* VAULT-44326 only poll currentmonth and intial load
* VAULT-44370 API always returns the value now, so we can remove this logic
* Fix tests..
* Add logic back in
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* cleanup from clients migrations
* updates oidc provider list views to use api client
* updates oidc provider details view to use api service
* adds oidc provider form class
* updates oidc provider create and edit routes to use api service and form
* updates oidc provider-form component to support form class
* updates oidc acceptance tests
* updates oidc provider delete to use api service
* test fixes
* updates search-select fallback to check if fallback component is defined
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates oidc clients list view to use api service
* updates oidc client and client details routes to use api service
* updates form field groups component to yield out form field yields
* adds oidc client form class
* updates oidc client client and edit routes to use api service
* updates oidc client-form component to use form class and removes store/model support
* updates oidc provider client route to use api service
* updates oidc key clients route to use api service
* fixes tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* 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>
Hide the client count card from the main cluster dashboard when the
cluster is licensed for usage-based billing.
Co-authored-by: Guilherme Santos <157053549+gsantos-hc@users.noreply.github.com>
* 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>
* default to version 1 when options is returned empty for external kv mounts
* updating checks for kv, tuning version after mount, reloading plugin after tuning verision
* fix comment
* moved array to const
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* dismisses wizards in ember tests
* clears localStorage for tests that require intro pages
* fixes version assertions in reduced disclosure tests
* adds a wait for file upload in snapshots recovery test
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* removing separate hds icon class
* removing duplicate class, adding separate class to handle toolbar link misalignment
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* updating verbiage and testing with new listtable replacement
* remove and fix empty state
* cleanup
* rename
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* 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>
* 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>
* add playwright test coverage for policies
* add playwright test coverage for policy generator in kv v2
* only show intro button for acl policies
* separate ent tests
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* 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>
* 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>