Give each action a clear meaning
Imagine a Budapest lighting equipment hire business retiring an older lighting kit. Staff want it removed from new booking choices, while earlier bookings must still identify the equipment supplied. For this workflow, define archiving as keeping the record with a retired status. Hiding a row through a filter is a separate display choice.
Reserve deletion for an agreed removal operation. Explain whether the app offers recovery, for how long and to whom. Neither the word ‘delete’ nor ‘archive’ defines those rules by itself. Keeping retired records supports historical work, but requires explicit filters, status labels and maintenance of a growing archive.
Decide what happens to linked work
List the records that depend on the kit: previous bookings, future reservations, inspection notes and attachments. Give each a deliberate outcome. Past bookings should retain readable equipment details; an identifier pointing to a missing record is not enough. Decide which details describe the original booking and which reflect the equipment’s current state.
Retiring the kit should not silently cancel next week’s reservation or replace it with another item. Show affected future work and require an agreed resolution, such as selecting replacement equipment before retirement can finish. In Cloud Firestore, ordinary document deletion through the SDK leaves subcollection documents intact. Ask the team to verify your application’s complete removal scope.
Make confirmation describe the actual outcome
W3C’s error-prevention guidance describes reversal, checking or confirmation as alternatives for protecting important data changes. For this project, show the kit’s name and reference, affected bookings, what remains and any recovery limit before staff commit. Use a specific action label such as ‘Archive lighting kit’ and an obvious way to cancel.
If removal involves several steps, distinguish a request accepted from an operation completed. Show unresolved work when a step fails. Staff should be able to find the recorded outcome after reopening the app, without guessing whether repeating the action will finish it or cause another change.
Treat restoration as a defined operation
A restore button needs its own rules. For this business, restoring an archived record could make its details editable again while leaving the kit unavailable for hire until staff approve availability separately. It should not reopen completed bookings or recreate attachments that were removed by a different operation.
Check conflicts before restoring: an equipment code might now belong to another kit, or a linked record might have changed. Explain any blocked restore and the next step. If recovery requires developer assistance instead of a staff control, state that clearly; do not present an untested backup as an immediate undo.
Rehearse the lifecycle before release
Use fictional equipment and bookings to approve the behaviour. Inspect the resulting records as well as the messages on screen.
- Archive a kit and check new booking choices on web and mobile.
- Reopen past bookings and confirm their equipment details remain readable.
- Try retiring a kit with future reservations and resolve the warning.
- Cancel confirmation and verify that nothing changed.
- Simulate a failed removal step and inspect its recorded outcome.
- Restore a record with conflicting dependencies and check availability separately.