-
Notifications
You must be signed in to change notification settings - Fork 395
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2329 +/- ##
==========================================
+ Coverage 93.26% 93.28% +0.01%
==========================================
Files 230 231 +1
Lines 12949 12979 +30
Branches 1849 1851 +2
==========================================
+ Hits 12077 12107 +30
Misses 872 872
Continue to review full report at Codecov.
|
How did you go about drilling props? Is there a tool I can use on my PRs? |
Nah. Sadly, it's all manual. The fix there is to migrate to using hooks, which allow us to gracefully consume multiple contexts in the same component. But that effort is waiting for either (i) Enzyme to support hooks in its shallow renderer, or (ii) a gradual rework of the test suite to use mount() instead. See #1437 for some discussion and links to draft implementations of alternatives that we've explored in the past. |
20d96ec
to
0781b23
Compare
Why is it your PR has codecov? Is this a draft only feature? |
It's because of the way we're using Azure DevOps and its CodeCov reporter. For some reason, we only get coverage data and the coverage change comment when we have both "push" builds and "pull request" builds. When you make pull requests from a fork, only the "pull request" build runs. If I can work it out, I can try to tackle that as part of #2298. |
Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.
Requirements
Description of the Change
Implement the "blank" states of the GitHub tab when:
I'm doing this by keying off of the active Repository's state in GitHubTabView, and launching the dialogs introduced in #2222.
Remaining work:
Screenshots
Alternate Designs
See the feature request.
Benefits
Users will no longer be presented with a blank, featureless tab if they open the GitHub tab without any repositories open (😬). The existing error view -- when the current repository has no remotes -- is improved with an action you can take, to publish it.
Possible Drawbacks
We still don't handle Enterprise, which means that you could have a remote pointing to an Enterprise instance and we'll still tell you we don't have any GitHub remotes. Accurate, but frustrating.
Applicable Issues
Feature request: #2111.
Metrics
create-github-repository
event when a repository is created simultaneously locally and on GitHub.publish-github-repository
event when an existing local repository is pushed to a newly created GitHub repository.init-publish-github-repository
event when a non-git project folder is initialized and published to a newly created GitHub repository at the same time.clone-repository
event when a repository is cloned with the clone dialog.Tests
Standard unit test coverage.
Documentation
Flight manual documentation of the new path to the Clone dialog: atom/flight-manual.atom.io#573
Release Notes
User Experience Research (Optional)
N/A