Coder Social home page Coder Social logo

corpo-food's People

Contributors

grzegorzlada avatar kjendrzyca avatar tarnas14 avatar wojtasik avatar

Watchers

 avatar  avatar  avatar  avatar

corpo-food's Issues

Handling i18n

We should consider i18n in our application. Any suggestion guys?

Order details - frontend

Separate page for displaying order details. This is the second main screen after the dashboard.
In the future chat will be added to this view.

Remove manual usage of browserHistory

Currently we use browserHistory.push action every time we want to change the state and this feels like using low level api. It's ugly.
Instead we can use push action from react-router-redux or there might be even better solution.

Allow partial locale support

Current behaviour:
The localization object is loaded as a whole, based on client's locale preferences, the fallback behaviour works only on the whole localization object level. I.E. when user has locale=es and we don't support es, the localization resources loaded in UI fall back to en (default locale)
Fallbacks do not work on a per key basis - if es localization key is present but does not contain all of the localization keys expected by the application, the application breaks with missing props React error or something similar.

Expected behaviour:
UI localization fallback work on a per key basis so that partial locale support is possible

Display full cost in meals table on orders page

Currently only the menu price is displayed as the meal price in orders.

We could add information about extra cost per meal and delivery cost per person to be calculated automatically (display the full menu price + {extraCostPerMeal} + {deliveryCost/peopleCount})

we should either:

  • display the full cost with an additional option to view cost broken down in those 3 parts (menu + extra + delivery)
  • display the cost broken down by default - this will probably take more space, though

Order details chat

Communication should go through redux store.
Client -> Server and Server -> Client messages should be dispatched as actions.

Logging errors

Should we use any kind of logger for backend? Any ideas?

Fix menu link for orders

if you put awer.awer in the link menu when creating orders you succesfully create orders, but that is not a valid link, so from order details you are redirected to /awer.awer

we need a consitent system of adding, validating and presenting links

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.