nextcloud / nextcloud/socialsharing

Make available for use by other apps

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
26
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hello,

From what I understand, this app is only being used for file sharing (OCA.Sharing is undefined in other apps).
It would be great if it could be used for other apps.

For instance, I had to use it in the Nextcloud News app, while adding a feature to share articles on social media. However, I had to check if the app was enabled via the OC global, more specifically under OC.appswebroots. I also had to import the icons and generate the links manually.
View code

I think it would be great if these apps were fully usable by other apps, specifically because code and assets could be reused to avoid redundancy.

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 reviewing how OCA.Sharing is exposed and how the News app uses OC.appswebroots in ShareController.js, including its manual icon and link handling. Define what reusable app interface and assets are needed so other apps can use social sharing without those checks and manual imports; done means the intended cross-app usage is available and documented by the implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
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.