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

RA-OSS-14 - FilterLiveSearch does not clear its value #9128

Closed
wants to merge 3 commits into from

Conversation

gitstart
Copy link
Contributor

@gitstart gitstart commented Jul 24, 2023

Here is the GitStart Ticket for this pull request: RA-OSS-14

ISSUE

https://www.loom.com/share/5ea0150d4def490dba21c8d8bf54c7a1?sid=29b3714a-8f94-4d9a-9807-8c2514f3e852

Happy hacking! 🎉


This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: passy4ucj <ojinnnakapascal@gmail.com>
Co-authored-by: Pascal Ojinnaka <56399504+passy4ucj@users.noreply.github.com>
Copy link
Contributor

@slax57 slax57 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.

First of all, please mention the issue your PR is aiming at fixing (in this case #9106 I believe)

Also, please include a test, or a way to prove that the fix works.

Lastly, there is a linter warning at line 55.
Can you please configure your IDE to raise these linter warnings before pushing the code?

Thanks a lot.

gitstart and others added 2 commits July 26, 2023 12:56
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: passy4ucj <ojinnnakapascal@gmail.com>
Co-authored-by: Pascal Ojinnaka <56399504+passy4ucj@users.noreply.github.com>
@slax57
Copy link
Contributor

slax57 commented Jul 27, 2023

Still not good. We can actually see in the screencast you shared that the filter gets cleared before you click on the reset button.
Actually, by using useEffect(..., []), you are clearing the filter as soon as the component mounts, which is not what we want.

@fzaninotto
Copy link
Member

Superseded by #9149

@fzaninotto fzaninotto closed this Jul 31, 2023
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.

3 participants