Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing state management #30

Closed
jollopre opened this issue Aug 13, 2017 · 1 comment
Closed

Introducing state management #30

jollopre opened this issue Aug 13, 2017 · 1 comment
Labels
client A ticket that is specific for the client code

Comments

@jollopre
Copy link
Owner

jollopre commented Aug 13, 2017

In order to have more predictable changes that happen into UI state, it is desired to include a state management library such as Redux. This will benefit the interface in many ways (e.g. single source of state changes, reducing the need of cascading down methods as properties to trigger state changes, simplifying the authentication logic, making easy to display feedback messages when network requests are made, etc.)

The time estimated to complete this task is 10 hours.

@jollopre jollopre added client A ticket that is specific for the client code enhancement labels Aug 13, 2017
@marshallpack1974
Copy link
Collaborator

marshallpack1974 commented Aug 13, 2017 via email

jollopre added a commit that referenced this issue Aug 13, 2017
jollopre added a commit that referenced this issue Aug 20, 2017
jollopre added a commit that referenced this issue Aug 21, 2017
jollopre added a commit that referenced this issue Sep 25, 2017
…d router. Removed react-bootstrap from customers. #30
jollopre pushed a commit that referenced this issue Sep 28, 2017
@jollopre jollopre added this to the Pre-Launch v1.1.0 milestone Oct 21, 2017
jollopre added a commit that referenced this issue Oct 22, 2017
jollopre added a commit that referenced this issue Nov 19, 2017
jollopre added a commit that referenced this issue Nov 20, 2017
jollopre added a commit that referenced this issue Nov 21, 2017
jollopre pushed a commit that referenced this issue Nov 24, 2017
jollopre added a commit that referenced this issue Dec 19, 2017
jollopre pushed a commit that referenced this issue Dec 20, 2017
jollopre pushed a commit that referenced this issue Dec 20, 2017
jollopre added a commit that referenced this issue Jan 9, 2018
jollopre added a commit that referenced this issue Jan 12, 2018
jollopre added a commit that referenced this issue Jan 14, 2018
jollopre added a commit that referenced this issue Jan 14, 2018
Sign in/out integrated through redux. #30

reduxise Customer and its presentational components. #30

Order index action reduxified. #30

OrderAdd reduxify, order show improved db performance, data curation through actions methods. #30

CustomersContainer is a merely component that interacts with store and router. Removed react-bootstrap from customers. #30

User action and reducers refactorised to redux. Still needs some testing. #30

api and logging middlewares started. #30

logger middleware for development. Fixed race condition at actions/user.js. #30

unit test for user actions. #30

user actions and reducers through apiMiddleware. #30

orders actions and reducers through apiMiddleware. #30

started order page. OrderShow and CustomerShow components completed. #30

changed status code for when a new token is generated. #30

started OrderItems actions, reducers, container. #30

generalised URLs through routes.js. #30

active orderItem listItem using matchPath function from react-router. #30

export orderItem reduxified. #30

put orderitem reduxified. #30

todo list before merging #30

customer#show action with test associated. #30

orderitems/new component. #30

order_item model without including product and features. #30

started featureValues. #30

products#index retrieving also features associated for each product. OrderItems now displaying product name. #30

featureValues for float, integer, option and string reduxified. #30

reducer for PUT_FEATURE_VALUE. #30

efficient update of Option and NonOption components. #30

quantity and featureValue.value is persisted even when componentReceiveNewProps. #30

customer#show action, reducer and container integration. #30

customer_id query string used for OrdersContainer. #30

removed unused files after reduxify. #30

removed console statements. #30

more friendly URLs for containers. #30

removed react-bootstrap where possible. Removed isFetching at containers for avoiding blinking. #30

removed TODO from client

changes before merging. #30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client A ticket that is specific for the client code
Projects
None yet
Development

No branches or pull requests

2 participants