Closed keca2 closed 1 year ago
For the "Take me to the results" button, does it require that all of the above fields are filled out before proceeding? Also, are you able to click off the modal if you want to see the home page?
Would it be super difficult to add an X close button on the modal? I think that might be an accessibility concern for those who use screen readers to navigate.
This PR checks the newly implemented adminContext.endDate field to see if the current date is after the endDate of the event.
If it is, (from homepage) the post event survey modal will open. Upon completion of the survey, user will be directed to the results landing page.
INSTRUCTIONS TO RENDER: 2 options : Either change the field from adminContext.endDate to be before today's date for testing, or swap the logic in the homePage.tsx (today < end) on line 75.
Also in this PR, updates to the modal render for the post event survey:
UPDATE 3/13