Giter Site home page Giter Site logo

Comments (4)

cal2195 avatar cal2195 commented on May 13, 2024 2

Thanks for some inspiration! 😄

After some careful thought, I propose the following new search UI:

Sidebar
folder union - prefix folder path union
folder intersection - prefix folder path intersection
folder exclusion -prefix folder path exclusion (missing currently)
filename union - full file name union (including extension & special chars)
filename intersection - full file name intersection (including extension & special chars)
filename exclusion - full file name exclusion (including extension & special chars)
tags union - tags only union - see below
tags intersection - tags only intersection - see below
tags exclusion - tags only exclusion - see below
magic search - as-you-type file & folder search (maybe tags too?)

Tags
Tags can be optional composed of any combination of the following:

  1. Auto generated filename tags - clean file names
  2. Auto generated folder tags - clean folder names
  3. Manually added tags - user added tags
  4. File extensions - lowercase file extensions (would be useful for #60)

Tags which are enabled will also affect what shows up in the word cloud. Clicking on a tag will add it to the tag fields instead of the file fields.

This will allow for the current level of excellent filtering, while adding a lot of customisable functionality and makes it easy to implement lots of types of tags, depending on the users needs. 👍

Let me know what you think!

from video-hub-app.

cal2195 avatar cal2195 commented on May 13, 2024 1

I've tried this out and it's very easy to implement without many changes! 👍 It also adds a lot more context to videos that are sorted well by folders.

One issue though - it basically turns the file filter into the magic filter as you're now filtering by both files and folders.

So, do we:

  1. Only show a generic filter (files and folders) when this feature is enabled.
  2. Track what tags are from folders, and add them to the folder filter instead. (How do you deal with tags that are present in both? Add them to both filters?)
  3. Something else I haven't thought of.

😕

PS: It might also be nice to display folder tags separately in the full tag modal, so you can easily remove tags that mark too many files (eg. a root folder than contains a lot of files, but doesn't add much value).

from video-hub-app.

whyboris avatar whyboris commented on May 13, 2024

Sorry I hadn't joined in on this deliberation before. Thank you for the PR #64 that improves part of this.

I don't have strong opinions here. I'm tempted to keep a "file only" search for only files. I'm unsure how others use the app, but I meant the "magic" filter to be the catch-all that might be enough for most people.

I also wonder if once we implement manual tagging some of these issues will go away?

from video-hub-app.

whyboris avatar whyboris commented on May 13, 2024

I like the idea of having many filters (search bars). We'll have sensible defaults so that when the users install they see ~3 most-useful ones (as far as we can guess), and they can enable the advanced search/filter options from the settings 👍

from video-hub-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.