Deck Attachment Folder with Hierarchy
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
- Please use the 👍 reaction to show that you are affected by the same issue.
- 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.
As described in #3239 the files attached to a card are stored in only one Folder. If you upload two files with the same name at different cards the latest file gets renamed with an unnecessary number in brackets. Moreover all files are in one folder which makes it really complex if you have many files attached. If you are a heavy and add only 5 files to the cards per day, the list will get very long fast.
Describe the solution you'd like
Store the files from a card in its own assigned folder. The hierarchy of the deck folder would look like:
- Deck
--- Card1 Description
--------Attachment 1
--------Attachment 2
--- Card2 Description
--------Attachment 1
--------Attachment 2
--- Card3 Description
--------Attachment 1
--------Attachment 2
This would solve the renaming issue and it is an a more uncluttured approach to store the files.
Additional context
If the descritption of the Card is used for the foldernames and the description gets edited it won't match any longer. So it needs to get renamed or we could use the card id for the name of the folder. But this gets confusing for the user too.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reading issue #3239 and tracing the existing card-attachment storage entry point; determine how per-card folders should handle renamed card descriptions or stable card IDs. Done means attachments are separated by card, duplicate names no longer require numeric suffixes, and the chosen folder naming remains consistent after edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100