* first full pass with new filtering
* updates and making dropdowns searchable
* fixing tests
* updates, test fix
* update version dropdown
* update icons
* comments and cleanup
* filter fixes, update template and add test
* fix tests
* fix tests but not insane
* update, changelog
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* copy changes WIP
* update descriptions and headers to match latest designs
* add details to method info table
* update test assertion
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* use "redirect" instead of "afterModel"
* fix styling of radio group buttons
* remove redundant route redirect
* wrap mount dropdown in loading conditional
* reuse parent redirect logic, delete unused outlet
* minor padding adjustments
* force restart tests
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* support wide width splash page
* add enable_self_enrollment param to mfa-method config
* build and implement mfa setup-card display only component
* fix transition bug navigating away from mfa method
* rename mfa card
* WIP implement self-enrollment workflow
* wip integration tests
* convert mfa-form to typescript
* remove unused import
* show alert whenver there is a QR code
* organze mfa steps into Mfa::VerifyForm and Mfa::SelfEnroll
* WIP stretch goals of mfa redesign
* add copyright headers
* update test
* add support for multiple constraints with self-enrollment
* remove comment
* fix multi-method UX
* fix state for failed validation
* remove changing button for error states
* add error handling and validation messages
* minor cleanup for params
* first round of cleanup and reorganization
* final round of logic cleanup and organization
* touch ups after testing with live backend
* fix comment
* final test cleanup!
* Apply suggestions from code review
* improve mirage error handling to more accurately mimic real failures
* add test coverage
* make qr rendering logic easier
* address PR feedback
* submit enroll form on enter, remove code digit number from copy, reset enroll state
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* UI: General settings Integration and Acceptance Tests. (#9363)
* General settings integration tests
* Add page header integration tests
* Add page header test for plugin settings as a tab too
* More tests!
* Acceptance tests!
* Add more acceptnace tests
* Add copywrite headers
* Fix linting error
* Fix accessibility errors
* Remove unused vars
* Put mock secret engine back into beforeHook
* Add enterprise to key management test (#9392)
---------
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* include mount and ns in recovery message, fix state issue
* fix state issue
* show in prod and add changelog
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* UI: VAULT-39172 VAULT-38567 general settings followup (#8910)
* Add unsaved changes fields
* Set up default values for TTL and update general-settings
* Add form error state
* Ass TODO cmment
* Move actions back!
* Update unsaved changes state
* Address comments and add TODOs
* UI: VAULT-39264 Lease Duration TTL picker (#9080)
* Update default and max ttl to show correct default
* Query sys/internal endpoint for ttl values
* WIP ttl-picker-v2
* Intialize values and check for if ttl value is unset
* Use ttlKey instead of name
* Set name to be ttlKey
* Show validation for ttl picker
* Fix validation bugs
* Remove lease duration files
* Add copyright headers
* Initalize only when its a custom value
* Update ttl-picker to not have a dropdown
* Validate field before converting to secs
* [UI] Fix styling and update version card component (#9214)
* Fix styling and update version card component
* Update unsaved changes
* Code cleanup
* More code cleanup!
* Add helper function
* Remove query for lease duration
* Fix outstanding issues
* Captialize unsaved changes
* Update util name
* Remove action helper
* [UI]: General Settings design feedback updates (#9257)
* Small refactor based on design feedback
* More refactoring!
* Rename variables so it makes more sense!
* Remove unused modal fields
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* delete activity component, convert date-formatters to ts
* add "month" filter to overview tab
* add test coverage for date range dropdown
* add month filtering to client-list
* remove old comment
* wire up clients to route filters for client-list
* adds changelog
* only link to client-list for enterprise versions
* add refresh page link
* render all tabs, add custom empty state for secret sycn clients
* cleanup unused service imports
* revert billing periods as first of the month
* first round of test updates
* update client count utils test
* fix comment typo
* organize tests
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add error handling for permission denied
* one more for the error handling business
* remove date range alert
* add more test coverage to date formatters
* update date querying and test coverage
* one more lil cleanup
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* updates auth method options route to use form and api client
* updates auth method config and section routes to use api client and open api form
* updates display attrs for auth method configs
* fixes plugin identity util fields tests
* fixes js lint error
* updates enable-tune-form tests
* hides specific form field for jwt/oidc auth config types
* Revert "updates display attrs for auth method configs"
This reverts commit 5d382f79276f56b3fdbe64fcbc9c8365c5f4b421.
* Revert "fixes plugin identity util fields tests"
This reverts commit 6d4acbe3228c796745f2dea6279c1540bb053c62.
* fixes config section test
* bumps api client version
* updates auth config form options component to use proper endpoint
* fixes enable tune form tests
* fixes auth config form options tests
* fixes type errors in snapshot-manage component
* updates recover_source_path arg to undefined so it is not included in the query params
* fixes remaining test failures related to user_lockout_config
---------
Co-authored-by: Vault Automation <github-team-secure-vault-core@hashicorp.com>
* build mirage handler for snapshot recovery endpoints
* WIP add namespace and mount fields to read/recover form
* change option to engine object
* update badge color according to status and make loaded snapshot reqs within root ns
* wip read reqs and view
* add recovery banner and form validation
* move read view into modal
* tidying
* organize
* tests
* style fixes
* error handling
* tests
* WIP load form and update header
* styling
* update requests with snapshot params
* style fix
* yarn lock update for latest spec updates
* hide dr seconday + flesh out load reqs
* tests
* add polling for snapshot status
* disable button when not in ready state
* reset errors
* don't poll during tests
* remove todo
* test updates
* fix ns select + test
* remove todo
* Revert "Merge branch 'copy/main/VAULT-38374/build-snapshot-manage-form' into ui/VAULT-38373/build-snapshot-load-form"
This reverts commit f7cce759cda286bc7b76e84186b5497589706095, reversing
changes made to 6cba99557ce6d8478f4c875579b71be4c531522e.
* add breadcrumbs for load form
* hide shared paths on performance secondaries
* styling, tidy, mount options, engine types
* lots of tidying, add manual mount input, slower polling
* make read + recover requests in selected namespace
* link to child ns if recovering there
* test updates
* remove todos
* centralize recovery data values
* type, state and error improvements
* update FileToArrayBuffer to use HDS FileInput
* error handling
* allow manual input
* tests
* remove unneeded services
* api call update
* update radio fields to allow a badge for 404 message
* update tests
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* build mirage handler for snapshot recovery endpoints
* WIP add namespace and mount fields to read/recover form
* change option to engine object
* update badge color according to status and make loaded snapshot reqs within root ns
* wip read reqs and view
* add recovery banner and form validation
* move read view into modal
* tidying
* organize
* tests
* style fixes
* error handling
* tests
* update requests with snapshot params
* style fix
* yarn lock update for latest spec updates
* tests
* add polling for snapshot status
* disable button when not in ready state
* reset errors
* don't poll during tests
* remove todo
* test updates
* fix ns select + test
* remove todo
* styling, tidy, mount options, engine types
* lots of tidying, add manual mount input, slower polling
* make read + recover requests in selected namespace
* link to child ns if recovering there
* test updates
* centralize recovery data values
* type, state and error improvements
---------
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
* render export activity in table by client type
* refactor filter toolbar to apply filters when selected
* finish filter toolbar refactor
* finish building client-list page
* remaing test updates from the filter-toolbar refactor
* WIP tests
* finish tests for export tab!
* add test for bar chart colors
* reveal client list tab
* add changelog
* filter root namespace on empty string or "root"
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* fix chart legend order and make sync clients last
* reimplement using idx in chart legend
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* rename query params to match keys from api response
* move type guard check to util
* update color scheme
* remove passing selected namespace to export activity data request
* remove namespace and mount filter toolbar
* update response, sort by client count number
* remove default page size for testing
* implement table and filters in overview tab
* remove old query params
* cleanup unused args
* revert page header changes
* update mirage, remove month from utils
* update client count utils
* one more color!
* reset table to page 1;
* workaround to force Hds::Pagination::Numbered to update when currentPage changes
* add empty state test for no attribution
* delete unused methods
* add test for new utils
* add changelog
* rename changelog
---------
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>