nextcloud / nextcloud/cookbook

Allow storing arbitrary files with the recipe

Open
#568 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

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

Someone who downloads recipes in PDF format would like to store these PDFs with the recipe so they don't get lost. Of course one could just copy and paste the text, but since the PDFs are designed with love it would be a pity to discard them.

Describe the solution you'd like

A simple solution like this could work:

  1. #443 is done so multiple images can be uploaded.
  2. The image upload dialogue allows arbitrary files instead of just images.
  3. Any attachment that doesn't seem to be an image might be stored as a MediaObject and is shown below the image(s) in a line like this:

Attachments: file1.pdf, file2.doc

Describe alternatives you've considered

  • Discard the designed PDF files.
  • Store them somewhere else and mention it in the instructions.
  • Save the PDF as PNG and attach it (not ideal for printing).

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

Review issue #443 and the current image-upload dialogue first. The work is done when non-image files such as PDFs can be stored with a recipe and displayed as attachment links below the recipe images, using MediaObject for applicable attachments.

Written by the indexing model from the issue text.

Assessment

Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.