1 Commits

Author SHA1 Message Date
Vault Automation
9538905b86
UI: Build snapshot manage form (#8675) (#8957)
* 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>
2025-09-03 12:22:30 -06:00