Git Product home page Git Product logo

js-sdk's People

Contributors

albingeorge avatar amarts avatar anilguggilam avatar anuj610 avatar anupama-unbxd avatar arpangupta avatar dependabot[bot] avatar divyadaglia-unbxd avatar ganeshparsads avatar praveen2308 avatar rahulcs avatar santosh1994 avatar sharathk2u avatar uknth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

js-sdk's Issues

Recommendation Dashboard - Changing header color issue

Uncaught TypeError: Cannot read property 'colpickHide' of undefined

On giving a custom hex value and clicking on Ok, it does not get updated. The above error is thrown.

There is no tweak for this :P Please give me a solution :)

When querying for 2UTT000000(example), the search API is fired for *

This seems to be an issue with decoding URL params.

Example:

http://search.himalayastore.com/?q=2UTT000000

sdk-issue

In here, the search query is for 2UTT000000, but the search API is getting fired for *.

I debugged a bit and figured out that this happens for those sites which have noEncoding set to false by default.

In soccercorner, encoding is set, and for this, the correct search API is getting fired:

http://soccercorner.unbxdapi.com/?q=2UTT000000

To be a bit more specific, the decode function is returning the below object:

썔M: "4Ӎ4"

And because of this, even if the URL(q=2UTT000000) is not encoded, the value for decodedParamscount returns > 0.
sdk-issue-decoded

Issue with ranged filters

When we apply a ranged filter using the SDK, both the lower and upper bounds are included, whereas the upper bound is not included in the count shown in the search response's ranged filters section. Because of this, the number of products shown in the front-end after applying the ranged filter and the count shown next to the ranged filters(coming from the API's response) does not match.

For example, goto this URL.

Here, a filter is applied on price for 5 - 10 and the count in facets shows 7. However, the number of products shown in the response is 13. This response includes 5 products which have a price value of 10.

This is the search API fired for the above URL.

This should be the one fired instead.

@rahulcs @floydpraveen Can you verify this issue?

Infinite Scroll issue

Go to freecultr.com and search "universal_rk".
Scroll down multiple times to see lazy loaded results.
Scroll all the way back up.
Now click on "Price Low to High" and "Price High to Low" alternatively in quick succession.
New results are loaded.
If you try scrolling down, not all the results are showing up.
In my case, the result count shows 148 but I can only see 48 products after doing above steps.

This was the issue raised by client. Praveen did some tweak and fixed for time being. But this has to be fixed.

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.