nextcloud / nextcloud/server

Handle the fileAction parent property in the multiple files action bar too

Open
#45,523 0 comments 0 reactions 1 assignee View on GitHub

@StCyr is already working on this.

Since May 27, 2024.

1. to develop enhancement
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
fileActions cannot be grouped by parent in the multiple files action bar.

That's, when you create lots of fileActions, you can group them under a single parent in the file action menu. But, this doesn't work in the multiple files action bar:

Describe the solution you'd like
Handle the parent property in the multiple files action bar too

https://nextcloud-libraries.github.io/nextcloud-files/classes/FileAction.html#parent

Describe alternatives you've considered
None

Additional context
Here's an example with an app registering lots of fileActions:
image

Here's the single file menu, you can see it's much better organized:
image
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.