Commit Graph

3104 Commits

Author SHA1 Message Date
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
Pascal Hartig
ca5ffccfc5 Explicitly depend on glob types
Summary:
We use them implicitly right now which causes problems
with upgrades. See https://github.com/facebook/flipper/compare/master...facebook:greenkeeper%2Fpkg-4.4.4
where a patch upgrade removes the dependency and breaks the build.

Glob is used in the new TypeScript-ified plugin building process.

Reviewed By: nikoant

Differential Revision: D20189781

fbshipit-source-id: 3b2af349f64a470e1f3e5a78d69b94d7f28e1332
2020-03-02 04:24:28 -08:00
Pascal Hartig
4c9b1dfd1a Make SeetingsSheet test deterministic
Summary:
The platform check is a side-effect and shouldn't be in the UI component
itself.

Reviewed By: mweststrate

Differential Revision: D20159799

fbshipit-source-id: c5fa99e0b915a140f10056283671cf5b7368e9c9
2020-03-02 04:09:26 -08:00
Pascal Hartig
5c441d5efb Flipper Bump: v0.32.3-SNAPSHOT
Summary:
psyduckphoto

(Note: this ignores all push blocking failures!)

Reviewed By: nikoant

Differential Revision: D20158708

fbshipit-source-id: 0751a582a310547757703a926b31a5bb5ef2be26
2020-02-28 08:51:35 -08:00
Pascal Hartig
76f2f0f554 Flipper Release: v0.32.2
Summary:
Bugfix release for plugin detection/compilation.

(Note: this ignores all push blocking failures!)

Reviewed By: nikoant

Differential Revision: D20158707

fbshipit-source-id: a0d2a235b48a00d5821a033df30fb5b60cb54f23
2020-02-28 08:51:34 -08:00
Anton Nikolaev
9edb86f440 Update keytar to match electron 8.0.1
Summary: Updated keytar to match electron 8.0.1

Reviewed By: passy

Differential Revision: D20160252

fbshipit-source-id: fee8aaf152c7a95a62f5b9985c3615c99b5ed0d9
2020-02-28 08:34:14 -08:00
Anton Nikolaev
58225fe113 Yarn start is hanging
Summary: Fixed hanging on "yarn start"

Reviewed By: passy, cekkaewnumchai

Differential Revision: D20158451

fbshipit-source-id: 0aa834e33ce622cc264005d0648546608f208d07
2020-02-28 04:09:11 -08:00
Pritesh Nandgaonkar
74e1376089 Fix the edge case to export and import broken export
Summary:
This diff fixes the broken export which is being made [here](https://fb.workplace.com/groups/graphqlandroid/permalink/3319822971399628/). In the import there is no client and plugin states. The fact that the validation succeeded on submit button click suggests that the app got disconnected between the click on submit button and the initiation of export, thus exporting the store with no plugin data and client.

I have added a validation after exporting the store and before the trace is uploaded.

Also in the support request details page, we assumed that client can't be null,  relaxed this assumption as the flipper should still open even the above broken export instead of crashing.

Reviewed By: mweststrate

Differential Revision: D20136295

fbshipit-source-id: f589d01f8ff0ec0b23d53ad5099e11ebbd0930cd
2020-02-28 00:04:35 -08:00
greenkeeper[bot]
f44d2e4560 @allow-large-files [flipper][PR] Update flow-bin to the latest version (#829)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.118.0` to `0.119.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:** [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/829

Reviewed By: nikoant

Differential Revision: D20139183

Pulled By: passy

fbshipit-source-id: fca3711e4299e02cc138e370ade8376c374a6f40
2020-02-27 12:40:48 -08:00
Hilal Alsibai
68bc277c6c Add theme data for components in the layout inspector
Summary: Adds the theme information relating to a Litho component in the layout inspector

Reviewed By: sjkirby

Differential Revision: D20133889

fbshipit-source-id: 93acb745f47c1ff9ce37be35a05b4a6269193a47
2020-02-27 12:36:30 -08:00
Pascal Hartig
887a8721c5 Upload dmg artifact on tag (#836)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/836

^

Reviewed By: nikoant

Differential Revision: D20139272

fbshipit-source-id: 0246b571399744b57aa8a222bbcad7238f52fe96
2020-02-27 12:28:13 -08:00
Anton Nikolaev
6eb027a9ee Upgrade Electron to 8.0.1 (#837)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/837

Another attempt to upgrade Electron

Reviewed By: passy

Differential Revision: D20098881

fbshipit-source-id: 5bed38ab84d1d42336c5845b7f4aec8edba70daf
2020-02-27 10:07:40 -08:00
Pascal Hartig
2ed6230013 Flipper Bump: v0.32.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: cekkaewnumchai

Differential Revision: D20115910

fbshipit-source-id: d9e452f544edeb4f3506757b108c6273cc4ca99a
2020-02-27 09:50:55 -08:00
Pascal Hartig
959fcee827 Flipper Release: v0.32.1
Summary: Bugfix release with previous Electron version.

Reviewed By: cekkaewnumchai

Differential Revision: D20115911

fbshipit-source-id: 5f84c72f7e4b33d7661e7e6a4db64c51daa38851
2020-02-27 09:50:55 -08:00
Lucas Bento
be360157f6 Add DMG target to mac distribution (#833)
Summary:
Fixes https://github.com/facebook/flipper/issues/807 by adding a DMG target to distribute the application for mac.

The `.dmg` file is `97.2 MB` while the `.zip` is `101.5 MB`. 😄

![image](https://user-images.githubusercontent.com/6207220/75275890-7c32b480-5805-11ea-9d05-9a4f47d03562.png)

## Changelog

Add DMG target for mac distribution
Pull Request resolved: https://github.com/facebook/flipper/pull/833

Test Plan:
1. `yarn build --mac`;
1. Check `flipper-mac.dmg` inside of `dist`.

 ---

**The background is completely discussable, I borrowed it [from an old project](https://github.com/lucasbento/react-native-actions/tree/feature/electron/packages/electron-react-native-actions) of mine and it's [totally not inspired by WebStorm `.dmg` file](https://user-images.githubusercontent.com/6207220/75276024-b3a16100-5805-11ea-8c69-063fe28316c1.png).**

Reviewed By: nikoant

Differential Revision: D20139188

Pulled By: passy

fbshipit-source-id: 1aaaabd7c6ac51d12865388bf962d164f80a7a14
2020-02-27 09:40:31 -08:00
Anton Nikolaev
ab0078a13f Typescriptify the main process code (14/N)
Summary: Converted scripts/yarn-install.js to typescript

Reviewed By: passy

Differential Revision: D20098071

fbshipit-source-id: be56a95a11089cd857efb00e62866213a88b739c
2020-02-27 05:45:24 -08:00