Commit Graph

3119 Commits

Author SHA1 Message Date
Andrey Mishanin
f544d95953 Displaying component identifiers
Summary: Adding the new "Identity" section to CK components' description.

Reviewed By: cuva

Differential Revision: D19948738

fbshipit-source-id: cbd9bc9c77b6f6503e10cfc75581ef4b94dd0247
2020-03-11 09:41:06 -07:00
Andrey Mishanin
127cb604be Use unique id for both root and hosting views
Summary: Same as D19600721, but supports hosting views too.

Reviewed By: cuva

Differential Revision: D19949935

fbshipit-source-id: 4490b03aff9f6d00003cf59468081cc3a4fef598
2020-03-11 09:31:09 -07:00
Pritesh Nandgaonkar
0b8c2e27aa Update iOS deps
Summary:
This diff updates the podfile.lock and also updates all the dependencies in the lfs. Actually we don't need all the dependencies to be reuploaded in the lfs, but current script packs everythin in Pods folder and uploads it, I will upload the logic to look for the diff and only upload the changed dependencies.Also we can merge this logic in our release script. I will put this up in later diffs.

Right now the CK folks are stuck due to the release of CK dependency and their OSS job is failing and this should fix the failing oss-ios job on diff D19948738

Reviewed By: Andrey-Mishanin

Differential Revision: D20378076

fbshipit-source-id: 56ed996cd75fba77a15e7264f9e5c27b262f00d2
2020-03-11 06:35:48 -07:00
Michel Weststrate
724fb79fe7 Don't submit release automatically when running on SC
Summary:
Our SC release job failed when submitting directly from the prepare-release script, as the jf context wasn't properly setup. So instead we reuse the code we already have for that in SandcastleFlipperAutoReleaseCommand.

However, for manual releases we still do submit automatically and in name of the current user.

Reviewed By: passy

Differential Revision: D20384247

fbshipit-source-id: ed5eca180f009611f2890f8cb665bf203789d189
2020-03-11 04:50:45 -07:00
greenkeeper[bot]
525d1982e5 Update @types/recharts in group plugins to the latest version � (#844)
Summary:
## The devDependency [types/recharts](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `1.7.1` to `1.8.6`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/844

Reviewed By: mweststrate

Differential Revision: D20303319

Pulled By: passy

fbshipit-source-id: e9c01edf50b020bb498023ed059f855b4c17d9f9
2020-03-11 03:39:21 -07:00
greenkeeper[bot]
5e71794158 @allow-large-files [flipper][PR] Update flow-bin to the latest version � (#842)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.119.0` to `0.119.1`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [jbrown215](https://www.npmjs.com/~jbrown215)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/842

Reviewed By: cekkaewnumchai

Differential Revision: D20303393

Pulled By: passy

fbshipit-source-id: b08d88b3b24db8e041a06e9e64d8442efc64eb6d
2020-03-11 03:18:45 -07:00
Michel Weststrate
4ada403841 generate-changelog.js should be Node 6 compatible
Summary:
Node on SandCastle is ancient, this change makes sure we can use the node version of `www`.

Node 6 can't parse dangling comma's in argument lists, which is what prettier automatically inserts by fbsource standards

Reviewed By: passy

Differential Revision: D20366026

fbshipit-source-id: 1b2a0c1506e8671fa268fab7a8d3bfcd5064bb0b
2020-03-10 10:41:24 -07:00
Anton Nikolaev
82881b7463 Yarn start Failed with "Error: Unable to resolve module react-redux" (#883)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/883

https://github.com/facebook/flipper/issues/835

Reviewed By: passy

Differential Revision: D20363818

fbshipit-source-id: 66b7cb7236c7b066db32473a9e993ba2ace529bc
2020-03-10 09:18:44 -07:00
Michel Weststrate
8a7e0578ff Update to rc.5
Summary:
* Followed plan of D20221558
* Manually bumped Flipper version on iOS to 0.33.1, which contains https://github.com/facebook/flipper/pull/874/files (make Flipper compatible with iOS 9).
* Will submit a PR on RN to bump the iOS template

Reviewed By: passy

Differential Revision: D20361824

fbshipit-source-id: 4f013b731b40e2d4f941742f9201bf2bb4382ec3
2020-03-10 09:02:30 -07:00
Michel Weststrate
2de3c69950 Lower requirement of flipper-react-native to iOS 9.0
Summary:
In line with, https://github.com/facebook/flipper/pull/874/files, the package should promote itself as iOS 9.0 compatibe, to prevent errors and warnings like:

```
mweststrate-mbp:ios mweststrate$ pod install
Detected React Native module pod for react-native-flipper
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] CocoaPods could not find compatible versions for pod "react-native-flipper":
  In Podfile:
    react-native-flipper (from `../node_modules/react-native-flipper`)

Specs satisfying the `react-native-flipper (from `../node_modules/react-native-flipper`)` dependency were found, but they required a higher minimum deployment target.
```

```
mweststrate-mbp:ios mweststrate$ pod install
Detected React Native module pod for react-native-flipper
Analyzing dependencies
Downloading dependencies
Installing react-native-flipper 0.33.1
Generating Pods project
Integrating client project
Pod installation complete! There are 34 dependencies from the Podfile and 38 total pods installed.

[!] The platform of the target `ReactNativeFlipperExample` (iOS 9.0) may not be compatible with `react-native-flipper (0.33.1)` which has a minimum requirement of iOS 10.0.

[!] The platform of the target `ReactNativeFlipperExampleTests` (iOS 9.0) may not be compatible with `react-native-flipper (0.33.1)` which has a minimum requirement of iOS 10.0.
mweststrate-mbp:ios mweststrate$ cd ..
mweststrate-mbp:ReactNativeFlipperExample
```

Reviewed By: passy

Differential Revision: D20362156

fbshipit-source-id: 766d033f2ea2e5559a72a3473115bc4a470a284f
2020-03-10 09:02:29 -07:00
Michel Weststrate
9dc187cc25 Make sure prepare-release scripts works when running from another dir
Summary: Yesterday's script failed if prepare-release was invoked from another dir

Reviewed By: jknoxville

Differential Revision: D20362093

fbshipit-source-id: a0ce877a2f145f320cf346dc86e3d2568279b8b9
2020-03-10 07:10:29 -07:00
greenkeeper[bot]
85cc0d9d88 Update react to the latest version � (#843)
Summary:
## There have been updates to the *react* monorepo:

- The `dependency` [react](https://github.com/facebook/react) was updated from `16.12.0` to `16.13.0`.
- The `dependency` [react-dom](https://github.com/facebook/react) was updated from `16.12.0` to `16.13.0`.
- The `dependency` [react-test-renderer](https://github.com/facebook/react) was updated from `16.12.0` to `16.13.0`.

These versions are **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

This monorepo update includes releases of one or more dependencies which all belong to the [react group definition](https://github.com/greenkeeperio/monorepo-definitions).

 ---

**Publisher:** [threepointone](https://www.npmjs.com/~threepointone)
**License:** MIT

[Find out more about this release](https://github.com/facebook/react).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/843

Reviewed By: mweststrate

Differential Revision: D20303301

Pulled By: passy

fbshipit-source-id: 3d2a65d6b85e5a451ba41a4ae17532887a83e240
2020-03-10 03:58:29 -07:00
Pascal Hartig
13841b1cf6 DMG build: Add missing yarn install
Summary: This happened: https://github.com/facebook/flipper/runs/496468216?check_suite_focus=true

Reviewed By: mweststrate

Differential Revision: D20361438

fbshipit-source-id: 5b9649ccabf8cc06fbdf28e5f7b45bd7fb5204a9
2020-03-10 03:41:13 -07:00
Michel Weststrate
8f2dd977b7 unify internal and external release into one flow
Summary:
This diff makes updating the internal and external release part of the same flow. The will be changed to:

1. The chronos job is kicked to start a new release
2. That job kicks of `./prepare-release.sh` (see D20304039) which
   1. bumps the version of all packages
   2. generates the changelog
   3. generates a release diff + test instructions for that
   4. generates a diff with snapshot version updates
   5. submit those commits
3. when this is job is completed, the relevant release commits can be checked out and tested.
4. If these job is landed, this will kick off the OSS builds through `release.sh` (as-is). But, this will also generate a diff that updates the flipper pin to the verify same commit (new).

Next steps:
* [ ] update wiki

Code pointers (irrelevant for review):
- Chronos Job entry https://our.intern.facebook.com/intern/diffusion/WWW/browse/master/flib/intern/sandcastle/commands/SandcastleFlipperAutoReleaseCommand.php?lines=85
- Sonar build step: https://our.intern.facebook.com/intern/diffusion/WWW/browse/master/flib/intern/sandcastle/sonar/SandcastleSonarBuildStep.php?lines=84
- Release commit observer: https://our.intern.facebook.com/intern/diffusion/WWW/browse/master/flib/intern/entity/opensource/github/observers/EntOpensourceGitHubCommitBuilderObserver.php?lines=17-48

Reviewed By: passy

Differential Revision: D20283664

fbshipit-source-id: 129ea862bda4721d707f1b6fdd862a937c0ed6d5
2020-03-10 02:48:14 -07:00
Michel Weststrate
3165a5b504 Make changelog part of external rather than internal release
Summary: This makes the changelog generating part of the bump-version process, rather than the build-release

Reviewed By: passy

Differential Revision: D20284211

fbshipit-source-id: f4a5c9bdb98c91f11a216957c9d5175c4b64fe70
2020-03-10 02:48:14 -07:00
Pascal Hartig
3113d2c180 Flipper Bump: v0.33.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: mweststrate

Differential Revision: D20344544

fbshipit-source-id: 8153028d9567b2cfff807e3be4159ad8991c258f
2020-03-09 15:12:37 -07:00
Pascal Hartig
60e13335dc Flipper Release: v0.33.1
Summary: Re-release of 0.33.0.

Reviewed By: mweststrate

Differential Revision: D20344545

fbshipit-source-id: 38fd5baa8d36bc7cfa9a66a15144078e7b1f53c3
2020-03-09 15:12:37 -07:00
Pascal Hartig
87f5831ad1 Flipper Bump: v0.33.1-SNAPSHOT
Summary: ohsnap_pickles

Reviewed By: priteshrnandgaonkar

Differential Revision: D20308822

fbshipit-source-id: 1d0b979db891e2e361f0ae06e59cbcc438301498
2020-03-09 07:42:35 -07:00
Pascal Hartig
e797caff16 Flipper Release: v0.33.0
Summary:
Changelog TBD.

== Highlights ==

- React Native global hotkeys in the settings menu.

== Fixes ==

- iOS 9 support restored.

Reviewed By: priteshrnandgaonkar

Differential Revision: D20308823

fbshipit-source-id: e4d089d911af8155384c07678668662094c0c8b3
2020-03-09 07:42:35 -07:00
Eloy Durán
c6c667df69 Make iOS 9 compatible again. (#874)
Summary:
React Native v0.62.0’s template still uses iOS 9 as deployment target, bumping it to 10 this late in the release cycle is probably not a good idea, so instead I made this tiny change to make it iOS 9 compatible again.

⚠️  I made this change on top of the `v0.32.2` **tag**, as `master` was giving me a build failure and in any case it would be better to release _just_ this change as a patch release so the RN `v0.62.0-rc.3` release can go out without having to test Flipper as thoroughly again.

## Changelog

Make FlipperKit compatible with iOS 9 again.
Pull Request resolved: https://github.com/facebook/flipper/pull/874

Test Plan:
- `pod install` with a Podfile that has iOS 9 as its deployment target passes again.
- Building the Flipper Sample works.
- Building with a RN application created with the `v0.62.0-rc.3` template works.

Reviewed By: priteshrnandgaonkar

Differential Revision: D20307073

Pulled By: passy

fbshipit-source-id: 0dd02dfb810b7382c52ca81b8f1322f807fb3f29
2020-03-09 07:42:34 -07:00
Pritesh Nandgaonkar
eca300d43f Refactor oss ios job to not use pod install
Summary:
This diff adds the ability to run iOS tests without doing pod install in sandcastle. For this, the repo will already have the dependencies archived and checked into the repo. For this I have already added the script, `recreate_offline_mirrors` which takes the first argument, which is the sample app's name, in our case it will be `Sample` and `SampleSwift`. There is one more script `prepare_pods` which untars the dependencies and copies it into the Pods folders.

Reason we are moving away from using `pod install` is that internet is unreliable in sandcastle and there have been many instances that the job fails due to flaky internet.

Reviewed By: passy

Differential Revision: D20136440

fbshipit-source-id: 41028c11da6c66b484f36c7d1090ac7ffd847ec2
2020-03-09 05:12:18 -07:00
greenkeeper[bot]
cbb6c82193 Update p-map in group website to the latest version � (#865)
Summary:
## The dependency [p-map](https://github.com/sindresorhus/p-map) was updated from `3.0.0` to `4.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [sindresorhus](https://www.npmjs.com/~sindresorhus)
**License:** MIT

<details>
<summary>Release Notes for v4.0.0</summary>

<h3>Breaking</h3>
<ul>
<li>Require Node.js 10  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="bf03769576/hovercard" href="bf03769576"><tt>bf03769</tt></a></li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Ensure <code>concurrency</code> option is an integer  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="b342717a9c/hovercard" href="b342717a9c"><tt>b342717</tt></a></li>
</ul>
<p><a class="commit-link" href="https://urls.greenkeeper.io/sindresorhus/p-map/compare/v3.0.0...v4.0.0"><tt>v3.0.0...v4.0.0</tt></a></p>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 5 commits.</p>
<ul>
<li><a href="a4b4dec459"><code>a4b4dec</code></a> <code>4.0.0</code></li>
<li><a href="b342717a9c"><code>b342717</code></a> <code>Ensure <code>concurrency</code> is an integer</code></li>
<li><a href="bf03769576"><code>bf03769</code></a> <code>Require Node.js 10</code></li>
<li><a href="f8ccb4e778"><code>f8ccb4e</code></a> <code>Tidelift tasks</code></li>
<li><a href="ed1b661ae9"><code>ed1b661</code></a> <code>Fix test race condition (https://github.com/facebook/flipper/issues/21)</code></li>
</ul>
<p>See the <a href="a8c06732e4...a4b4dec459">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/865

Reviewed By: mweststrate

Differential Revision: D20303303

Pulled By: passy

fbshipit-source-id: a5c553e559d28f32e2254a9dfa7a19069e39e9fb
2020-03-06 10:38:34 -08:00
greenkeeper[bot]
687d922aae Update p-map in group main to the latest version � (#864)
Summary:
## The dependency [p-map](https://github.com/sindresorhus/p-map) was updated from `3.0.0` to `4.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [sindresorhus](https://www.npmjs.com/~sindresorhus)
**License:** MIT

<details>
<summary>Release Notes for v4.0.0</summary>

<h3>Breaking</h3>
<ul>
<li>Require Node.js 10  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="bf03769576/hovercard" href="bf03769576"><tt>bf03769</tt></a></li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Ensure <code>concurrency</code> option is an integer  <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="b342717a9c/hovercard" href="b342717a9c"><tt>b342717</tt></a></li>
</ul>
<p><a class="commit-link" href="https://urls.greenkeeper.io/sindresorhus/p-map/compare/v3.0.0...v4.0.0"><tt>v3.0.0...v4.0.0</tt></a></p>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 5 commits.</p>
<ul>
<li><a href="a4b4dec459"><code>a4b4dec</code></a> <code>4.0.0</code></li>
<li><a href="b342717a9c"><code>b342717</code></a> <code>Ensure <code>concurrency</code> is an integer</code></li>
<li><a href="bf03769576"><code>bf03769</code></a> <code>Require Node.js 10</code></li>
<li><a href="f8ccb4e778"><code>f8ccb4e</code></a> <code>Tidelift tasks</code></li>
<li><a href="ed1b661ae9"><code>ed1b661</code></a> <code>Fix test race condition (https://github.com/facebook/flipper/issues/21)</code></li>
</ul>
<p>See the <a href="a8c06732e4...a4b4dec459">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/864

Reviewed By: mweststrate

Differential Revision: D20303306

Pulled By: passy

fbshipit-source-id: 0de6df2e1a9f907c88cad30f70ff35d6af0f328b
2020-03-06 10:38:34 -08:00
Hugo Cuvillier
987822074b Back out "Use component.className instead of NSStringFromClass"
Summary:
Original diff broke OSS flipper. Need a new OSS release of CK first

Original commit changeset: 3e7564b25610

Reviewed By: kfirapps

Differential Revision: D20304743

fbshipit-source-id: 08a56359a42bc56b576d212e7cf642197a064076
2020-03-06 07:59:11 -08:00
Hugo Cuvillier
5a4ac4c32d Use component.className instead of NSStringFromClass
Summary: Use `component.className` in sonar for the layout inspector.

Reviewed By: kfirapps

Differential Revision: D20184486

fbshipit-source-id: 3e7564b2561016ee59f3b1fc9d21313e068bacb3
2020-03-06 04:06:02 -08:00
Pascal Hartig
31c9df92b8 Set up GitHub action for Doctor (#849)
Summary:
Action for Doctor.
Pull Request resolved: https://github.com/facebook/flipper/pull/849

Test Plan: Watch that box below turn green.

Reviewed By: mweststrate

Differential Revision: D20281213

Pulled By: passy

fbshipit-source-id: 87977c3f67605b4f4f080dd6ca7ab921b10a375b
2020-03-05 11:06:01 -08:00
Pascal Hartig
83807f12f6 Build mac dmg in Action (#869)
Summary:
`build --mac` no longer implies building the DMG so the upload step currently fails.
Pull Request resolved: https://github.com/facebook/flipper/pull/869

Reviewed By: mweststrate

Differential Revision: D20283002

Pulled By: passy

fbshipit-source-id: c255ae3a7e4e006e198b79ad8ce79cfd5e80b6a3
2020-03-05 10:48:05 -08:00
Pascal Hartig
ffefa0694e Remove "Expected Behavior" section from template (#871)
Summary:
This seems to only encourage snark. I've yet to see this being used productively.
Pull Request resolved: https://github.com/facebook/flipper/pull/871

Reviewed By: mweststrate

Differential Revision: D20283096

Pulled By: passy

fbshipit-source-id: 1f5d8553505eb41ef8d4000e55cacf510e46949b
2020-03-05 10:34:30 -08:00
generatedunixname89002005287564
5c44d53739 Daily arc lint --take CLANGFORMAT
Reviewed By: zertosh

Differential Revision: D20278397

fbshipit-source-id: 2188283cd01d0d9d9d5b3995bd8d3f1fd687ad55
2020-03-05 08:30:40 -08:00
greenkeeper[bot]
6f7a716748 Greenkeeper/pkg/inquirer 7.0.5 (#850)
Summary:
Fix https://github.com/facebook/flipper/issues/845
Pull Request resolved: https://github.com/facebook/flipper/pull/850

Reviewed By: mweststrate

Differential Revision: D20191859

Pulled By: passy

fbshipit-source-id: 26ec4055f74fa52e0c2a4910d90ebedaa805d714
2020-03-05 08:24:17 -08:00
Pascal Hartig
b923bcfdf1 Build and upload dmg on release (#852)
Summary:
We're no longer building this internally because it requires a Mac to build and we only use it in OSS.

Pull Request resolved: https://github.com/facebook/flipper/pull/852

Reviewed By: mweststrate

Differential Revision: D20250521

Pulled By: passy

fbshipit-source-id: c1691c62b2db3bc22cb0231040f593a35ec4f17e
2020-03-05 08:14:10 -08:00
Michel Weststrate
52b907fa25 Ignore watchmanconfig in fbsource (#868)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/868

As discussed in D20252170

Reviewed By: passy

Differential Revision: D20278783

fbshipit-source-id: c965520a0ad44bf1838224003017177c149025e9
2020-03-05 08:10:16 -08:00
Michel Weststrate
04acc9cfd7 Generate changelog during release [1/n]
Summary:
The script introduced here finds the last auto released diff in the history, and scans all diffs in between, in the `xplat/sonar` directory for `CHANGELOG: `entries.

Didn't make a distinction between internal and external commits at this point, as plugins are moving to their independent release process, in which case we have to revisit this anyway, and this will probably not result in too much noise.

Will perform some additional tests to see everything works out nicely with the release process, and post instructions in UI Tools group and wiki once this has landed.

(lol, meta:)

CHANGELOG: Flipper will now generate a changelog during release

Reviewed By: passy

Differential Revision: D20190698

fbshipit-source-id: e3b87cd986a17873c06b5f97b2ebffaf197ed0bf
2020-03-05 06:01:08 -08:00
Pascal Hartig
07f1ddb1c4 Disable lint pkg (#867)
Summary:
This is too aggressive right now.
Pull Request resolved: https://github.com/facebook/flipper/pull/867

Reviewed By: nikoant

Differential Revision: D20279641

Pulled By: passy

fbshipit-source-id: cdf1d65f0d4137ab689d228846e9c20ec1230b1a
2020-03-05 05:41:29 -08:00
Pascal Hartig
976efc24e8 Fix prettier issue (#866)
Summary:
I think I broke this. Soz.
Pull Request resolved: https://github.com/facebook/flipper/pull/866

Reviewed By: nikoant

Differential Revision: D20279605

Pulled By: passy

fbshipit-source-id: 4e2ed3b1230adae67f3f3a90020b8539ba00086a
2020-03-05 05:41:29 -08:00
Pascal Hartig
0cfbd2a3da Upgrade Jest
Summary: ts-jest is unhappy with us using an old version. Let's bump it.

Reviewed By: mweststrate

Differential Revision: D20191204

fbshipit-source-id: d6ed4ad9bf20c4011ae9be1048a116ddc5ee6028
2020-03-05 05:00:45 -08:00
Michel Weststrate
f3fd8646e3 Upgrade example app to 0.62.0-rc.3
Summary:
^

1. Remove entire `react-native/ReactNativeExampleFlipper` folder
2. Run `npx react-native init --version 0.62.0-rc.3 ReactNativeExampleFlipper`
4. restore the `package.json` and `TicTacToe` file and import
5. removed `.eslintrc`, `_BUCK` and `build_defz.bzl`, `.watchmenconfig`

Added comments below to highlight the non-generated changes

Reviewed By: passy

Differential Revision: D20221558

fbshipit-source-id: da1c895a2b0e7ce48092e64cdb5ffdb9e4a1a10b
2020-03-04 19:00:20 -08:00
Pascal Hartig
1351496c2c Re-enable release editing on windows
Summary:
There's a lot going on here:

- I'm moving over to android build hosts. They're are faster and more plentiful. They seem to work just fine for what we do. We already have a tenant capacity for them. *Edit:* Even more importantly, we need `adb` for certain tasks. The Android SDK isn't installed on Lego.
- I'm splitting our `sandcastle_setup` up into a pure yarn setup and an electron setup. The latter downloads from LFS and installs Wine (on Linux) which takes some time. This isn't needed unless we actually run Electron. That's for builds and Electron tests only.
- There were so, so many weird little edge cases. One of them is that `electron-builder`'s `app-builder` (a go app) switches between an x86 and an x86_64 version of wine to use for signing Windows apps, but only on Mac. On Linux it's hard-coded to 32bits. So we need to manually override the binary in the cache. I do this in the script rather in the cache because this is impossible to remember when upgrading.
- Wine is only bundled for Mac. On Linux you have to get it somewhere else. Luckily, we run as root, so we can do that.
- `$HOME` is set to `/var/twscsvc` which isn't owned by `root` but by `twscsvc`. Wine no happy. So we have to manually set this to a path that `root` owns. Hence the `export HOME`.

Reviewed By: nikoant

Differential Revision: D20223753

fbshipit-source-id: 0b2b09d19409ce172f395a7d1f85ec601654c6f6
2020-03-04 11:06:15 -08:00
Pascal Hartig
254cf696d6 Run build job on Linux
Summary:
This works now with the Electron update. Wine doesn't work there so the app signing step needs to be disabled. I'm not entirely sure if this has other consequences than disabling signing - which we don't use.

We also can't build `.dmg`s on Linux because it relies on a CLI tool that only exists on Macs. But we can quite easily move this to GitHub Actions, which I set up with https://github.com/facebook/flipper/pull/852

Reviewed By: nikoant

Differential Revision: D20160545

fbshipit-source-id: a888c8b0e8f7dbe8bec818d57f5f22bcf800322c
2020-03-04 11:06:14 -08:00
Pritesh Nandgaonkar
f03f119f0e Fix the broken target selector
Summary:
The target selector was broken on iOS. The overlay view which has the gesture recognizer, was never added to the window, due to which the gestures were not registered and the feature broke.

This diff adds the overlay view in the window object as the subview and then discards it in its view descriptor as otherwise we will capture all our touches in this view.

This was the most popular bug in our research trip and almost everyone reported it.

Reviewed By: fabiomassimo

Differential Revision: D20225594

fbshipit-source-id: af4041859d7e662152b2575d1eb258dd0c2d990e
2020-03-04 06:46:59 -08:00
Chaiwat Ekkaewnumchai
31bafadaa3 Rewrite ContextMenu and ContextMenuProvider to Use Modern Context
Summary: per title

Reviewed By: mweststrate

Differential Revision: D20197959

fbshipit-source-id: 395eba0f1e2f4606a70067a63aa91a2f2a732afd
2020-03-03 12:58:42 -08:00
Jonathan Thomas
ec13009673 Update bug reporting dialog for GraphQL
Summary: Fix a grammatical error and update the POC / group.

Reviewed By: rzlee

Differential Revision: D20221810

fbshipit-source-id: 03169e88f8b25f0ab0e9fa78e95777ceeca708b6
2020-03-03 12:55:16 -08:00
Chaiwat Ekkaewnumchai
4f3f40ee2f Dummy Flow Type for Electron V.8.0.1
Summary: We still use `flow` internally. The script to generate Electron API doesn't work as expected.

Reviewed By: passy

Differential Revision: D20224009

fbshipit-source-id: 371e5e857537811c863d81e5bafa0ec6a912c9fe
2020-03-03 12:34:32 -08:00
greenkeeper[bot]
ff1b3a4382 Update @types/node in group doctor to the latest version � (#840)
Summary:
## The dependency [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `12.12.28` to `13.7.5`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/840

Reviewed By: passy

Differential Revision: D20189689

Pulled By: cekkaewnumchai

fbshipit-source-id: 710179a10e3f85d13fc7cfed77de2c0bfcf5153a
2020-03-03 09:57:30 -08:00
Chaiwat Ekkaewnumchai
2afa75a5a7 Change npm to yarn
Summary:
`npm` is not found in Tupperware and cause an error in Sandcastle (https://our.intern.facebook.com/intern/sandcastle/job/36028797237063790/).

Changing from `npm` to `yarn`

Note:
- changing job spec (`vcs` and `type` in `capacities`) without changing `npm` passes the test (https://our.intern.facebook.com/intern/sandcastle/job/18014398729063207). Not sure what to do now

Reviewed By: nikoant

Differential Revision: D20191486

fbshipit-source-id: b354c28a61dbce7bc165bd43c4c608fe359a9670
2020-03-03 09:57:29 -08:00
Pascal Hartig
26a5a87158 Set up pkg GitHub Action (#848)
Summary:
Setting up another action for `flipper-pkg`.
Pull Request resolved: https://github.com/facebook/flipper/pull/848

Reviewed By: nikoant

Differential Revision: D20191654

Pulled By: passy

fbshipit-source-id: 18e8fd7f697fe9a7f11c85d13b50322cbd218d12
2020-03-03 09:24:23 -08:00
Lucas Bento
d1fb8bed4a Add React Native/Metro hotkeys (#822)
Summary:
This PR fixes https://github.com/facebook/flipper/issues/798 by adding customizable hotkeys to reload and/or open developer menu in React Native apps.

![Screenshot of the Preferences window with hotkeys](https://user-images.githubusercontent.com/6207220/75113976-b27c0280-5652-11ea-8d5d-020d2650425b.png)

#### TODO:

- [x] Add correct icon for removing content of the hotkey input (currently using `undo`) - cc passy 😄

## Changelog

Add customizable hotkeys to reload and/or open developer menu in React Native apps.
Pull Request resolved: https://github.com/facebook/flipper/pull/822

Test Plan:
- Run React Native on version `0.62.0-rc.2` (you can use this app: https://github.com/lucasbento/RNWithFlipper);
- Open the Preferences window (`⌘,`);
- Customise the React Native hotkeys to whatever you want;
- Test them out with Flipper's window active and inactive.

> **Note**: this has been tested only in macOS.

Reviewed By: jknoxville

Differential Revision: D20061833

Pulled By: passy

fbshipit-source-id: 601d29e07d7de2683d2c70c7c87f0d841aa3559e
2020-03-03 09:22:03 -08:00
Timur Valiev
2d9d0314b9 add a context menu to copy URI
Summary: It's handy to copy images URI to paste it in other tools

Reviewed By: mweststrate

Differential Revision: D20221861

fbshipit-source-id: 09074b434d5c1277bb83daa7846b885717c5ee8d
2020-03-03 08:57:05 -08:00
Anton Nikolaev
3ddd1c14f2 Bundle operation implementation
Summary: Plugin bundling operation implemented in flipper-pkg

Reviewed By: passy

Differential Revision: D20191845

fbshipit-source-id: 6a7156debf96668c323dcb740b33542f129f0689
2020-03-02 10:29:09 -08:00
greenkeeper[bot]
6766fb9d56 Update @types/node in group pkg to the latest version � (#841)
Summary:
## The dependency [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `12.12.28` to `13.7.5`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/841

Reviewed By: mweststrate

Differential Revision: D20184881

Pulled By: passy

fbshipit-source-id: e08d8bda9f9382bd5c9f2c44759a4a778f4de156
2020-03-02 07:59:56 -08:00