Commit Graph

44 Commits (cf3a7c97b2f43ab70090fb783677aa073fae6991)

Author SHA1 Message Date
oscarzhou cf3a7c97b2 testing: remove error simulation 2020-12-26 11:56:39 +13:00
oscarzhou 5c769c261b component: remove axios interceptor with componentWillUnmount lifecycle 2020-12-26 11:41:48 +13:00
oscarzhou 4a1226e765 component: retrieve data from backend and handle error 2020-12-25 21:40:04 +13:00
oscarzhou 60d5abf809 component: add error handler by using a higher order component 2020-12-25 20:57:46 +13:00
oscarzhou 10e611d2ad component: add Spinner component while making an order request 2020-12-25 18:16:16 +13:00
oscarzhou 8dc0188ed1 component: post order data to endpoint by axios instance 2020-12-24 21:49:06 +13:00
oscarzhou e5bdacd59a lib: add global axios instance for Order request/response 2020-12-24 21:26:32 +13:00
oscarzhou fcebaa6e4b package: import http/ajax plugin by npm install --save axios 2020-12-24 20:43:55 +13:00
oscarzhou fcfcebebc8 component: change the folder structure by putting the Layout under hoc folder 2020-12-13 19:45:03 +13:00
oscarzhou b94ea9284b component: improve the performance by using shouldComponentUpdate() lifecycle 2020-12-13 19:25:45 +13:00
oscarzhou e6f0d986dc component: replace word menu with three rows 2020-12-13 17:53:50 +13:00
oscarzhou 4deeab8324 component: add SideDrawer toogle button 2020-12-13 17:40:24 +13:00
oscarzhou b79cb5e3ff component: reuse component Backdrop in component SideDrawer 2020-12-13 17:02:02 +13:00
oscarzhou 1fd471f58a component: adjust more on the responsive behavior of SideDrawer and NavigationItems component 2020-12-13 16:39:52 +13:00
oscarzhou bdcb128433 component: set responsive Logo component 2020-12-13 16:17:02 +13:00
oscarzhou 4b0878dd16 component: add SideDrawer component 2020-12-13 16:10:51 +13:00
oscarzhou 67a49ad12b component: add resuable NavigationItem component 2020-12-13 15:41:29 +13:00
oscarzhou 33a13f76e2 component: change the Navigation folder structure 2020-12-13 15:26:04 +13:00
oscarzhou a76289a7bc component: add Logo component 2020-12-13 15:15:54 +13:00
oscarzhou bfa2370f51 component: add Toolbar component 2020-12-13 13:41:00 +13:00
oscarzhou 3ec3df773d component: add price in OrderSummary 2020-12-13 13:31:10 +13:00
oscarzhou 77a69afbe9 component: add custom Button component 2020-12-12 21:58:19 +13:00
oscarzhou 670aeeccdf component: add Backdrop component 2020-12-12 20:31:01 +13:00
oscarzhou aa5fc21a5d component: show/hide Modal with animation 2020-12-12 19:22:54 +13:00
oscarzhou 8ff6175355 component: add OrderSummary modal component 2020-12-12 18:27:13 +13:00
oscarzhou 874e496526 component: add Modal component 2020-12-12 17:53:26 +13:00
oscarzhou 5bd3b73317 component: add Order button and its state 2020-12-12 17:15:33 +13:00
oscarzhou 54d018b854 component: add price on top of BuildControls 2020-12-10 21:04:39 +13:00
oscarzhou 9a9f85110c container: remove ingredient safely by passing disabledInfo 2020-12-10 20:55:49 +13:00
oscarzhou 527168645e container: connect state to BuildControls, attach ingredient addition logic on More button 2020-12-10 20:13:56 +13:00
oscarzhou 24db148125 component: display BuildControls by iterating the Control objects array 2020-12-10 19:38:38 +13:00
oscarzhou 8435d19d87 component: add BuildControls and BuildControl component 2020-12-10 19:28:40 +13:00
oscarzhou b4fbdade6d component: provide the hint when there is no ingredients by merging multiple arrays into one 2020-12-10 19:08:43 +13:00
oscarzhou 8eeb04f654 component: add burger ingredients by props in the dynamic way 2020-12-09 22:42:33 +13:00
oscarzhou 0d456766b0 component: add BurgerIngredient into Burger component 2020-12-09 21:05:37 +13:00
oscarzhou ffeb447dc1 component: apply PropType plugin to props 2020-12-09 20:28:59 +13:00
oscarzhou 78bf7bd632 package: add validation plugin by npm install --save prop-types 2020-12-09 20:17:57 +13:00
oscarzhou 66f5fb63f9 component: add BurgerIngredient component 2020-12-09 20:13:43 +13:00
oscarzhou d1a19128bc css: try first CSS reference after setting up CSS module 2020-12-09 19:46:19 +13:00
oscarzhou 0a48c74624 project: set up CSS module by npm run eject 2020-12-09 19:45:24 +13:00
oscarzhou 402c26d7b7 container: add BurgerBuilder container 2020-12-09 19:36:59 +13:00
oscarzhou 20d14b3fb2 component: add Layout component 2020-12-09 19:03:54 +13:00
oscarzhou 37e0f71d8f project: set up the project by npm package create-react-app 2020-12-08 19:44:47 +13:00
oscar 946b23b76b Initial commit 2020-11-29 16:02:46 +13:00