Closed eby closed 3 years ago
I've fixed the redirect for anonymous users so a 403 error is not thrown. Created Pull request for Eric and Troy to review
Need to work further on the confirmation UI. I'm thinking an information banner at the top which displays the following: FOR LOGGED IN USERS: 'See the Scheduled Pickup Appointments section in your account', 'information' FOR ANONYMOUS USERS: 'Log in to see your scheduled pickup appointments', 'information' What do you think?
So I don't think we need to change anything if there is currently a logged in user for the banner display. Staff will go back to their own account page, but that's okay for now.
For logged out users I think a drupal messenger banner with "Your appointment has been scheduled for {{ location }}. Log in to see your scheduled pickup appointments."
From dev discussion:
Users that submit an appointment should get a confirmation if they aren't logged in vs being redirected. This one also didn't seem to create an appointment but I'll dig more into that.