Giter VIP home page Giter VIP logo

foodme.app's Introduction

Build Status codecov codebeat badge Maintainability

FoodMe.App

๐Ÿ—‘๏ธ๐Ÿƒ Application letting you keep track of you current kitchen grocery inventory, and generate recipes based on those - hopefully reducing your food waste at home.

Installation

Clone this repository and import into Android Studio

git clone https://github.com/PeterSkopal/FoodMe.App.git

Maintainers

This project is mantained by:

Want to help? Awesome!

Read the guidelines for contributing.

foodme.app's People

Contributors

peterskopal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

foodme.app's Issues

Back arrow in top bar not showing att correct states

If one enters a sublevel of any item in the bottom navigation bar, i.e. a fragment is added to the stack, it is not correctly removed if one directly navigates to any other item in the bottom bar before clicking back on the added to stack fragment. This leads to unexpected behaviour leaving the back arrow in the top bar even though one is in the main fragment.

Shopping list

Checkboxes are ticked of down in the list when some checkbox higher up in the list is clicked.

Loading state descriptions

Is your feature request related to a problem? Please describe.
The application, when in loading state (where ever in loading state), does not serve any kind of description of what is going on at the moment.

Describe the solution you'd like
Some kind of information should be given to the user when parsing the receipt for example, updating groceries, etc.

Move 'my groceries' to Home screen

Refactoring

Description

Move 'my groceries' to Home screen

Files to process

  • fragment_my_kitchen.xml
  • MyKitchen.kt

Why this is necessary**

Improvement on GUI and UX, avoidance of two clicks to get hold of own groceries.

Huawei camera use bug

Refactoring

Description

In Scanner.kt we need to check which device is in use, to only sleep the main thread when on Huawei devices since a known issue with those is that the abortCaptures() is not async.

Files to process

  • Scanner.kt

Why this is necessary**

To only set a timeout when using a Huawei phone.

Crashes when view is changed before response tries to manipulate view

Application crashes when one triggers an internet request (which will manipulate the view), and then quickly manually changes view, before response from is handled. The response triggers a view change and makes the application crash since the user is not in the "correct" view.

Retrieve complete recipes when generating recipes.

Is your feature request related to a problem? Please describe.
We're fetching each recipe on click in the recipe list view, which adds up to unnecessary request since we're paying per request on the API. Additionally, it's unnecessary to fetch all recipes again when pressing back from a recipe instruction.

Describe the solution you'd like
Instead of fetching each recipe on click in the recipe list view, one could retrieve all data in the first request when generating the recipes, together with not fetching AGAIN when pressing back from a recipe instruction.

Not possible to register new user

Describe the bug
It is not possible to register a new user.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Login Activity Screen
  2. Try to register a new user.

Expected behavior
Register a new user with an empty inventory etc.

Preserve key security

Is your feature request related to a problem? Please describe.
Handling secrets in this application is not handled well, since a simple decompilation of the app will reveal them.

Describe the solution you'd like
Implement an Android Keystore.

Scanner view has wrong title

Describe the bug
The title in the header is not Scanner when in the Scanner-view.

To Reproduce
Steps to reproduce the behavior:

  1. Go to to any view in the bottom navigation bar.
  2. Click on Scanner in the bottom navigation bar.
  3. Title is wrong.

Expected behavior
Should be Scanner as title

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.