Giter Site home page Giter Site logo

Comments (6)

MRayermannMSFT avatar MRayermannMSFT commented on September 23, 2024

@craxal for 1.34.0 please identify and propose existing blob container level actions that could/should support being done in batch. Good candidates are feasible if there is a supporting API or if the client logic needed to do the action in batch is fairly trivial. We can then discuss the proposed actions and how they would work, and come to a consensus if they are feasible.

from azurestorageexplorer.

craxal avatar craxal commented on September 23, 2024

Here's a breakdown of all available blob container commands and their suitability for operating on multiple containers:

Command Good Candidate? Notes
Acquire Lease ✅ Yes Should generate one activity per container.
Break Lease ✅ Yes Should generate one activity per container.
Clone ❌ No Dialog, not suitable for multiple selection.
Copy ⚪️ Maybe Changes clipboard data format.
Copy Direct Link ❌ No Odd UX, unlikely to be useful.
Create ❌ No Dialog not suitable for multiple selection.
Delete ✅ Yes Should generate one activity per container.
Generate SAS ❌ No Dialog, not suitable for multiple selections
Manage ACL ❌ No Dialog, not suitable for multiple selections.
Manage SAP ❌ No Dialog, not suitable for multiple selections.
Open ✅ Yes Should open a new tab for each container selected.
Paste ⚪️ Maybe (see Copy)
Propagate ACL ❌ No Not easy to backtrack even for single items.
Properties ❌ No Dialog, not suitable for multiple selections.
Refresh N/A Doesn't operate on selections.
Rename ❌ No Dialog, not suitable for multiple selections.
Set Public Access ✅ Yes Should generate one activity per container.
  • There are no REST APIs available that operate on more than one container.
  • Multi-container operation candidates may involve more complex activity management, such as nesting activities in a parent activity, which will be more expensive if the original operations weren't designed to handle more than one activity.

from azurestorageexplorer.

eugen-nw avatar eugen-nw commented on September 23, 2024

Excelent list, well thought through. In response to properties of multiple blobs, may want to display their total size.

That’s great that there are no REST APIs that operate on multiple blobs. That would just complicate things unnecessarily.

You may want to launch the various API calls that target the selected blobs on independent threads, wait for all to finish and gather their results. If all completed successfully, the app just goes on. Otherwise perhaps report the operations that failed so the user can retry them later.

from azurestorageexplorer.

craxal avatar craxal commented on September 23, 2024

@eugen-nw

That’s great that there are no REST APIs that operate on multiple blobs. That would just complicate things unnecessarily.

The first note is merely mentioning that orchestrating multiple operations needs to be done client-side. The complexity is there regardless of where it is implemented. The primary concern here is that, without a REST API, it's up to the client to orchestrate everything instead of the server.

You may want to launch the various API calls that target the selected blobs on independent threads, wait for all to finish and gather their results. If all completed successfully, the app just goes on. Otherwise perhaps report the operations that failed so the user can retry them later.

The second note is more a question of presentation than orchestration. Some methods of presentation will take more time than others. It may be something we can refine over time.

from azurestorageexplorer.

eugen-nw avatar eugen-nw commented on September 23, 2024

For some fun, you may want try to delete one by one 50 containers. Then you’ll see why this feature request came about.

from azurestorageexplorer.

MRayermannMSFT avatar MRayermannMSFT commented on September 23, 2024

I've made issues for these 4:

@craxal, can you please make issues also for "Open" and put it into Future? We can see if people ask for it. And after that you can close this issue as completed.

from azurestorageexplorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.