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

Add optional description for folders #2426

Closed
philip-n opened this issue Nov 30, 2016 · 13 comments
Closed

Add optional description for folders #2426

philip-n opened this issue Nov 30, 2016 · 13 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: files

Comments

@philip-n
Copy link

Sometimes it would be nice to be able to add a description/annotation to folders, which would then be displayed in the nextcloud clients. Basic use cases that I encountered are folders which are shared between multiple persons (description of content or usage rules) and special folders (use description as a reminder e.g. not to rename folders that are used by apps).

Frontend realization

In the different nextcloud views (e.g. browser-based, mobile clients, ...) the description is shown as smaller text below the folder name. Editing is performed in the same way as tags are added in the browser-based view (and maybe in mobile clients in future releases?).

Backend realization

Technically, the description might be stored as a yaml-file "folder.cnf" in the according folder, similar to the way descriptions are handled in the gallery app [1]. This would allow to introduce additional features later that need a per-folder way of storing information (e.g. selectable folder icons, marking folder as "always on top of folder list", ...).

[1] https://docs.nextcloud.com/server/10/user_manual/files/gallery_app.html

@manicmarvin
Copy link

manicmarvin commented Jan 3, 2017

I would suggest that this feature not be restricted to folders, but apply to all file types. Enhancing the amount of metadata we can attach to each file/folder would vastly improve collaborative and archival use-cases.

There was an owncloud plugin that was never maintained that attempted to do this. It's here.

@MorrisJobke MorrisJobke changed the title [Feature] Add optional description for folders Add optional description for folders Apr 5, 2017
@MorrisJobke
Copy link
Member

cc @karlitschek @oparoz @rullzer @icewind1991 @schiessle @nextcloud/sharing Opinions on this?

I would say, that this is a bit too much for all folders in the beginning, but maybe we start with shared links and then enhance.

@MorrisJobke MorrisJobke marked this as a duplicate of #5716 Jul 18, 2017
@karlitschek
Copy link
Member

not a bad idea. But might be trick to show on some platform. (Desktop/WebDAV/...)

@schiessle
Copy link
Member

schiessle commented Jul 18, 2017

Just a idea. Maybe we could use the comments feature for it and always show the last comment on the file listing? This would also make comments more visible and easier to discover... To always show a specific comment we could add the possibility to pin a comment. If there is a pinned comment we will show this, if not we show the latest comment.

@MorrisJobke
Copy link
Member

cc @nextcloud/designers

@jancborchardt
Copy link
Member

Regardless of how we implement it, we need to make sure it works cross-platform. Proper integration into the desktop will already be difficult. On mobile, the comments should be easy to access anyway, but are still todo also. So we’re getting a bit ahead of ourselves by introducing another thing.

But in general yes, using comments for any further explanation seems to make the most sense.

@MorrisJobke
Copy link
Member

ref #2019

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@jonathanpantall
Copy link

jonathanpantall commented Jun 21, 2018

I'll go ahead and chime in here. We have a user that has a set / generic folder structure for projects. When he shares a sub-folder out to a client, he would like the ability to display the full folder path to the external user so they have context of what they're viewing.

I'm not sure if this has been requested as an enhancement yet or not.

A folder description field could fit this purpose. Maybe if it was blank it could display the full folder path to the external share screen.

Thanks much!

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Jun 21, 2018
@jancborchardt
Copy link
Member

@jonathanpantall this is a different issue though as it relates to sharing. Please open a separate issue. :)

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jul 22, 2018
@mmuman
Copy link

mmuman commented Sep 8, 2018

Ideally this (and many other things) should be properly exposed on client side using xattrs when supported. For example, on Linux, FreeDesktop has a proposed spec for those, including user.xdg.comment. Just sayin…
(but I'd rather see proper xattr support when syncing files first, as BeOS and Haiku user I don't really see the point of porting the tools if they don't support what we so extensively use… 😅)

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Sep 8, 2018
@spoorun
Copy link

spoorun commented Dec 31, 2018

See #4216 #4217
It's still quite disappointing that Nextcloud lose/destroy xattr data (extended attribute data, such as tags and descriptions) when syncing files from, for example, Linux distributions where Users carefully tag files (such as under KDE).

@wiswedel
Copy link
Contributor

You might want to take a look at https://apps.nextcloud.com/apps/files_readmemd

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Aug 20, 2020
@skjnldsv
Copy link
Member

Implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: files
Projects
None yet
Development

No branches or pull requests