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

Adding search bar (soundtab.jsx) #1185

Merged
merged 6 commits into from
Sep 25, 2024

Conversation

Bubobubobubobubo
Copy link
Contributor

This commit adds a search bar in the sound tab pane. I know close to nothing about React.
Please review the code with care 😄.

if (!sounds) {
return [];
}

let filtered = Object.entries(sounds)
.filter(([key]) => !key.startsWith('_'))
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not apply the search filter here and keep below unchanged?

@felixroos
Copy link
Collaborator

related #422

@Bubobubobubobubo
Copy link
Contributor Author

I've simplified the code.

@felixroos felixroos merged commit 2ffc6c9 into tidalcycles:main Sep 25, 2024
1 check passed
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