Skip to content

Improve queueing for deletion #45281

Open

Description

@nfebe

Bug description

See : #45237 (review)

  • Update frontend to provide feedback about not closing browser/window when multiple delete.
  • Explore means to queue deletion in the backend jobs.

Activity

  1. added
    0. Needs triage
    on May 13, 2024
  2. self-assigned this
    on May 13, 2024
  3. changed the title [-][Bug]: Improve queueing for deletion[/-] [+]Improve queueing for deletion[/+] on May 13, 2024
  4. added and removed
    0. Needs triage
    on May 13, 2024
  5. skjnldsv commented on May 14, 2024

    @skjnldsv
    Member

    Preventing closing with onbeforeunload is the cleanest way imho

  6. AndyXheli commented on May 17, 2024

    @AndyXheli
    Contributor

    I read a previous comment that once this operation starts a user needs to leave the windows open I think it would be more productive that once a users starts this operation they can leave the page and do other tasks and not wait for this job to complete. The job should be completed in the backend. Currently, that's how Google Drive, Onedrive, etc. You don't need to keep the windows open or two stay on the delete page. Once the delete operation starts, you can leave that page and do other stuff.

  7. skjnldsv commented on May 22, 2024

    @skjnldsv
    Member

    Yep, there is currently no asynchronous operations.
    That is kind of a different topic

  8. AndyXheli commented on May 22, 2024

    @AndyXheli
    Contributor

    Do you think that would be something that will get implemented?

  9. skjnldsv commented on May 22, 2024

    @skjnldsv
    Member

    @AndyXheli at some point I hope so, that would allow to only send one request for a batch of actions.
    Then we would not even need to throttle them. But we're using webdav, so we would have to create our own plugin or implementation for this. I think there is an opened issue about this already :)

  10. added
    0. Needs triage
    on Sep 16, 2024
  11. susnux commented on Dec 1, 2026

    @susnux
    Contributor

    Status update on current master:

    Done:

    Still missing:

    The warning is a nice first contribution: in apps/files/src/actions/deleteAction.ts, register a beforeunload handler when the queue becomes active and remove it when it is idle again, with a test.

  12. added
    good first issue
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triageenhancementfeature: davfeature: filesystemgood first issueperformance 🚀

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions