akhileshthite/covid19-vaccine-finder

Add alert popup if the sessions are zero/empty.

akhileshthite opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

-> After submitting PIN & DATE if the sessions are empty then it displays nothing on the screen, check out the SS given below.

Screenshot 2021-07-17 at 8 36 05 PM

Row API json output:

Screenshot 2021-07-17 at 8 36 48 PM

Describe the solution you'd like...

-> Add simple alert popup saying "Sessions are currently unavailable, please try again after some time." if the sessions are zero/empty.

Approach to be followed:

-> Main code file is app.py,
eg:- if response['sessions'] == 0: flash("Alert message here.")
OR
-> You can try it using JavaScript,/static/main.js
-> Running of the project, git commands & all other information is given in the README.md of the project.

Can I please try doing this? @akhileshthite

Can I please try doing this? @akhileshthite

Yes! assigned.