jaduff / LabLog

Software for recording physical users of computers in a lab environment.
MIT License
0 stars 1 forks source link

'Deleting' labs #22

Closed jaduff closed 6 years ago

jaduff commented 6 years ago

Should labs actually be deleted? Or marked as disabled? Assuming the later, what is the best way to implement? Add a boolean property? Can a room be undeleted? What happens to the machines in a room? Can there be a 'room' called 'unassigned', which contains the machines that have no room? This room wouldn't show up on the room list, but the machines could be accessible through another means.

simonjduff commented 6 years ago

Is a lab a room, or something else? If it's a room, why have two names? Using the real world model, you can only delete a room by bulldozing it. So yes, you can delete it, but only if you really, really mean it.

jaduff commented 6 years ago

Yes a lab is a room. Lab is a subset of room in the real world. But this program LabLog is only going to handle Computer Labs. I can delete a room from this context, by removing all computers from it, and calling it a standard classroom. But your point is taken. The computers don't need to keep their events if they are moved from one room to another, because the damage logs are contextual to the room. It matters which room the damage was done in, and then which computer.