You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to separate the trash into two different trashes
So you have trash from your personal drive. It’s straightforward and nothing special, you should see everything you or somebody who has access to the file deleted.
But the key point is that you are the OWNER of the file.
For the shared drive, only if you have access to it.
You should be able to view all the files, deleted from the shared drive if you had access to them before they were deleted.
When you try to empty the trash, you can delete only files with the manage access
UI UX Design
In the trash page, we need to have a selector as in the breadcrumbs menu of the path. To choose the source from where the files were deleted :
My Drive
Shared Drive
Implementation
To the DriveItem model add type = "personal" | "shared" field
Also to the DriveItem use is_in_trash flag
Personal trash it will be all the files I'm a creator with the flag is_in_trash = true, shared trash we need to query all the files type == shared" and is_in_trash = true
Only for company admins can view and modify the "shared" trash
Don't forget to modify "type" flag when moving one folder from shared to my drive and vice versa
Also modify file creation, depending where you are creating a file in your personal drive or in the shared one
Restore from the trash function also should be updated
Update the current ones and wright new tests
Filter the current children and check that there is no files in the trash for the current "browse' query
Update the search, and filter files that are in the trash, or what is better, add the flag is_in_trash to the search index, and do not return files that are in trash
Update the logic for the widget with the size of the "Trash"
The text was updated successfully, but these errors were encountered:
User story summary
Definition
UI/UX Design
Definition
We need to separate the trash into two different trashes
But the key point is that you are the
OWNER
of the file.You should be able to view all the files, deleted from the shared drive if you had access to them before they were deleted.
When you try to empty the trash, you can delete only files with the
manage
accessUI UX Design
In the trash page, we need to have a selector as in the breadcrumbs menu of the path. To choose the source from where the files were deleted :
Implementation
The text was updated successfully, but these errors were encountered: