Giter Club home page Giter Club logo

blink's People

Contributors

leoherrmann avatar

Watchers

 avatar

blink's Issues

Dynamic Cart Button

Instead of having separate buttons for adding products to the cart and an input field for selecting the number of items, a more elegant solution would be to implement a dynamic cart button.

Initially, the button will display "Add to Cart." When clicked, it will automatically add one item to the cart and transform into a number picker, enabling the user to increase or decrease the item count. If the user sets the count to zero, the button will revert to its original state, displaying "Add to Cart" once again.

Images for products

Currently, he product listings display placeholder images for each item. It would be nicer, when there was the option to add custom images to each individual product.

Zero-priced orders can not be placed

Two possible solutions:

  • Instead of verifying the price of the order being larger than zero, check the number of products in the cart
  • Do not allow zero-priced products to be set up

Fix Darkmode

There are some issues when the app is used in dark mode concerning the action bar and the product details fragment.

Cart Integer Overflow

Steps to reproduce:

  • log in as a customer
  • open a product
  • enter a high item count (e.g. 9999999999999)
  • add the product to the cart
  • navigate to cart
  • the item count displayed in the cart for the added product is some large negative number

Bug relating to search and switching fragments

Steps to reproduce:

  • log in as customer
  • navigate to search
  • open a product
  • navigate to home
  • chose a category
  • instead of the list of products of the chosen category the lastly opened product is shown

Implement Recycler Views

Recycler views are more performant and allow for looser coupling between application logic and UI than Linear Layouts. In the Search Fragment, a recycler view is already implemented. The same should be done for the other places where a linear layout is used to display a list of homogeneous items.

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.