-
Notifications
You must be signed in to change notification settings - Fork 399
Conversation
This comment has been minimized.
This comment has been minimized.
Set this based on performance measurements' }</div>github/lib/views/reviews-view.js Lines 152 to 157 in 4ab6105
This comment was generated by todo based on a
|
Set this based on performance measurements' }</div>github/lib/views/reviews-view.js Lines 152 to 157 in da9c239
This comment was generated by todo based on a
|
Set this based on performance measurements' }</div>github/lib/views/reviews-view.js Lines 152 to 157 in 3d6eaff
This comment was generated by todo based on a
|
Set this based on performance measurements' }</div>github/lib/views/reviews-view.js Lines 152 to 157 in 4c3211d
This comment was generated by todo based on a
|
fixmegithub/lib/views/reviews-view.js Lines 100 to 105 in c2c08d7
This comment was generated by todo based on a
|
Codecov Report
@@ Coverage Diff @@
## master #1995 +/- ##
==========================================
- Coverage 92.58% 92.49% -0.09%
==========================================
Files 189 207 +18
Lines 11244 12010 +766
Branches 1634 1745 +111
==========================================
+ Hits 10410 11109 +699
- Misses 834 901 +67
Continue to review full report at Codecov.
|
Our tests were failing because we were rendering the fragment container instead of the direct component.
Co-Authored-By: Vanessa Yuen <vanessayuenn@users.noreply.github.com>
This fixes our failing test.
Co-Authored-By: Ash Wilson <smashwilson@gmail.com>
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.
Finished up reviewing the mutations and views, as well as all of the changes based on my review feedback. Everything looks good! Great job everyone! 🙌
Left a couple of comments, nothing blocking.
It's time to 🚢:shipit: 🚀!!!!
lib/views/multi-file-patch-view.js
Outdated
} | ||
|
||
// "forceRerender" ensures that the PullRequestReviewCommentThreadView re-renders each time that the | ||
// MultiFilePatchView does. It doesn't re-query for reviews, but it does re-check patch visibility. |
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.
I believe this comment is simply stale and we don't need to worry about re-rendering, right @smashwilson?
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.
Indeed it was just stale. Good catch 🙇
lib/views/reviews-view.js
Outdated
</summary> | ||
<nav className="github-Review-nav"> | ||
<button className={openFileClasses} | ||
data-path={nativePath} data-line={lineNumber} data-diff={rootComment.diffHunk} |
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.
🔥data-diff
as we are not using it
I've filed issues for the remaining refactor-y bits of feedback so we don't lose track of them. Thanks for the super-thoughtful review as always, @kuychaco 👌 🙇 |
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.
AHHH this is so exciting! Let's ship it! 🚀
This stuff looks amazing. Great work! Does this work with GitLab Merge Requests, or are the plans too make it GitLab compatible, or is the a GitLab equivalent feature somewhere else? |
@mcrocker thanks! we have no plans to build a GitLab integration into our package. Good news, though. Atom does have some community packages for GitLab integration. I'd try filing an issue at https://github.com/blakawk/gitlab-integration and see if you can work with the folks maintaining that package to get that feature request on their roadmap. |
Description of the Change
View pull request reviews and review comments in a dock item.
vy/prototype-for-uxr
Screenshot/Gif
TODO
Benefits
Pull request authors will now enjoy many features for responding to code review comments from the comfort of their editor.
Metrics
='open-reviews-tab', {package: 'github', from: IssueishDetailController});
open-review-thread', {package: 'github'}
'reviews-dock-open-file', {package: 'github'});
'reviews-dock-open-diff', {package: 'github'});
'reviews-dock-open-pr', {package: 'github', component: this.constructor.name});
'reviews-dock-show-more-context', {package: 'github'});
'reviews-dock-show-less-context', {package: 'github'});
'resolve-comment-thread', {package: 'github'});
'unresolve-comment-thread', {package: 'github'});
'add-single-comment', {package: 'github'});
'start-pr-review', {package: 'github', component: (ReviewsFooterView or ReviewsView})
'add-emoji-reaction', {package: 'github'});
-removing an emoji reaction
'remove-emoji-reaction', {package: 'github'});
Tests
QA checklist:
PR detail view
Comment dock
In-editor decorations
Other
Documentation
See 📈 Feature project
Release Notes
The GitHub integration now displays pull request review comments in a dock, and supports replying to comments, emoji reacting to comments, and resolving comments.
User Experience Research (Optional)
We conducted 6 user interviews while developing the prototype for this feature.