Conversation
…ience # Conflicts: # src/GitHub.App/ViewModels/PullRequestListViewModel.cs
…t as a pull request number filter
Conflicts: src/GitHub.App/SampleData/PullRequestListViewModelDesigner.cs src/GitHub.App/ViewModels/PullRequestListViewModel.cs src/GitHub.Exports.Reactive/ViewModels/IPullRequestListViewModel.cs
Conflicts: src/GitHub.App/ViewModels/PullRequestListViewModel.cs
Instead of displaying our own search box in the PR list, use the built-in search box provided by `ToolWindowPane`.
`SearchHost` won't be present until that point.
These changes LGTM ✅ . The filter box is really nice. |
I've been using this and it's really useful functionality! One thing that feels a little wrong. I want to be able to enter a PR number and hit return to open it (like you can with some other VS search boxes). This functionality would also be useful when in the PR details view, where you can see the search box but can't use it. Would either of these be appropriate for this PR? |
Yes the search could be useful in the PR details view too, but we'd need to decide what it did. Filter the changed files list? Highlight the search term in the description? For these reasons I felt it best just to disable it in the PR details for now, we can address searching there in another PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great! Support for hitting enter would be nice in a separate PR. 👍
Ah I understand, sorry. Hitting enter submits the query immediately, instead of waiting for the throttle timeout. What other VS search boxes use hitting enter to navigate rather than submit the query immediately? |
|
Hmm, ok. To me these search bars are slightly different, in that they're not filters, but lets discuss this separately I'd say. |
Adds a filter box to the pull request list.
This PR supersedes #732 - moving it to a branch in this repository so we can get artifacts.
Fixes #722