Git Product home page Git Product logo

breadcrumbs's People

Contributors

finestructure avatar iainx avatar icanzilb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

breadcrumbs's Issues

feature request โ€“ filter/search by actual tags as opposed to just text search

First of all, LOVE the idea of this project. I've already found it to be useful, even though it's not much more than a couple of full-project searches at this point.

This issue started out being about my first thought and wishlist for the project, which was that it would be nice to be able to filter the TODO items by whether or not they appear in files with tests in them. I still think this is a nice idea, and I can imagine a few ways to achieve it. But I began with naively adding the following to Crumb's init:

        if location.fileURL.absoluteString.contains("Test") {
            self.tags.append(.init(text: "Tests"))
        }

This seemed to work great for a second, because any TODO in a file that contains Test somewhere in the filename did indeed have a new tag called "Tests", but I'll bet you know what I discovered next! Sure enough, clicking on that tag in the detail view didn't actually find all the items with that tag.

Eventually, I figured out the search is just plaintext filter on the raw string property of the Crumb.

Even if I went through and just manually added #tests to all my TODOs in test files, there's no way at present to filter results that do not contain the #tests tag, which is really what I'm trying to do.

So I guess that's the issue here: it would be nice if there were a way to reverse a search, or search for things that do not have a specific tag. (But I could imagine wanting to do any kind of exclusionary search.)

So, related to this, I didn't actually use tags in my TODOs before this, but decided to try some out, and discovered you cannot name tags with hyphens or underscores in them (e.g. #my-tag-name and #my_tag_name both become just #my). This is probably no big deal, but I did go in to "fix" this issue, and found the priority system making it a more complicated issue. Probably this is just a convention you use, but would be nice to see some documentation around that, maybe in the project README.

I can imagine so many other feature additions and suggestions for this project! (Integration with Trello would be neat โ€“ but probably Github Issues would be easier.)

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.