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
Refactor /users to support react-router
v6
#4365
Merged
ivarnakken
merged 12 commits into
migrate-away-from-connected-router
from
ivarnakken/aba-714-refactor-users-to-support-react-router-6
Dec 15, 2023
Merged
Refactor /users to support react-router
v6
#4365
ivarnakken
merged 12 commits into
migrate-away-from-connected-router
from
ivarnakken/aba-714-refactor-users-to-support-react-router-6
Dec 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Styling changes, and removal of unnecessary stuff.
Also fix 2 bugs introduced by the recent refactor to `react-final-form`: - `submitSucceeded` would always be undefined, as we would previously get this through `redux-form`. - The way we listen to user fields (for zxcbn) did not work either.
Not sure why this was neglected.
Ideally it should be able to take in all button types, but I'm planning on refactoring this further later.
CheckBox's onChange function had a recent change
And make it support `react-router` v6!
Also type some related user actions.
ivarnakken
added
review-needed
Pull requests that need review
bug-fix
Pull requests that fix a bug
technical-debt
Pull requests that reduces technical debt
chore
Pull requests that does something "boring", yet important, e.g. cleaning up code
labels
Dec 8, 2023
ivarnakken
changed the title
Refactor user profile to support react-router v6
Refactor /users to support react-router v6
Dec 9, 2023
ivarnakken
added
types
Pull requests that improve or fix types
enhancement
Pull requests that make enhancements, instead of just purely new features
labels
Dec 9, 2023
ivarnakken
changed the title
Refactor /users to support react-router v6
Refactor /users to support Dec 13, 2023
react-router
v6
eikhr
approved these changes
Dec 15, 2023
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.
Looks great!
eikhr
approved these changes
Dec 15, 2023
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.
Looks great!
* Refactor user settings * Fix some bugs caused by undefined user objects * Improve some styling on some user pages (better layout and use of cards) * Improve some types * Clean up routing
ivarnakken
force-pushed
the
ivarnakken/aba-714-refactor-users-to-support-react-router-6
branch
from
December 15, 2023 14:01
f3682fb
to
48b19a8
Compare
ivarnakken
merged commit Dec 15, 2023
ef9e224
into
migrate-away-from-connected-router
2 checks passed
ivarnakken
deleted the
ivarnakken/aba-714-refactor-users-to-support-react-router-6
branch
December 15, 2023 14:02
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
approved
Pull requests that have been approved
bug-fix
Pull requests that fix a bug
chore
Pull requests that does something "boring", yet important, e.g. cleaning up code
enhancement
Pull requests that make enhancements, instead of just purely new features
review-needed
Pull requests that need review
technical-debt
Pull requests that reduces technical debt
types
Pull requests that improve or fix types
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Ended up refactoring a bunch of stuff, some minor stuff, some bigger stuff and some bugs.
Result
Actually some minor visual changes this time as well. I couldn't help myself.
Testing
I think I tested everything ...