-
Notifications
You must be signed in to change notification settings - Fork 19
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
[FIX] Issue #122 - Responsive UI #147
base: NEW-UI
Are you sure you want to change the base?
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/stephin007/cowin-vaccine-availablity-checker/2PMBv7X4TkcqxdCDJ9c27yyghShQ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 6957b5a
hey @wise-introvert few points:
|
|
@stephin007 Is there any way you can disable the react-hooks warnings? Adding state methods to |
@wise-introvert we can just paste and please resolve the conflicts! |
@wise-introvert can you add the latest changes done in the new-ui branch!
These are some changes which i saw on UI, i am reviewing the rest of changes! |
Okay, I'll sync this, feature branch with the |
Hey @wise-introvert , Regarding point 4 : i know about spread operator :P , i was asking about the word rest here , was this declared somewhere or does it just mean to send all the rest of the props? Can we some different words like "other" as it was given in the article. |
|
No No @wise-introvert , dont change just wanted to understand that! :) |
}-${year}`; | ||
}; | ||
|
||
const refactor = (_vaccine) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this refactor function doing? Please explain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stephin007, there are two types of responses that the application receives from the vaccines endpoint: "Find by district/pincode" and "Find by district/pincdoe & date". Before the app renders either of these responses, they need to be converted into an object that follows only one, fixed structure ( as opposed to the two, legacy structures ). The refactor
method performs this "conversion"
hey @wise-introvert i hope you will be fixing the conflicts so that we merge to NEW-UI |
Definitely. Sorry for the delay |
Awesome @wise-introvert , i have mentioned you in some comments it would be great if you could address it as well. |
Major Changes
VaccineDataSingle
component to be more responsive and scalable/src/lib/useClasses.js
Minor Changes