feat(wizard): Add restore from policy version #15

Merged
ahmido merged 1 commits from feat/011-restore-run-wizard-session-1767185846 into feat/011-restore-run-wizard 2025-12-31 19:02:29 +00:00
Owner

Implements the "Restore via Wizard" action on the PolicyVersion resource.

This allows a user to initiate a restore run directly from a specific policy version snapshot.

  • Adds a "Restore via Wizard" action to the PolicyVersion table.
  • This action creates a single-item BackupSet from the selected version.
  • The CreateRestoreRun wizard is now pre-filled from query parameters.
  • Adds feature tests to cover the new workflow.
  • Updates tasks.md to reflect the completed work.

Summary

Spec-Driven Development (SDD)

  • Es gibt eine Spec unter specs/<NNN>-<feature>/
  • Enthaltene Dateien: plan.md, tasks.md, spec.md
  • Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation)
  • Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert

Implementation

  • Implementierung entspricht der Spec
  • Edge cases / Fehlerfälle berücksichtigt
  • Keine unbeabsichtigten Änderungen außerhalb des Scopes

Tests

  • Tests ergänzt/aktualisiert (Pest/PHPUnit)
  • Relevante Tests lokal ausgeführt (./vendor/bin/sail artisan test oder php artisan test)

Migration / Config / Ops (falls relevant)

  • Migration(en) enthalten und getestet
  • Rollback bedacht (rückwärts kompatibel, sichere Migration)
  • Neue Env Vars dokumentiert (.env.example / Doku)
  • Queue/cron/storage Auswirkungen geprüft

UI (Filament/Livewire) (falls relevant)

  • UI-Flows geprüft
  • Screenshots/Notizen hinzugefügt

Notes

Implements the "Restore via Wizard" action on the PolicyVersion resource. This allows a user to initiate a restore run directly from a specific policy version snapshot. - Adds a "Restore via Wizard" action to the PolicyVersion table. - This action creates a single-item BackupSet from the selected version. - The CreateRestoreRun wizard is now pre-filled from query parameters. - Adds feature tests to cover the new workflow. - Updates tasks.md to reflect the completed work. ## Summary <!-- Kurz: Was ändert sich und warum? --> ## Spec-Driven Development (SDD) - [ ] Es gibt eine Spec unter `specs/<NNN>-<feature>/` - [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md` - [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation) - [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert ## Implementation - [ ] Implementierung entspricht der Spec - [ ] Edge cases / Fehlerfälle berücksichtigt - [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes ## Tests - [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit) - [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`) ## Migration / Config / Ops (falls relevant) - [ ] Migration(en) enthalten und getestet - [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration) - [ ] Neue Env Vars dokumentiert (`.env.example` / Doku) - [ ] Queue/cron/storage Auswirkungen geprüft ## UI (Filament/Livewire) (falls relevant) - [ ] UI-Flows geprüft - [ ] Screenshots/Notizen hinzugefügt ## Notes <!-- Links, Screenshots, Follow-ups, offene Punkte -->
ahmido added 1 commit 2025-12-31 19:02:19 +00:00
Implements the "Restore via Wizard" action on the PolicyVersion resource.

This allows a user to initiate a restore run directly from a specific policy version snapshot.

- Adds a "Restore via Wizard" action to the PolicyVersion table.
- This action creates a single-item BackupSet from the selected version.
- The CreateRestoreRun wizard is now pre-filled from query parameters.
- Adds feature tests to cover the new workflow.
- Updates tasks.md to reflect the completed work.
ahmido merged commit e19aa09ae0 into feat/011-restore-run-wizard 2025-12-31 19:02:29 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ahmido/TenantAtlas#15
No description provided.