elementary / files

File browser designed for elementary OS
https://elementary.io
GNU General Public License v3.0
328 stars 77 forks source link

Filter files by color tag #1124

Open MauricioGlz opened 4 years ago

MauricioGlz commented 4 years ago

Prerequisites

Feature

I'm currently working on multiple stuff on my laptop, some stuff is work, some it's personal and some other its just junk, I have selected a color tag for the files, but I was hopping to see a way to filter by color but right now there is no such option.

Describe the solution you'd like On the side bar the color tags used by the user should appear, as an option to filter by tag.

files_tags

Existing work This i think it's possible to to on KDE dolphin and on MacOS

Describe alternatives you've considered Another alternative would be to be able to add the used color tags on the search bar when clicked, not as intuitive but if the idea of the location bar is to be used as a search function is not a bad idea to put in there.

jeremypw commented 4 years ago

We need a mechanism to filter views at all before considering which properties to filter on. At the moment Files has no facility for this - it can only sort the view. It may be possible to add another sort order (by color tag value) to the context menu without too much code change but adding fullblown filtering will take longer.

jeremypw commented 4 years ago

Sidebar inline toolbars should only contain functions that act on the sidebar.

MauricioGlz commented 4 years ago

We need a mechanism to filter views at all before considering which properties to filter on. At the moment Files has no facility for this - it can only sort the view. It may be possible to add another sort order (by color tag value) to the context menu without too much code change but adding fullblown filtering will take longer.

That sounds good for a temporal solution of this, but it could only affect the current folder, even so that I'm pretty organized with my files, it would not be bad to have a quick access to search by tag.

Hope the full filter comes on the close future, thaks for listening 👍

cmburg commented 4 years ago

We need a mechanism to filter views at all before considering which properties to filter on. I +1 on this idea and think there should be a cog icon (like in eg code editor) to be able to change settings. I had some thoughts about this too and think the filter should be "multi layered" eg:

  • folders first
  • sort by file type/...
  • sort each type alphabetically/...
  • possiblity to add more filters These filters should be draggable (or some other way to change the order) to fit the users needs the best.