Profile changes#108
Conversation
* fix(SearchPage): fix the responsive styling of the results * fix(ClickableMap): switch to calling Google Maps API directly Previously, we were using the react-geocode library which was a server side library and did not support domain-based key restrictions. Now using the API directly because it's simple enough and will allow us to support key restrictions. Closes CV19Assist#94 * chore(*): upgrade a few of the older packages. * refactor(AccountMenu): switch to Link component to allow opening in new window * feat(ClickableMap): allow user to enter address We now allow users to enter address on the new request and volunteer sign up pages. On the volunteer sign up page, the address also populates the separate address fields for the volunteer. Closes CV19Assist#29 * fix(NewRequestPage): fix the .length error and styling Fix an error when the user doesn't have the diplayName filled out. Also default displayName to `firstName lastName` when it's not set. Lastly, fix the styling on small screens. Closes CV19Assist#85 * feat(RequestSuccessfulPage): add link to the newly created request * feat(*): hook up sentry.io. (CV19Assist#95) * fix(Discussion): remove the incorrect limit(1) from private comments. * chore(*): update version * Check version before creating new release (CV19Assist#100) * Only run release logic for production branch * refactor(ClickableMap): switch to async/await as suggested * refactor(useNewRequest): copy the requestLocation object before deleting the unneeded property * refactor(utils/geo): log to Sentry when API is not found Co-authored-by: Scott Prue <prescottprue@users.noreply.github.com>
…pp into default-contact-info Pulling in milestone-5 changes
thebitguru
left a comment
There was a problem hiding this comment.
A few issues.
- I am getting a permission error when creating a new user.
- Pressing enter on a field (e.g., email) shows the "Please fix the errors above" message, but the errors on subsequent steps so the actual error is not visible.
- I agree that we need to work on the styling.
- How can we merge this with the AccountEditor which will soon display the notification preferences?
| "type": "string", | ||
| "description": "A name for the location, generally 'City, State'." | ||
| }, | ||
| "hasAccount": { |
There was a problem hiding this comment.
Can we change this to something like profileFilledOut?
| @@ -0,0 +1,51 @@ | |||
| import React from 'react'; | |||
There was a problem hiding this comment.
Should the GoogleSignIn component be inside the Login component since that's the only place it will be needed?
There was a problem hiding this comment.
It will be in both the login and new user forms. I just haven't refactored the login form for it yet.
There was a problem hiding this comment.
Better idea - I'm going to remove it altogether from the profile flow. It will only live on the login page, and if they press it and don't have a profile, they will be redirected to the profile flow to fill out what's needed. We don't need two buttons.
|
|
Done:
ToDo:
|
Google user.
Right. The stepper only seems to be appropriate for new users. |
|
Added:
|
I got most of the user profile fka account setup working if either of you can look at it. It's in tescher/app.git in branch profile-changes I'm new to React so there may be things I'm doing completely wrong. I also have a bunch of clean-up to do, but it would be good if you could make a quick pass.
Basic functionality is this:
When you get through the profile flow, it will attempt to create an account/profile for you. If the email already exists and you didn't use Google, it will tell you and take you back to the beginning.
Things I still need to figure out: