Skip to content

Upgrade codebase #11

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

Merged
merged 83 commits into from
Apr 13, 2022
Merged

Upgrade codebase #11

merged 83 commits into from
Apr 13, 2022

Conversation

khaledosman
Copy link
Owner

Merges in #5

  • react v18 update with concurrent rendering
  • update to react-router v6
  • get rid of history
  • get rid of connected-react-router
  • update all deps

leosuncin added 30 commits June 12, 2021 22:59
Use native fetch to make API request.
Install xss to sanitize untrusted HTML
Use async thunk actions and action creators.
Use async thunk actions and action creators.
Import the correct component
Use async thunk actions and action creators.
Use createAction for logout action.
Use async thunk actions and action creators.

TODO: handle getByAuthor async thunk action
Install @testing-library/cypress and @cypress/code-coverage
Check when is unathenticated.
Check the structure of the page.
Check when is unathenticated.
Navigate trought all the app.
Validate the form.
Install faker to generate test data.
Validate the form.
Add test user in Cypress' env.
Allow to Cypress to access the Redux Store.
Validate the form.
Create a new article.
Add custom command to dispatch actions to the store.
Add custom command to login.
Edit an article.
Add custom command to create a new article using the API.
Create a new comment
Delete a comment
Remove an article

TODO: fix add new comment at the beginning of the list
TODO: fix show validation errors
Navigate to edit the article.
Do not download a random markdown.
Follow/unfollow a user.
Add a task to generate an user and an article.

TODO(backend): fix get articles by author for a different user than authenticated user.
Check when is authenticated.
Check when is authenticated.
Mark an article as favorite/unfavorite.
# Conflicts:
#	package-lock.json
#	package.json
Add new comment at the beginning.
Show validation errors.
Remove a comment.
Add new comment at the beginning.
Show validation errors.
leosuncin and others added 26 commits July 8, 2021 16:03
Document all components.
Prefer use hooks over prop drilling.

BREAKING CHANGE lazy load the CommentContainer, handle the case when article is loading or not exists
Use hooks over props.
Document all components.
Document all components.
Prefer use hooks over prop drilling.
Do not override tags when fetch articles by tag.

BREAKING CHANGE tags are fetched from tag component not home component
Help to recreate the store inside the tests.
Add custom render function, wrap the providers.
Move all authentication state to it.

BREAKING CHANGE removed loginPageUnloaded and registerPageUnloaded
Unit test the reducer and selectors
Both Login and Register share almost all the UI, so, to reduce duplicate code.

BREAKING CHANGE: remove Login and Register components and use only one screen
Now these features are under auth slice.

BREAKING CHANGE: remove settingsPageUnloaded
Add a slice to manage the comments.
@netlify
Copy link

netlify bot commented Apr 13, 2022

Deploy Preview for react-redux-realworld ready!

Name Link
🔨 Latest commit dd3492c
🔍 Latest deploy log https://app.netlify.com/sites/react-redux-realworld/deploys/6256a6813c2be90008c3bf53
😎 Deploy Preview https://deploy-preview-11--react-redux-realworld.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@khaledosman khaledosman merged commit d76e8df into master Apr 13, 2022
@khaledosman khaledosman deleted the upgrade-codebase branch April 13, 2022 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants