-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conditions after free text #22
Comments
Hey @gausie great idea. I hesitate to change the default arrangement. It seems to work well for us at Mixmax and I think that would warrant a major version semver. I think a PR with |
How about having the freetext / options in it's original position? Image I type this into the search field:
and when pressing enter it (confusing to the user) changes the input to:
etc. I now have to discover/find my freetext/props to change it. So maybe adding a third option: |
Hey @abergs I think that's a great idea! That's something we noticed here at Mixmax and would love to improve. Assuming it is done well, I think that should be the default functionality. Would be a sweet PR if you're keen to do it! |
I'm going to try to pick this up next week, focusing on original order. |
search-string/src/searchString.js
Line 303 in 8eed146
I know it's a tiny thing, but I think it makes more sense to have conditions follow rather than precede the freetext. I'm happy to submit a PR but would you rather it was an option or a default? Would it be an argument to toString()?
The text was updated successfully, but these errors were encountered: