You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Computer programmers obtain quasi-magical, superhuman coding ability when they have a blood alcohol concentration percentage between 0.129% and 0.138%" - Former CEO of Microsoft
Running the program
Clone the repo through git clone
Navigate to the directory of your fph-frontend repo using the cd command.
Run git checkout dev and then git pull.
Create a branch off the dev branch in fph-frontend. For the name of the branch, use what the title of this issue as. Use git checkout -b <insert_branch_name>.
Install the necessary dependencies through running yarn. Test that your application works by running yarn format followed by yarn dev
Create your necessary code through creating files within the component folder.
Run the code with yarn (to install), yarn format (to format the code), and yarn start (to start the program).
You will be implementing the functionality to approve and deny pending businesses. You can reference this task to find the logic that created the Approve and Deny buttons. They currently have no logic behind them. When the button is clicked, you should bring the user back to the pending applilcation table page and the toast should pop up in the bottom right corner. Show the green toast for an approved business and a yellow one for a denied business. Lastly, when a user clicks on the modal they should be able to undo the action with the modal linked above showing up. If the action is undone, the status of the business should return to pending and they should appear in the pending businesses table again.
Overview
"Computer programmers obtain quasi-magical, superhuman coding ability when they have a blood alcohol concentration percentage between 0.129% and 0.138%" - Former CEO of Microsoft
Running the program
git clone
fph-frontend
repo using thecd
command.git checkout dev
and thengit pull
.dev
branch infph-frontend
. For the name of the branch, use what the title of this issue as. Usegit checkout -b <insert_branch_name>
.yarn
. Test that your application works by runningyarn format
followed byyarn dev
component
folder.yarn
(to install),yarn format
(to format the code), andyarn start
(to start the program).localhost:3000/
.Task
Toast
Modal
You will be implementing the functionality to approve and deny pending businesses. You can reference this task to find the logic that created the Approve and Deny buttons. They currently have no logic behind them. When the button is clicked, you should bring the user back to the pending applilcation table page and the toast should pop up in the bottom right corner. Show the green toast for an approved business and a yellow one for a denied business. Lastly, when a user clicks on the modal they should be able to undo the action with the modal linked above showing up. If the action is undone, the status of the business should return to pending and they should appear in the pending businesses table again.
Reference the documentation for Toast and Modal
Support
Feel free to reach out to Madhu and Josh on Slack/Messenger for assistance.
The text was updated successfully, but these errors were encountered: