Git Product home page Git Product logo

best-buy-search-project's Introduction

๐ŸŒ Socials:

Portfolio LinkedIn Stack Overflow

๐Ÿ’ป Tech Stack:

C# React Node Python MySQL MongoDB AWS C++ CSS3 HTML5 JavaScript .Net Bootstrap Django

Other Skills:

Linux Docker Git Tensorflow Unity Blender

best-buy-search-project's People

Stargazers

 avatar

Watchers

 avatar  avatar

best-buy-search-project's Issues

[ENHANCEMENT] Remove amt of purchased item

Is your feature request related to a problem? Please describe.

  • yes, when someone checks out with items in their cart, the store's item counts aren't removed from.

Describe the solution you'd like

  • Remove amt of purchased item from database item count

Additional context

  • if item count reaches zero, shouldn't be displayed on website

Development

    • ...

[ENHANCEMENT] Enable purchasing item counts

Is your feature request related to a problem? Please describe.

  • yes, only one item can be purchased at once.

Describe the solution you'd like

  • can specify how many of an item to add to cart
  • can also remove how many of an item from the cart

Development

    • ...

[ENHANCEMENT] Allow login/account creation with email

Is your feature request related to a problem? Please describe.

  • Yes, username login is outdated

Describe the solution you'd like

  • Allow login/account creation with email

Additional context

  • Would allow for easy password reset implementation

Development

    • ...

[ENHANCEMENT] Inform visitors of the website

Is your feature request related to a problem? Please describe.

  • Yes, ppl don't know what data's fake and that the checkout page is broken

Describe the solution you'd like

  • append (fake) to the end of each faked item's name
  • display a warning for the user on the checkout form page

Describe alternatives you've considered

  • display "fake" below each faked item

Development

  • append (fake) to the end of each faked item's name

    • looks bad
    • instead, appended "_fake" to end of each faked image name
  • display info for the user on the checkout and login form pages

    • login page:
      • said act req'd to access site
    • checkout page:
      • said checkout form incomplete but cart works

[ENHANCEMENT] Add random pics to faked data

Is your feature request related to a problem? Please describe.

  • none of the faked data comes with pics, even if unrelated

Describe the solution you'd like

  • To grab random pics off the internet to correspond with the faked data

Describe alternatives you've considered

  • Leaving them without pictures
  • not publishing website with faked data

Development

  • Add random pics to faked data

    • followed tutorial here: https://www.youtube.com/watch?v=o67xQ9-usRU
    • essentially, the image faking method pulled a random img url from the internet
      • needed to use an HTTP get request to pull the actual img rep
      • then write that img into the media/images folder
      • finally use the file's name and /images/ as the val within DB
    • was able to pass in desired image width and height too
    • could only find JS version that pulled diff classes of images
      • wanted commerce/business images, not just any images
      • no Python equivalent discovered
  • remove old, incorrectly faked data

    • had to del product-customer entries, then del vendor-product entries
    • couldn't do through a user since all products registered under unknown someone
      • possible first registered user?
      • maybe an inaccessible admin user act
      • actually, I don't think it links to anyone
      • it links to a randomly created user with the password "test"
    • then del'd saved image in the media images folder
    • none of the randomly created users have been being deleted every fake data deletion cycle
      • should rlly automate this but wouldn't know how
  • publish website with faked data

    • created 51 items to test each page's pagination
      • rlly only need more than 20
      • only page that paginated by 50 is vendor editing their own prods
        • can't test that w/ test data
    • created 25 items instead
      • less worry ab not enough storage on hosting website
      • and less to push to git
    • should be able to git pull changed code down using the bash console
      • views, vendor prod add, del, and edit all have changes already on them
      • doesn't matter ig
      • stashed the changes, pulled, tried to apply them and it says no stash to apply
    • had to copy the prod_settings into settings file
      • then worked brilliantly
    • Only thing that didn't work was creating test data
      • database entries weren't passed in, but media folder images were
      • can possibly run command in pythonanywhere to create new test data?
        • fails bc urls being requested aren't on PythonAnywhere's whitelist and not paying
    • to get test data working had to:
      • export local vendor-product table
        • rename its table name to BestBuySearch_... bc Linux is case sensitive
      • export local user table entry that was used to create the test data
        • should have same user number as in vendor-product table
        • rename its table name to BestBuySearch_... bc Linux is case sensitive
      • run the "insert into" clause from exported sql within PythonAnywhere BestBuySearch DB
        • first for user entry
        • then for vendor-product table entries
        • needs to be in this order bc of foreign key constraint on vendor-product entries

[BUG] Login page buttons resize poorly

Describe the bug

  • Login page buttons resize poorly

To Reproduce
Steps to reproduce the behavior:

  1. shrink the website's window horizontally
  2. Notice how the login button txt size doesn't change but the button size does

Expected behavior

  • text size should shrink too or button size shouldn't shrink

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome

Development

  • replace buttons
    • scrapped whole button infrastructure
    • made my own container for each button, changed their colors, and linked them

[BUG] Footer doesn't display properly

Describe the bug

  • Footer doesn't stay locked to bottom of page
  • Footer "Privacy" and "Support" are visible but not clickable

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the login page
  2. Notice how there's plenty of white space below the footer
  3. Notice how "Privacy" and "Support" are visible but not clickable

Expected behavior

  • "Privacy" and "Support" should be the same color as the background
  • Footer should lock to the bottom of the user's screen
    • unless there are enough items
    • if enough items, footer should be at bottom of the page?

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome

Development

  • "Privacy" and "Support" should be the same color as the background
    • changed for registration base template
    • also changed for BestBuySearch base template
  • Footer should lock to the bottom of the user's screen
    • unless there are enough items
    • if enough items, footer should be at bottom of the page
    • achieved this thru using "flexbox"
    • could only use mt-auto class for a single div
      • since pushes it to the bottom on the viewport
      • when pagination was present, used on pagination
        • wanted it to be right above the footer
      • when no pagination, og footer would needa be overwritten to include this class
      • footer for registration was defaulted to using mt-auto
        • since didn't need pagination

[BUG] Formatting Issues and Missing Content

Describe the bug

  • Formatting Issues and Missing Content

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome

Additional context

Development

  • rm pagination from home page

    • had to redef pagination block as empty
    • also had to use product_details def of footer block w/ overwriting
      • so footer stayed at bottom
  • add missing favicon and page headings

    • missing from all base registration inherited pages

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.