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

feature(redux-devtools-app/ui): add search feature to state #1305

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

80avin
Copy link
Contributor

@80avin 80avin commented Dec 28, 2022

Add search feature for State tree.

Search is done using a fork of JSONPath-plus (fork used: JSONPath-Plus/JSONPath#185 ) which adds support for Content Security Policy by eliminating the use of eval/Function.

Being JSONPath, we can use complex expressions to search the tree by property names or values.

A sample expression is $..[?(@ && @.id%3 === 0)] tried in https://zalmoxisus.github.io/examples/router/#/Standard%20Todo?_k=pnapms

Fixes #989

@changeset-bot
Copy link

changeset-bot bot commented Dec 28, 2022

⚠️ No Changeset found

Latest commit: e012515

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ximfritz
Copy link

Will you fix that @80avin, i would like to have this feature.

@80avin
Copy link
Contributor Author

80avin commented Jul 18, 2023

@ximfritz I couldn't get time to complete the PR in JSONPath-plus.
But partly, I've also been lazy since I had made this feature usable on my local, only cleanup, writing tests & other PR formalities were left.

I'll try to finish it in few weeks now.

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.

Search for entities
2 participants