Giter VIP home page Giter VIP logo

lexico's Introduction

Hey there ๐Ÿ‘‹
I'm

About ๐ŸŒ

  • I build innovative and useful products on the web with great user experience.
  • I'm curious about how things work and often try to learn by breaking them apart.

Work ๐Ÿ”ญ

Current Interests ๐ŸŒฑ

Love taking about ๐Ÿ’ฌ

  • Frontend development
  • Building products
  • Open source

Get in touch ๐Ÿ“ซ

Fun facts โšก

  • I occasionally work on 3D graphics with Blender
  • I enjoy playing Tennis ๐ŸŽพ

Amazing folks who sponsor my work ๐Ÿ’š


Shivay Lamba

Aniruddha Mysore

lexico's People

Contributors

blenderskool avatar

Stargazers

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

Watchers

 avatar  avatar

lexico's Issues

Exclude operation does not work as expected when explicit AND is not used

For query hello world, it is treated as hello AND world.

For query !(hello world), it should be treated as !(hello AND world) which boils down to !hello OR !world.
But when testing this, it gets interpreted as !hello AND !world which is incorrect.

This part of the code seems to be causing the above issue.
https://github.com/blenderskool/seekr/blob/5fc6f4d4b2bdd4cb7186824ba264f02a05dc46a4/src/search.ts#L96-L99
The and operation here should change to or if the exclude flag is true. Similar to how this conversion happens while applying AND and OR operators.

Setup testing

Setup testing with jest and typescript. Once this is done, we can start adding small tests to the project.

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.