ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
37 stars 4 forks source link

Recycle bin 🗑 for scripts, endpoints and tags #982

Open DataTraveler1 opened 2 years ago

DataTraveler1 commented 2 years ago

Summary of the new feature / enhancement

It would be ideal if, after accidentally deleting a script, endpoint or tag from the UI console that it would be placed into a recycle bin where it could be retrieved up to X amount of days later.

Proposed technical implementation details (optional)

When a script, endpoint or tag is deleted it could have a unique string appended to the name to ensure that it will not cause any duplicate/collision issues upon being restored.

For example: Test.ps1 becomes Test_1645600000.ps1 when placed into the Recycle Bin

adamdriscoll commented 2 years ago

I like this idea! 👌

arunrajann commented 2 years ago

May be move it to a special folder named 'Recycle Bin'

DataTraveler1 commented 2 years ago

👀