Following the user's submission, redirect users back to the homepage and show the following notification:
if successful, show success theme with the "Request for Experiment Received!" message
if failed, show error theme with the "There was a problem with requesting the experiment. Please try again later" message
Problem or idea
We'll need to:
integrate the Slack API to the request data form on the search results page in order to post users' request data submission to slack
redirect users back to the homepage and show the appropriate notification after the submission
Solution or next step
[x] Provide the Slack webhook URL @davidsmejia
[ ] Based on the refinebio-frontend script, integrate the Slack API in the request data form @nozomione
Create any sub-components or helpers as necessary
[x] Set up the production and staging environmental variables in the next config and Vercel @nozomione
(currently the same url is used for both environments)
Context
Post a users' request data submission via the search results page (https://github.com/AlexsLemonade/refinebio-web/issues/207) to Slack to Slack when Github and/or Hubsport requests fail.
Following the user's submission, redirect users back to the homepage and show the following notification:
Problem or idea
We'll need to:
Solution or next step
refinebio-frontend
script, integrate the Slack API in the request data form @nozomioneSLACK_HOOK_URL
STAGE_SLACK_HOOK_URL