-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accounts and settings: bug fixes and User Guide fill-in. #889
Conversation
…ted email isn't taken; Add user feedback for update; Fill in User Guide.
Codecov Report
@@ Coverage Diff @@
## master #889 +/- ##
==========================================
- Coverage 50.93% 50.88% -0.05%
==========================================
Files 241 241
Lines 6601 6607 +6
Branches 421 423 +2
==========================================
Hits 3362 3362
- Misses 2926 2930 +4
- Partials 313 315 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
src/components/SiteSettings/UserManagment/UserList.tsx, line 36 at r2 (raw file):
I realize this is a little out of scope for this PR, but could this component be converted to a functional component? |
src/components/UserSettings/AvatarUpload.tsx, line 61 at r2 (raw file):
This was a good change. |
src/components/UserSettings/UserSettings.tsx, line 144 at r2 (raw file):
I don't think this is bad per se, but during registration when a username or email is already taken, it highlights the input box red and puts the error in red. In general, I think this is a better UI than alerts because it draws your attention immediately to the incorrect data location. Can we do something like that in the User Settings? |
src/resources/translations.json, line 270 at r2 (raw file):
I see many of the strings in this file aren't translated yet, but should we translate new one like this when we add them? |
user_guide/docs/account.md, line 22 at r2 (raw file):
I'd maybe choose the "important" admonition for this one. |
user_guide/docs/admin.md, line 10 at r2 (raw file):
Should we add a note stating explicitly that there is currently no way to permanently delete projects? Someone might want to know that if they were just trying it out and uploaded something they didn't mean to. |
user_guide/docs/project.md, line 20 at r2 (raw file):
I like that we are adding web links out to other linguistic/SIL tools, could we add links for WeSay, FLEx, and Lexique Pro? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r1, 3 of 3 files at r2.
Reviewable status: all files reviewed, 7 unresolved discussions (waiting on @imnasnainaec and @jasonleenaylor)
Fundamentally, I believe we need to enforce this in the backend, not just in the frontend. If someone connects to our API from a client other than our frontend, they could corrupt our database.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 9 of 12 files reviewed, 4 unresolved discussions (waiting on @imnasnainaec, @jasonleenaylor, and @johnthagen)
src/components/SiteSettings/UserManagment/UserList.tsx, line 36 at r2 (raw file):
Previously, johnthagen wrote…
I realize this is a little out of scope for this PR, but could this component be converted to a functional component?
The conversion of componentDidUpdate
and handleChange
may be nontrivial, so that's better for another pr.
src/resources/translations.json, line 270 at r2 (raw file):
Previously, johnthagen wrote…
I see many of the strings in this file aren't translated yet, but should we translate new one like this when we add them?
No, the translation process is to be done in Crowdin--Jason and I have that process mostly setup.
user_guide/docs/account.md, line 22 at r2 (raw file):
Previously, johnthagen wrote…
I'd maybe choose the "important" admonition for this one.
Done.
user_guide/docs/admin.md, line 10 at r2 (raw file):
Previously, johnthagen wrote…
Should we add a note stating explicitly that there is currently no way to permanently delete projects? Someone might want to know that if they were just trying it out and uploaded something they didn't mean to.
Done.
user_guide/docs/project.md, line 20 at r2 (raw file):
Previously, johnthagen wrote…
I like that we are adding web links out to other linguistic/SIL tools, could we add links for WeSay, FLEx, and Lexique Pro?
Done.
src/resources/translations.json, line 270 at r2 (raw file): Previously, imnasnainaec (D. Ror.) wrote…
LGTM. So are these extra strings redundant now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r3.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @imnasnainaec and @jasonleenaylor)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jasonleenaylor and @johnthagen)
src/components/UserSettings/UserSettings.tsx, line 144 at r2 (raw file):
Previously, johnthagen wrote…
I don't think this is bad per se, but during registration when a username or email is already taken, it highlights the input box red and puts the error in red. In general, I think this is a better UI than alerts because it draws your attention immediately to the incorrect data location.
Can we do something like that in the User Settings?
src/resources/translations.json, line 270 at r2 (raw file):
Previously, johnthagen wrote…
LGTM.
So are these extra strings redundant now?
They serve as placeholders, so that a non-English user at least gets the English phrase if it hasn't been translated yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @jasonleenaylor)
Fill in content for Account, Project, and Admin pages in the User Guide.
[SiteSettings] Disallow admins deleting other admins (part of #544).
[AvatarUpload] Allow any image type, not just
.jpg
.[UserSettings] Add feedback on
SAVE
, and don't allow saving with taken email address (resolves #888; more to do in #894).This change is