nextcloud / nextcloud/mail

Support sharing folders with "Add share link from Nextcloud Files" action

Open
#7,387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature:integration
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Is your feature request related to a problem? Please describe.

I presume that the file-picker is the responsible component for this but:

I think there it would be reasonable to let users share folders as links too when you click "Add share link from Nextcloud Files".
I mean if I have ordered the stuff I need to share in a directory anyway (because it's not one-two files) that's way easier.
Technically the string doesn't say file, so I presumed creating a link to folder also work.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

#6080 Would make this harder I think, as folders cannot be added as an single attachment.
So if you make share-link and add-attachment the same action - initially -, the file picker would need to have different possibilities based on selection is a folder or file.
Okay, folders could be either attached as:

  • attaching all their items - recursively! - which makes file picker even more complicated, and the share loses it hierarchical metadata!
  • attaching as zip - maybe okay, but that's another complication anyway. And then let's support creating password protected zips, compression level and different archives, etc.

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.

Research direction

Start by tracing the "Add share link from Nextcloud Files" action and the referenced Nextcloud file-picker component. Read issue #6080 for the attachment constraints, then clarify whether folder selection should create a share link independently or also act as an attachment. Done requires an agreed folder-link behavior and corresponding implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.