CUB-36: Add delete confirmation dialog for filament spool removal #19
Reference in New Issue
Block a user
Delete Branch "agent/rex/CUB-36-delete-confirmation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds a delete confirmation flow for filament spool removal in the Extrudex frontend.
Changes
DeleteFilamentDialogComponent— Angular Material Dialog displaying spool details (material, brand, color, serial, remaining weight, status) with Cancel/Confirm buttonsFilamentService— injectable service withdeleteFilament(id)callingDELETE /api/spools/{id}andgetFilaments()for data fetchingFilamentTableComponent— addedactionscolumn with delete icon button, opens confirmation dialog, calls DELETE API on confirm, removes row from table on success, shows snackbar feedbackapp.config.ts— providesHttpClient(withFetch) andAnimationsAsyncfor Material Dialog/Slide animations@angular/animationsdependencyUX
Linear
Closes CUB-36