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

Landing Page: Throw a warning box when you try to click "Where to Recycle?" before address/items/methods are properly filled up. The box should describe the errors. #156

Open
neozhixuan opened this issue Jul 9, 2023 · 0 comments
Labels

Comments

@neozhixuan
Copy link
Collaborator

neozhixuan commented Jul 9, 2023

Context
Currently, when the user has not filled up every field in the landing page, they are not allowed to click the footer buttons. The buttons are disabled, but give no reason as to why the user cannot proceed.

Task

  • When the user tries to click on a disabled button, create a pop-up saying why he is unable to proceed; either 1. Address not filled 2. Items field not completed
  • To do this, find a way to detect which fields are not filled up and pass it into the popup.

Figma Link
There is no figma design for this implementation - just use a standard chakra popup

Acceptance Criteria
npm run build works

@neozhixuan neozhixuan changed the title Throw a warning box when you try to click "Where to Recycle?" before address/items/methods are properly filled up. The box should describe the errors. Landing Page: Throw a warning box when you try to click "Where to Recycle?" before address/items/methods are properly filled up. The box should describe the errors. Jul 9, 2023
@shyhruey shyhruey self-assigned this Aug 21, 2023
@shyhruey shyhruey reopened this Aug 21, 2023
@neozhixuan neozhixuan added Medium and removed Easy labels Sep 17, 2023
@github-project-automation github-project-automation bot moved this to On hold/Cancelled in RecycleGoWhere Phase 2 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: On hold/Cancelled
Development

No branches or pull requests

2 participants