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: #464 use session to store search filter #466

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

Abhinav-Chdhary
Copy link
Contributor

Title and Issue number

Title : Keep track of search filters while navigating between challenges

Issue No. : #464

Code Stack : JSX

Closes #464

Checklist:

  • I have mentioned the issue number in my Pull Request.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the Index.html file for my contribution

Copy link

netlify bot commented Jul 18, 2024

Deploy Preview for frontend-mini-challenges ready!

Name Link
🔨 Latest commit 9da9a97
🔍 Latest deploy log https://app.netlify.com/sites/frontend-mini-challenges/deploys/66992676518d2f00082a67e3
😎 Deploy Preview https://deploy-preview-466--frontend-mini-challenges.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 configuration.

@Abhinav-Chdhary
Copy link
Contributor Author

@sadanandpai I believe we would need a clear-filters button after this.

selectedChallengesByTags: [],
newChallenge: false,
};
};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if initialSearchFilters has no dependency on the component, can we not move everything to util

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll try.

@sadanandpai sadanandpai merged commit 25255d3 into sadanandpai:main Jul 18, 2024
6 checks passed
@Abhinav-Chdhary Abhinav-Chdhary deleted the to_fix_filter_selection branch July 18, 2024 15:12
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.

Host: Navigation changes the filter selection
2 participants