Skip to content

Conversation

adekbadek
Copy link

The problem:
When using the devtools, I missed the functionality to filter by not matching query, e.g. to just show actions which are not of certain type, to reduce clutter when debugging.

The solution:
This initial implementation proposes ! prefix as a way to negate a query. So !ADD would filter out any actions that contain the word ADD in their type.

Problem with the solution
The only drawbacks I see now are:

  1. discoverability - this would of course be documented, but maybe a button would be a better solution from a UX perspective?
  2. actions with ! as first character of type. This is probably a super edge-case, but maybe that would be a problem for someone.

Let me know what you think, I'd be happy to work more on that feature (docs, tests, etc)!

@adekbadek
Copy link
Author

Hi @zalmoxisus , did you get a chance to look at this?

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.

1 participant