-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: empty and restore over 1,000 items #12751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e6870d0
to
69473dc
Compare
LGTM |
export enum AssetStatus { | ||
ACTIVE = 'active', | ||
TRASHED = 'trashed', | ||
DELETED = 'deleted', | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused. Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To immediately remove assets from the trash can while they are being deleted in the background.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meh, I wouldn't have added a status column just for that. You could have had a websocket event for "deletion in progress" with a spinner or similar.
Fixes #11057
Also correctly reports the trash restore/empty count, which was previously only the number of assets loaded in the UI.