Skip to content

Enable restoring PVs #49

@YektaY

Description

@YektaY

Currently squirrel frontend only has a placeholder for restoring PVs.

The backend does have an API Endpoint: POST /v1/snapshots/{snapshot_id}/restore
This is untested.
the restore logic in the backend can be seen at app/services/epics_service.py

placeholder in src/routes/snapshot-details.tsx:

  const handleRestore = useCallback((pvs: PV[]) => {
    console.log('Restoring PVs:', pvs);
    alert(`Restoring ${pvs.length} PV(s) - This feature is not yet implemented`);
  }, []);

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions