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: Can't clear filter in recording preview when there are no matches #267

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

allansson
Copy link
Collaborator

Description

Skarminspelning.2024-10-23.kl.13.29.27.mov

When filtering requests in the recording preview, the no data state is shown if there are no matches. This hides the filter input and makes it impossible to reset the filter without closing the recording and opening it again.

How to Test

  1. Open a recording.
  2. Focus the filter input
  3. Smash your palm on the keyboard a few times

The filtering should behave the same way as when filtering during recording: the list should just be empty.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (npm run lint) and all checks pass.
  • I have run tests locally (npm test) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Screenshots (if appropriate):

Related PR(s)/I

ssue(s)

@allansson allansson requested a review from a team as a code owner October 23, 2024 11:31
@allansson allansson requested review from going-confetti and e-fisher and removed request for a team October 23, 2024 11:31
@allansson allansson merged commit e0bd5a3 into main Oct 23, 2024
2 checks passed
@allansson allansson deleted the fix/cant-clear-empty-state-in-recording-preview branch October 23, 2024 14:21
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