-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add redux aa1 to improve basics aa3 #87
Conversation
New redux structure was roughly implemented. Refinements take place in the following commits. But .. redux is fun :)
Some bugs are fixed and the actions were adjusted.
Incorrect user fetching has been fixed.
The registration works now with the new structure.
A context error where the login function was not defined due to asynchronously is fixed now. After registering a user will be logged in.
React-Avatar-Editor was added for editing images on the site.
The modal for editing images was added.
The modal imports and exports were updated.
A page for editing user settings was added.
The path for the settings page was set.
The navbar settings now work with the settings page.
The settings action is now capable of updating profile pictures.
Now it is possible to access the settings page directly by entering the url. Access is only granted to the own settings page.
Now when clicking on `My Profile` only the corresponding components are rendered and not longer everyone like before.
Due to the switch to Redux, a lot of code is obsolete and is now being removed.
Now Redux DevTools only applies in development mode.
The resolving of the merge conflicts went wrong and produced a syntax error which is fixed now.
Uploading and deleting of talks is now only possible if a user is signed in and on his profile.
Blank initialization was removed because it is no longer needed.
The check was added to prevent the uncontrolled component warning.
The chart for displaying languages has been added.
The project component has been improved and now actually looks nice.
The language chart and top languages have been implemented.
The pinned posts have been temporarily disabled.
The auth actions errors were updated.
The login form errors were updated.
@snek-at/frontend Just have a look on logically errors or some other invalid stuff. Issues on console logs and/or comments like sections are not part of this PR. This is taken care of in implement PR! |
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.
I did not found any logical issues in this code, beside the ones i already marked.
The message have been refined cause the old one was a bit shitty.
Now when a anonymous user visits the settings page he is redirected to the homepage with active login form.
I have updated the login error message cause it was not very neat to me. |
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.
Should be ok to merge, but you can also fix this issue beforehand.
Issues marked by Codacy were resolved.
Issues marked by Codacy were resolved.
Codacy errors were fixed.
Previously some data was stored in the profile section. Therefore when adjusting data in settings it got overwritten during a refetch. By moving this data to user section it does not get overwritten anymore.
Now when the result is undefined nothing happens cause there is no error.
There was an error where it always redirected if the settings url was entered directly. This issue is fixed now,
There was a workaround to update user settings. This is removed now because it resets the user data every read cache iteration.
Checklist:
Type of Changes:
What is the current behavior? (link to any open issues here)
What is the new behavior (if this is a feature change)?
Other information: