Closed KihyeokK closed 1 year ago
also there is a conflict, please resolve it by merging main into this branch and manually resolving it :) don't forget to recompile and make sure the app runs [a mistake I always make at work ;( ]
Applied suggested changes. Some "major" change to note was refactoring all the states related to date filtering for deliveries into date context. To preserve the selected filtering date when visiting delivery-details page and clicking x to go back, using browser history stack (history.back() method) and creating date context that wraps different route components was needed (this was painful :') ). I also enabled preserving the selected date for myHistory page, but in general, visiting other pages will reset the browser history stack and the whole date context because the whole application gets rerendered.
You can check commit message descriptions for more detail.
I left the console.logs as is for now. Updating availabilities-check-in header is still needed to be done after this PR.
Let me know if other changes are needed for this PR!
Summary
Note:
Things still needed to be worked on:
Related Issues
Which issues does this PR resolve/work on? Closes #114