Giter Club home page Giter Club logo

Comments (5)

moughxyz avatar moughxyz commented on August 29, 2024 1

This would be a long-term add, as it's not trivial.

from mobile.

shola avatar shola commented on August 29, 2024

I've been tinkering with a prototype to deliver this feature request, and I'd like to polish it up if the behavior and implementation are on the right track. I had to make some assumptions to get a prototype working, and added code comments to explain my reasoning. Have a look at the screenshots and this prototype branch and let me know what your thoughts are.

simulator screen shot - iphone 8 plus - 2018-03-13 at 13 09 24
simulator screen shot - iphone 8 plus - 2018-03-13 at 13 25 00

from mobile.

moughxyz avatar moughxyz commented on August 29, 2024

@shola this is pretty cool! You did it with less lines of code than I'd expect too. Although, I wish we could do this for the web/desktop app before we do it for mobile. Because doing it for mobile first is going to create a barrage of "why isn't this available on desktop??" (In note searching).

My concern with this is, what if the search term is not in the first two lines? Sort of a confusing interface then. Users will begin demanding that we clip out the relevant part from the note and display it in the results, prefixed with a "..."

Also, and this is where I'm torn: I haven't yet decided that mobile will be a "power" app. I'm reluctant to add features like this because it opens the door for more and more advanced features. The number one thing about mobile for me is that it has to be easy to maintain. You could have a 5 star app otherwise, but if you add in this one feature, and it doesn't work, you'll get 1-2 stars. So it's not always worth it.

If you're up for it, I'd love your help on adding in-note search highlighting on web/desktop. I think that would be much more useful.

from mobile.

sidmint avatar sidmint commented on August 29, 2024

I want to highlight the importance of this feature first: If you have a long note and you search for a term then the whole note comes in the result without highlighting where the term is. Now this is pretty much not useful at all for long notes specially, as i can't search that small term in that long note anyway afterwards easily. And personally, since I've many long notes I use this feature and depend on it very much in Colornote currently.

from mobile.

sidmint avatar sidmint commented on August 29, 2024

I think what @shola has demontrated above may not be appropriate though still very useful for when the results are few. If the results are many then how many of them will be shown on the top? One will have to go inside the note and attend to highlighted results individually anyway, as indicated in #83. But unlike #83, one should not be forced to search inside each note individually but that should happen after searching all the notes and then opening a result-note, and then the #83 methodology must be used.

from mobile.

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.