Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folders for Directus Files #708

Closed
benhaynes opened this issue Sep 7, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@benhaynes
Copy link
Member

commented Sep 7, 2018

🚨 MIGRATED FROM REQUESTS.GETDIRECTUS.COM 🚨

Folders for Directus Files

πŸ‘ = 46

Created 1 year ago by @benhaynes


@benhaynes – (1 year ago)

On the files page, currently all files are shown in one large list – ideally we should add folders to this view. Basically I imagine there are new records in the directus_files that are "folders" instead of files:

Something like: We add a "folder_parent" column to "directus_files" – every folder has this value set to NULL (root) or another folder (nested folder), and all files have it set to the folder that it is contained within.

Visually these folders should have some meta data displayed on them (number of files, etc) and all files and folders should be drag&droppable.


@vtmx – πŸ‘ (8 months ago)

Totally agree.


@laszlokorte – (4 months ago)

You might consider using a so called "closure table" for storing parent/child relationships instead of just a parent_id column.

@benhaynes

This comment has been minimized.

Copy link
Member Author

commented Oct 1, 2018

Duplicate of #228

@benhaynes benhaynes marked this as a duplicate of #228 Oct 1, 2018

@benhaynes benhaynes closed this Oct 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.