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

Decide on how we want to model filtering issues and repos #124

Open
rashadg1030 opened this issue Jul 14, 2019 · 2 comments
Open

Decide on how we want to model filtering issues and repos #124

rashadg1030 opened this issue Jul 14, 2019 · 2 comments
Assignees
Labels
api Endpoints, rest api refactoring Code refactoring and prettyfying
Milestone

Comments

@rashadg1030
Copy link
Collaborator

By @chshersh:
Though, it's an open question, how do we want to model filtering. For example, when a user enters labels difficulty:easy and difficulty:medium does he want to have issues that have both labels easy and medium or any of the labels? In this case, probably the first. But what if here enters difficulty:easy and refactoring? Maybe now he wants to have these two labels. We can't read the user's mind so we either will stick to one default or support both strategies. Not now, just something to think about.

@rashadg1030 rashadg1030 added api Endpoints, rest api refactoring Code refactoring and prettyfying labels Jul 14, 2019
@rashadg1030 rashadg1030 self-assigned this Jul 14, 2019
@sshine
Copy link
Contributor

sshine commented Sep 13, 2019

Would it make sense to group search terms, and for each group imply an operator, and between groups imply AND? For example, for difficulty it would be OR, and for search terms it would be either AND or some smart/fuzzy matching if the API allows it.

@rashadg1030
Copy link
Collaborator Author

@sshine Thank you for your input. If I understood your comment correctly, you suggest that we support both AND and OR for queries. I agree that we support both as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Endpoints, rest api refactoring Code refactoring and prettyfying
Projects
None yet
Development

No branches or pull requests

3 participants