mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[PR #359] [MERGED] Add soft-delete support for system maintenance types #1012
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#1012
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/359
Author: @Keybored02
Created: 2/13/2026
Status: ✅ Merged
Merged: 2/13/2026
Merged by: @maziggy
Base:
0.2.0b← Head:0.2.0b📝 Commits (3)
8b0895fAdd soft-delete for system maintenance tasksc40447bMerge branch '0.2.0b' of https://github.com/Keybored02/bambuddy into 0.2.0b79f68a2Merge branch 'maziggy:0.2.0b' into 0.2.0b📊 Changes
11 files changed (+135 additions, -15 deletions)
View changed files
📝
backend/app/api/routes/maintenance.py(+28 -4)📝
backend/app/core/database.py(+7 -0)📝
backend/app/models/maintenance.py(+1 -0)📝
backend/tests/unit/test_code_quality.py(+1 -1)📝
frontend/src/api/client.ts(+2 -0)📝
frontend/src/components/ConfirmModal.tsx(+14 -2)📝
frontend/src/i18n/locales/de.ts(+4 -0)📝
frontend/src/i18n/locales/en.ts(+4 -0)📝
frontend/src/i18n/locales/it.ts(+4 -0)📝
frontend/src/i18n/locales/ja.ts(+4 -0)📝
frontend/src/pages/MaintenancePage.tsx(+66 -8)📄 Description
Description
Added soft-delete support for system maintenance types so default tasks can be deleted without errors and later restored; deletes now mark
is_deletedfor system types and filter them out of maintenance queries. Helpful with printers that require more specific maintenance tasks, tidies up the UI, but still allows for full restore.Type of Change
Changes Made
ConfirmModalUnicodeDecodeErrorfailures.Screenshots
Testing
Checklist
Additional Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.