Jordan Reimer 27f194f9d3
UI: Snapshot load form (#8743) (#9093)
* 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>
2025-09-03 15:36:57 -06:00
..