Code Monkey home page Code Monkey logo

Comments (6)

matthewwalk avatar matthewwalk commented on September 28, 2024

NOTE: This will not be an actual page, it will be a component+vuex combo to filter product list and recommendations by name

from basedcode.

AkinAD avatar AkinAD commented on September 28, 2024

Note for Future Akin: An autocomplete textfield component that renders relevant products in the top 2 elements in the search list and then bottom 2 are recommended components similar to/ based on what user is typing [1]

End result: when enter is pressed it leads the user to the browse page now filtered with all products matching search query and a couple recommendations at the bottom

Alternate End Result: User selects an item from the autocomplete search list and has the option to add to cart ( directly from the search bar)

[1]
image

image

from basedcode.

AkinAD avatar AkinAD commented on September 28, 2024

Search bar v1

image

Search bar v2

image

I'm thinking this implementation is better because

  1. We don't have images for our items,
  2. There's no point having a products page-- we already don't have one anyway
  3. Considering the above two points, what would be the point of filtering the browse page if they can just do whatever they want to do from the search bar? Search for the item and directly add it to cart
    @matthewwalk @daniel-kozlovsky thoughts?

Also Question: Should the search bar be within the nav bar or just browse page? nav bar seems more intuitive but idk

from basedcode.

AkinAD avatar AkinAD commented on September 28, 2024

Also in terms of vuex, it is set up to pull from the recommendations store. so this can be easily switched to our " all items" endpoint. other wise, no need to store anything else if they can directly add to cart and we wont be bothering to re render the browse page based on input. but again. lemme know your thoughts

from basedcode.

AkinAD avatar AkinAD commented on September 28, 2024

updated to
image still in progress

from basedcode.

AkinAD avatar AkinAD commented on September 28, 2024

its done children

from basedcode.

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.