Skip to content
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

Handle Guest login #18

Open
mirmahathir1 opened this issue Mar 7, 2022 · 0 comments
Open

Handle Guest login #18

mirmahathir1 opened this issue Mar 7, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mirmahathir1
Copy link
Member

mirmahathir1 commented Mar 7, 2022

Our app supports a guest mode where we simulate the app using dummy data. This guest mode will help you showcase what you did to other people without necessarily giving them credentials.
Please add a 'guest' support feature to your UI.

Specifications:

  • Modify your URL to take on an extra boolean query parameter 'guest' as follows:
    https://badhan-datainput.netlify.app/#/home?token=blahblahblah&guest=true
    The 'guest' flag will denote whether the site is being accessed by a guest.
  • If the site is being accessed as a guest, populate dummy user information in the side drawer and the token in the query will be completely ignored
  • the button for uploading an excel file will not prompt a file upload window to appear; rather- some dummy data will be populated in the UI directly
  • Call the following dummy route of the API for simulating the POST /donors api call
    POST https://badhan-web-test.herokuapp.com/guest/donors
    (accessing the dummy route doesn't require any authentication nor any proper JSON body)
@mirmahathir1 mirmahathir1 added the documentation Improvements or additions to documentation label Mar 7, 2022
@mirmahathir1 mirmahathir1 added the functional An issue that can mean any issue except design corrections label Mar 13, 2022
@mirmahathir1 mirmahathir1 removed the functional An issue that can mean any issue except design corrections label May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants