-
Notifications
You must be signed in to change notification settings - Fork 588
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
Allow to mark a file as "reviewed" #520
Comments
@bpasero can you not just review the files in order and keep track of which file you're up to? |
@bpasero I like to jump around a lot when reviewing and typically go in order that is not reflected by the alphabetic sort order |
I may look into this, as I definitely like to use this sort of workflow when doing PRs. |
Cool, that's great inspiration! I will start looking into this. |
If anyone wants to take this one, I'm having a bit of trouble as the decoration type UI stuff I'm super unfamiliar with. I will keep looking at it if nobody else does but I'm taking on some easier ones to get more familiar with the project first. |
@justinliew this one is probably best to go through our UX people first as it's not clear what the flow will look like. |
Sounds good. I'll keep watching this one but leave the design for the people with the know-how/expertise to ensure consistency. |
Hello, are there any updates on this? +1, would love to use this feature! |
This gets a +1 from me as well. |
Coming back to this to point out that there is UI already in the web to do something like this. Details are here: I could easily see this as a checkbox in the tree view. |
This issue relates to this issue as well, and for me I have to review PR in two places, one in VSCode because of a nice tree structure and editor, and another in Github to mark file as viewed. Would be great to have it in VSCode. Can somebody maybe point to the place in source where one might think implementing this? |
Hey @dentuzhik! There isn't a way to render a checkbox in the tree, but we could show a checkmark decoration next to files that are marked as viewed. In the below screenshot, the diamond and letter indicating the git status are tree decorations: We could have an inline action or an entry in the context menu for marking the file as viewed, there are some examples of that here. I just tried looking through the GitHub API docs (both v3 and v4) to see what calls we would need to make to get which files are already marked as viewed, and I wasn't able to find anything about it. I'm not sure if the API is not publicly available, or if I just missed it. Let me know if you're able to find it! I'd love to take a PR for this. |
Much appreciated help, thank you 🙌 |
I'm glad that this got into the backlog :D A year has passed, but it seems that there's actually a v4 version of this API available, so 🤞🏼 we'll see this some time soon! |
@RMacfarlane. Could you tell me how can I enable that? |
This hasn't been released yet, we follow the same shipping schedule as VS Code, so should have a new version two weeks from now. In the meantime if you want to try it out, you can use the Nightly version of the extension: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github-insiders (Note that the Nightly and Stable versions of the extension can't be installed side by side since their commands will conflict, so you will have to uninstall the Stable version to use Nightly) |
Thank you @RMacfarlane. You guys are doing an amazing job. |
My workflow with pull requests goes typically like this:
I am missing the last part and this blocks me from using this extension in my day to day workflow for more complex changes.
The text was updated successfully, but these errors were encountered: