refactor: replace delete/undo flow with close/reopen endpoints
- POST /web/cases/:id/delete renamed to /close; emits CaseClosed. - New POST /web/cases/:id/reopen removes the marker; emits CaseReopened. - Bulk action "delete" renamed to "close"; the shared closed_at timestamp still groups the selection for future UI features. - POST /web/cases/undo-delete removed along with summarize_latest_close_group, latest_close_timestamp and restore_close_group. Per-case reopen makes the group-undo banner obsolete. - CaseEventKind::CaseDeleted -> CaseClosed, CaseRestored -> CaseReopened. - Templates updated to Lucide trash-2 icon, German label "Fall schliessen". - Tests migrated; delete_watermark_test.rs moved to close_watermark_test.rs.
This commit is contained in:
@@ -30,8 +30,8 @@ pub enum CaseEventKind {
|
||||
OnelinerUpdated,
|
||||
AnalysisQueued,
|
||||
DocumentReady,
|
||||
CaseDeleted,
|
||||
CaseRestored,
|
||||
CaseClosed,
|
||||
CaseReopened,
|
||||
CaseReset,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user