Closed Abdul-Sayed closed 6 years ago
src/app/app.module.ts - Don't know why this conflicts
src/components/modal-history/modal-history.ts - It makes sense that this conflicts. I worked here.
src/providers/calculations/calculations.ts - Deleted lots of comments
src/providers/results/results.ts - Deleted more comments
src/providers/ss-users/ss-users.ts - Don't remember changing anything here
Finished the feature/backendIntegration-history
1) The results provider does an http.get request to the loopback api url. 2) history.ts subscribes to the results provider's get request() 3) history.ts parses that data into an array of objects, with each object containing user information such as entry date, monthly[], cumulative[] benefits data. 4) history.html displays a list of dates. Clicking on a date opens the modal-history component, and passes it the array of objects. This is accomplished through presentHistoryModal() 5) The modal-history component obtains the history page data through navParams.get(). Console logs confirm the data is received. 6) With a little further formatting, the received data is used by the modal-history.ts parent to supply chart and table data to the chart component and table page children, which then turn around and render the chart/table in modal-history.html