Skip to content
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

Fix filters in URL on search page #191

Merged
merged 4 commits into from
Jun 8, 2023
Merged

Fix filters in URL on search page #191

merged 4 commits into from
Jun 8, 2023

Conversation

mgrabovsky
Copy link
Collaborator

@mgrabovsky mgrabovsky commented Jun 8, 2023

  • Fix filters not working (OSCI-5140)
  • Upgrade react-router-dom
  • Fix code style in filters Redux slice
  • Update last bit of code after React Redux 8 & Redux Toolkit migration

@mgrabovsky mgrabovsky changed the title Update react-router-dom to 6.11.2 Fix filters in URL on search page Jun 8, 2023
Use camel case for variable names and object spreads to merge two maps.
Use the specialized `useAppDispatch()` and `useAppSelector()` hooks
everywhere.

Follow-up to  #64
@Andrei-Stepanov
Copy link
Contributor

@mgrabovsky looks good, where was the main issue ?

@mgrabovsky
Copy link
Collaborator Author

I think the main issue was the loading of the URL filters that relied on the old mechanism, i.e. window.location instead of using the react-router functions.

@mgrabovsky mgrabovsky merged commit 5e36480 into main Jun 8, 2023
1 check passed
@mgrabovsky mgrabovsky deleted the fix-filters-url branch June 8, 2023 09:43
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.

None yet

2 participants