-
Notifications
You must be signed in to change notification settings - Fork 381
Filter by label (Repo Issue List) #2263
Comments
Go for it! |
makes sense @Huddie. I use the label tapping feature a lot on GitHub web to look for "help wanted" issues. Are you taking this? I'd be happy to work on it if you're not. |
@BrianLitwin I’m a bit busy with school these next few days so I won’t be able to get to it. If you want to knock it out that would be awesome! Sent with GitHawk |
Sent with GitHawk |
@Huddie I'm going to PR this w/o that feature -> These labels are nested pretty deep in views and I want to make sure the communication patterns I'm using meet expectations first. Then adding that in will be easier. |
@BrianLitwin @rnystrom I think clicking labels in repoIssueSectionController is the essential one just because that's where users are searching for issues and would want to to filter that search. Less likely someone will be nested deep somewhere are want to search by the label. Inside repoIssueSectionController -> Adds label:xxxxx to the search bar I'll touch on the "Anywhere else" one. If you're on github and hover over a label, it has a hover-over view that says the label name. Only when inside of the issue tab, when searching for issues, does it append to the search. Thoughts? |
we're already re-directing them to a web view search, so just trying to substitute that with an in-app search. I agree that there is a lot of 'clickable' surface area on the UI and it's important not to annoy users. Also agree that users might want/expect the labelPressed -> search Issues functionality to happen in the initial issues view controller, I don't mind PR'ing that functionality instead. |
How about pushing a new search controller when tapping on the label instead of popping back to the closest such controller? Combined with the ability to tap labels in the search results, this would better match GitHub’s behavior. |
🤷♂️ my suggestion would still be only the search vc has a clickable label and the others just show the label description or name. I think pushing may make more sense than popping but pushing could lead to a stack full of search vc's and issues vc's unless I'm understanding it wrong. |
IMO that stack is expected since that’s how the browser version behaves. You can hit “back” multiple times to get back to the notifications, or the UI could be changed so the tab bar is always visible and users could click on the appropriate icon to get back to notifications. |
IMO this should just push another search VC w/ the new filter and not pop back. That's a little bit of a jarring experience IMO. If we're worried about having the editable search bar, maybe we add an option to make the search VC searchable or "fixed". But I'd just start w/ pushing a new search VC. |
@rnystrom to let people tap labels in the repoIssueSectionList (the main RepositoryIssuesVC list), we still want to push a new view controller? That makes sense to me, just double checking. |
@BrianLitwin Why would we push? I think it should just edit the current search. Sent with GitHawk |
@Huddie You're right, we could do it that way too. Specifically, I was thinking that it would be easier to return to the default state of the RepositoryIssuesVC by pressing back from the Pushed VC, than by editing the search bar. You see what I'm saying? That might not be a great assumption tho. |
🤔 ya it’s tough to nab both the expected result of updating search bar, but also giving a quick way to revert. I still feel that expected behavior of filling in the search rather then pushing a whole new VC makes more sense. Otherwise we are pushing a new vc that’s exactly the same with one difference, the text. 🤷♂️. Maybe a clear labels button or something to make removing labels from the search bar quicker ? Sent with GitHawk |
@BrianLitwin any update on labels in repoIssueVC? Should this issue be closed? Sent with GitHawk |
Oops. @BrianLitwin pushing is probably the simplest to get moving? But if editing in place is easy, that would be cool! |
I want to track an extra detail of this feature, which is trying to give the user some touchDown feedback when they tap a label so that they understand what's happening when the view transitions.. possibly darken the font or dim the background of the IssueLabel? |
How about reducing its alpha? |
Currently you cannot tap labels in the repoIssueSectionList but can once you tap into a specific issue (it will redirect you)
When tapping on a label in Repo Issue List:
I think we should just add is:”(label-name)” to the search so that it filters by that label
When tapping on a label inside a specific issue:
We should open the repo issue list in app and again append is:”(label-name)”
Sent with GitHawk
The text was updated successfully, but these errors were encountered: