waveterm/pkg/service
Evan Simkowitz a72d3e5c7a
Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378)
When a tab was being deleted, for instance, the last block that got
deleted would cascade to delete its parent tab, even though the
`DeleteTab` function was already going to do this. This would produce DB
collisions that would put the app into a bad state. Now we pass a
`recursive` flag that is used to determine whether to perform the
recursive close of the parents.

Also updates `DeleteWorkspace` so that named workspaces will always be
deleted if they're empty, even if `force` is false
2024-12-03 18:39:06 -08:00
..
blockservice resize terminal on restoring state (#1100) 2024-10-22 12:50:44 -07:00
clientservice Workspaces are back! (#1282) 2024-12-02 10:56:56 -08:00
fileservice Create and rename files and dirs in dirpreview (#1156) 2024-12-02 22:23:44 -08:00
objectservice Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378) 2024-12-03 18:39:06 -08:00
userinputservice update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
windowservice Fix switch workspace (#1370) 2024-12-02 14:52:34 -08:00
workspaceservice Add recursive flag to prevent unwanted deletion of parents while they're already being deleted (#1378) 2024-12-03 18:39:06 -08:00
service.go Workspaces are back! (#1282) 2024-12-02 10:56:56 -08:00