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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get author info tooltips working again #2104

Merged
merged 5 commits into from Apr 30, 2019

Conversation

Projects
2 participants
@smashwilson
Copy link
Member

commented Apr 29, 2019

Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • Suggestion: You can use checklists to keep track of progress for the sections on metrics, tests, documentation, and user research.

Description of the Change

Fixes #2094 by updating the GraphQL query and component props to reflect the renaming of Organization#membersWithRole to Organization#members.

Screenshot

N/A

Alternate Designs

UserMentionTooltipItem is one of the old-style tooltips. I could modernize it, but I opted for a surgical fix here.

Benefits

User mention tooltips will work again.

Possible Drawbacks

N/A

Applicable Issues

Fixes #2094

Metrics

N/A

Tests

I tested it out with the PR in the issue screenshot 馃槃

Documentation

N/A

Release Notes

  • User mention tooltips correctly fetch data again.

User Experience Research (Optional)

N/A

smashwilson added some commits Apr 29, 2019

@smashwilson smashwilson self-assigned this Apr 29, 2019

@smashwilson smashwilson added this to In progress in Sprint : 4 April 2019 - 8 May 2019 : v0.29.0 via automation Apr 29, 2019

@codecov

This comment has been minimized.

Copy link

commented Apr 29, 2019

Codecov Report

Merging #2104 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2104      +/-   ##
==========================================
+ Coverage   92.55%   92.58%   +0.03%     
==========================================
  Files         207      207              
  Lines       12021    12021              
  Branches     1746     1746              
==========================================
+ Hits        11126    11130       +4     
+ Misses        895      891       -4
Impacted Files Coverage 螖
lib/containers/user-mention-tooltip-container.js 100% <100%> (+100%) 猬嗭笍

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 4ef8aac...a566a46. Read the comment docs.

smashwilson added some commits Apr 29, 2019

Take possession of node and selection objects within a FragmentSpec
Otherwise, it turns out the `.splice()` calls modify the query directly, 
which can contaminate other specs in really weird ways 馃槺

@smashwilson smashwilson requested a review from atom/github-package Apr 29, 2019

@kuychaco
Copy link
Member

left a comment

Thanks for getting these working again!

LGTM! 馃憤

@smashwilson smashwilson merged commit cf10092 into master Apr 30, 2019

14 checks passed

atom.github Build #20190429.12 succeeded
Details
atom.github (Lint) Lint succeeded
Details
atom.github (Linux beta) Linux beta succeeded
Details
atom.github (Linux dev) Linux dev succeeded
Details
atom.github (Linux stable) Linux stable succeeded
Details
atom.github (MacOS beta) MacOS beta succeeded
Details
atom.github (MacOS dev) MacOS dev succeeded
Details
atom.github (MacOS stable) MacOS stable succeeded
Details
atom.github (Snapshot) Snapshot succeeded
Details
atom.github (Windows beta) Windows beta succeeded
Details
atom.github (Windows dev) Windows dev succeeded
Details
atom.github (Windows stable) Windows stable succeeded
Details
codecov/patch 100% of diff hit (target 92.55%)
Details
codecov/project 92.58% (+0.03%) compared to 4ef8aac
Details

Sprint : 4 April 2019 - 8 May 2019 : v0.29.0 automation moved this from In progress to Merged Apr 30, 2019

@smashwilson smashwilson deleted the aw/author-info-tooltip branch Apr 30, 2019

smashwilson added a commit that referenced this pull request May 8, 2019

Merge pull request #2104 from atom/aw/author-info-tooltip
Get author info tooltips working again

This was referenced May 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.