Skip to content
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

File actions menu: Allow user to apply action on multiple files at once #179

Closed
StefanRichterHuber opened this issue Dec 22, 2023 · 1 comment
Labels
enhancement New feature or request Question for Meeting To discuss with engenieers

Comments

@StefanRichterHuber
Copy link

Describe why it is important and where it will be useful

Currently one can apply a file menu action only for one single file. It would be useful for the user to select multiple files and apply the file menu action on all at once.

Describe your proposed solution

To not change the protocol, trigger the configured action handler for each file in parallel.

If additions to the protocol are considered, add something like an optional multiselectActionHandler to the registration of a File Actions Menu, which is used when multiple files are selected and which receives a list of files at once. This would allow for advanced use cases like merging multiple files.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

@andrey18106 andrey18106 added enhancement New feature or request Question for Meeting To discuss with engenieers labels Dec 22, 2023
bigcat88 pushed a commit that referenced this issue Jan 8, 2024
Partially related to: #179 (we'll implement separate optional multiple
files handler later).

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
@bigcat88
Copy link
Member

bigcat88 commented May 8, 2024

This PR implements it: #284

Now it is possible to process in one endpoint:

  1. one file
  2. multiple files
  3. optionally ask for redirect to the ExApp TopMenu page(UI) with fileID's

If for ExApp there is need to process files in parallel, ExApp can handle on it is on it's own by creating threads/spawning subprocesses/etc..

@bigcat88 bigcat88 closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Question for Meeting To discuss with engenieers
Projects
None yet
Development

No branches or pull requests

3 participants