Commit Graph

3680 Commits

Author SHA1 Message Date
Pritesh Nandgaonkar
22dfc33da0 Fetch recommended and all builds types in Sidebar
Summary:
This diff updates the sidebar to show the recommended and all build types.

Also there is error handling in place along with tests. Right now the download happens by opening browser and the build gets downloaded in the download folder. But later in the diffs I will improve this flow to do that in the Flipper with a UX showing status updates.

Reviewed By: mweststrate

Differential Revision: D21556383

fbshipit-source-id: 6de9a00fe416c22cae7bacf91828a2221644eac7
2020-05-20 08:14:25 -07:00
Chaiwat Ekkaewnumchai
a5cd79ea8b Export FileSelector
Summary: FileSelector was added in D19743998, but it was not exported to be used by other. This diff exports it so that developers can use.

Reviewed By: mweststrate

Differential Revision: D21653870

fbshipit-source-id: 062247fa7a14c7ddf87c927205880a695598928d
2020-05-20 06:58:37 -07:00
dependabot-preview[bot]
74ce4f1e5b Bump ts-jest from 25.4.0 to 26.0.0 in /desktop (#1172)
Summary:
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.4.0 to 26.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/kulshekhar/ts-jest/compare/v25.5.1...v26.0.0">26.0.0</a> (2020-05-15)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> return <code>undefined</code> for <code>getScriptVersion</code> when a file doesn't exist in memory cache (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1641">#1641</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/6851b8e">6851b8e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>support Jest v26 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1602">#1602</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/23b7741">23b7741</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Requires a minimum of TypeScript v3.8</li>
<li>Drop support for Node 8</li>
</ul>
<p><a name="25.5.1"></a></p>
<h2><a href="https://github.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1">25.5.1</a> (2020-05-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> don't resolve files from build folder for <code>projectReferences</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1614">#1614</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/74b92d3">74b92d3</a>)</li>
<li><strong>config:</strong> don't set <code>include</code> value of <code>tsconfig</code> to empty array (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1606">#1606</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/8a29aaa">8a29aaa</a>)</li>
</ul>
<p><a name="25.5.0"></a></p>
<h1><a href="https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v25.5.0">25.5.0</a> (2020-05-05)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> make <code>projectReferences</code> work with <code>isolatedModules: false</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1541">#1541</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3e8efbe">3e8efbe</a>)</li>
<li><strong>compiler:</strong> allow using <code>files</code> provided by <code>tsconfig</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1562">#1562</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/a9f02bd">a9f02bd</a>)</li>
<li><strong>config:</strong> verify <code>testMatchPatterns</code> contain RegExp instance or string type values (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1569">#1569</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/7f85bab">7f85bab</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>config:</strong> add <code>tsconfig</code> alias to <code>tsConfig</code> option (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1565">#1565</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c10eb6d">c10eb6d</a>)</li>
<li><strong>config:</strong> define 'ts-jest' on <code>ConfigGlobals</code> interface of <code>jest/types</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1592">#1592</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/4526392">4526392</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>compiler:</strong> don’t write compile output to file system but rely on jest cache (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1561">#1561</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/d11a4ea">d11a4ea</a>)</li>
</ul>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bcf26974c4"><code>bcf2697</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1649">#1649</a> from kulshekhar/dependabot/npm_and_yarn/types/fs-ext...</li>
<li><a href="497f5c994f"><code>497f5c9</code></a> build(deps-dev): bump types/fs-extra from 8.1.0 to 9.0.0</li>
<li><a href="35001a2c7c"><code>35001a2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1646">#1646</a> from ahnpnl/v26.0.0</li>
<li><a href="1db8be5ec4"><code>1db8be5</code></a> chore(release): 26.0.0</li>
<li><a href="47007f13ff"><code>47007f1</code></a> build(deps-dev): bump types/js-yaml from 3.12.3 to 3.12.4 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1644">#1644</a>)</li>
<li><a href="9741de4c2a"><code>9741de4</code></a> build(deps-dev): bump types/cross-spawn from 6.0.1 to 6.0.2 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1643">#1643</a>)</li>
<li><a href="6851b8eae8"><code>6851b8e</code></a> fix(compiler): return <code>undefined</code> for <code>getScriptVersion</code> when a file doesn't ...</li>
<li><a href="6b22e08833"><code>6b22e08</code></a> build(deps-dev): bump types/yargs from 15.0.4 to 15.0.5 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1638">#1638</a>)</li>
<li><a href="b58064c4c7"><code>b58064c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1637">#1637</a> from kulshekhar/dependabot/npm_and_yarn/types/jest-2...</li>
<li><a href="5fc19c06ff"><code>5fc19c0</code></a> build(deps-dev): bump types/jest from 25.2.1 to 25.2.2</li>
<li>Additional commits viewable in <a href="https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v26.0.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~tsjest">tsjest</a>, a new releaser for ts-jest since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=25.4.0&new-version=26.0.0)](https://dependabot.com/compatibility-score/?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=25.4.0&new-version=26.0.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1172

Reviewed By: mweststrate

Differential Revision: D21625494

Pulled By: cekkaewnumchai

fbshipit-source-id: 21d7efa62672469024509ecd939fdf0636486053
2020-05-20 06:58:37 -07:00
Anton Nikolaev
a7cda40d0a Removed unused test blog post pages from website
Summary: Flipper website contains some trash unused test webpages which are not accessible from the root page and can be removed.

Reviewed By: jknoxville

Differential Revision: D21642872

fbshipit-source-id: 3d1f9f1d8591fc0ad3b3b18e8fd54bd92a13db59
2020-05-20 03:36:40 -07:00
Vamshi krishna
72880d3f3a wording mistake in plugin docs (#1164)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1164

Reviewed By: mweststrate

Differential Revision: D21613194

Pulled By: passy

fbshipit-source-id: 787232a5edc6a0dcd39280c8d1587b07f24de68e
2020-05-20 03:33:02 -07:00
dependabot-preview[bot]
46e914ceaa Bump jest-fetch-mock from 3.0.0 to 3.0.3 in /desktop (#1173)
Summary:
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 3.0.0 to 3.0.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jefflau/jest-fetch-mock/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=jest-fetch-mock&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=3.0.3)](https://dependabot.com/compatibility-score/?dependency-name=jest-fetch-mock&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=3.0.3)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1173

Reviewed By: mweststrate

Differential Revision: D21625501

Pulled By: cekkaewnumchai

fbshipit-source-id: ded86d46fca24265d09b6f7ec8b77f9cb845a825
2020-05-19 13:09:49 -07:00
dependabot-preview[bot]
9dfc0edfa5 Bump chalk from 3.0.0 to 4.0.0 in /desktop (#1176)
Summary:
Bumps [chalk](https://github.com/chalk/chalk) from 3.0.0 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/chalk/chalk/releases">chalk's releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h3>Breaking</h3>
<ul>
<li>Require Node.js 10  61999a4</li>
<li>Change the <code>Level</code> TypeScript type to be a union instead of enum  f0f4638</li>
</ul>
<pre lang="diff"><code>-if (chalk.level &gt; Level.None) {}
+if (chalk.level &gt; 0) {}
</code></pre>
<h3>Improvements</h3>
<ul>
<li>Use <code>Object.setPrototypeOf</code> as <code>__proto__</code> could potentially be disabled (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/387">https://github.com/facebook/flipper/issues/387</a>)  63469d3</li>
</ul>
<p><a href="https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0">https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="31fa942080"><code>31fa942</code></a> 4.0.0</li>
<li><a href="61999a4e77"><code>61999a4</code></a> Require Node.js 10</li>
<li><a href="f0f4638a92"><code>f0f4638</code></a> Change the TypeScript <code>Level</code> type to be a union instead of enum</li>
<li><a href="7f21f209da"><code>7f21f20</code></a> Properly check if <code>level</code> is an integer (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/393">https://github.com/facebook/flipper/issues/393</a>)</li>
<li><a href="63469d30e4"><code>63469d3</code></a> Use <code>Object.setPrototypeOf</code> as <code>__proto__</code> could potentially be disabled (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/387">https://github.com/facebook/flipper/issues/387</a>)</li>
<li><a href="797461ee32"><code>797461e</code></a> Meta tweaks</li>
<li><a href="0e6fecc7f7"><code>0e6fecc</code></a> Add link to replit run (<a href="https://github-redirect.dependabot.com/chalk/chalk/issues/379">https://github.com/facebook/flipper/issues/379</a>)</li>
<li>See full diff in <a href="https://github.com/chalk/chalk/compare/v3.0.0...v4.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=chalk&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=4.0.0)](https://dependabot.com/compatibility-score/?dependency-name=chalk&package-manager=npm_and_yarn&previous-version=3.0.0&new-version=4.0.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1176

Reviewed By: mweststrate

Differential Revision: D21625536

Pulled By: cekkaewnumchai

fbshipit-source-id: 88a174f4db562b397ad9d70b73909e5eb70cfce5
2020-05-19 12:46:01 -07:00
dependabot-preview[bot]
717dc170b7 Bump react-color from 2.18.0 to 2.18.1 in /desktop (#1175)
Summary:
Bumps [react-color](https://github.com/casesandberg/react-color) from 2.18.0 to 2.18.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/casesandberg/react-color/releases">react-color's releases</a>.</em></p>
<blockquote>
<h2>v2.18.1</h2>
<h3>Patches</h3>
<ul>
<li>(BlockPicker): fixes blockpicker input not working: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/616">https://github.com/facebook/flipper/issues/616</a></li>
<li>Default chrome view picker: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/665">https://github.com/facebook/flipper/issues/665</a></li>
<li>Remove cWRP from ColorWrap: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/662">https://github.com/facebook/flipper/issues/662</a></li>
<li>Remove cWRP from ChromeFields: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/661">https://github.com/facebook/flipper/issues/661</a></li>
<li>Remove wWRP from EdibleInput: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/635">https://github.com/facebook/flipper/issues/635</a></li>
<li>Fixes Corners Jumping in Saturation Field: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/670">https://github.com/facebook/flipper/issues/670</a></li>
<li>[Example] With Portals: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/617">https://github.com/facebook/flipper/issues/617</a></li>
<li>Fix duplicated % symbols in Chrome Picker: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/704">https://github.com/facebook/flipper/issues/704</a></li>
<li>Passing children to Checkboard component: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/703">https://github.com/facebook/flipper/issues/703</a></li>
<li>Example with hooks: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/700">https://github.com/facebook/flipper/issues/700</a></li>
<li>Fix Duplicate Percentage in EdibleInput: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/708">https://github.com/facebook/flipper/issues/708</a></li>
<li>Fix EdibleInput from rejecting 0% and 1%: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/709">https://github.com/facebook/flipper/issues/709</a></li>
<li>Fix CirclePicker white pixel bug: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/710">https://github.com/facebook/flipper/issues/710</a></li>
<li>Remove isValidHex validation from Swatches: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/688">https://github.com/facebook/flipper/issues/688</a></li>
<li>Fix Color Source Bug on Saturation and Hue: <a href="https://github-redirect.dependabot.com/casesandberg/react-color/issues/671">https://github.com/facebook/flipper/issues/671</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a href="https://github.com/erkkaha">erkkaha</a>, <a href="https://github.com/DarrenBangsund">DarrenBangsund</a>, <a href="https://github.com/mfix22">mfix22</a>, <a href="https://github.com/blimusiek">blimusiek</a>, <a href="https://github.com/pizza3">pizza3</a>, <a href="https://github.com/saikatbhattacharya">saikatbhattacharya</a>, and <a href="https://github.com/kriscarle">kriscarle</a> for helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/casesandberg/react-color/commits/v2.18.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=react-color&package-manager=npm_and_yarn&previous-version=2.18.0&new-version=2.18.1)](https://dependabot.com/compatibility-score/?dependency-name=react-color&package-manager=npm_and_yarn&previous-version=2.18.0&new-version=2.18.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1175

Reviewed By: mweststrate

Differential Revision: D21625532

Pulled By: cekkaewnumchai

fbshipit-source-id: 9d401583e0735c4622fa9bd571802f6fb9d1369d
2020-05-19 12:46:01 -07:00
Michel Weststrate
55b6b021f1 Fix QPL layout regeression
Summary:
Fixed the layout usage in QPL, the `horizontal` was correct, but the elements where swapped (the table was supposed to take all remaining size, and sidebar it's needed space, rather than the reverse).

Made this more explicit in the Layout component, by splitting it up in `Layout.(Top|Left|Right|Bottom)`, so that one has to make an explicit choice here, making it less error prone.

Reviewed By: passy

Differential Revision: D21572438

fbshipit-source-id: 29aa3462a3c96d048825be3157730e26182cb2fa
2020-05-19 11:51:21 -07:00
dependabot-preview[bot]
fcb4bb0874 Bump eslint-plugin-react from 7.16.0 to 7.20.0 in /desktop (#1174)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.16.0 to 7.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/releases">eslint-plugin-react's releases</a>.</em></p>
<blockquote>
<h2>v7.20.0</h2>
<h3>Added</h3>
<ul>
<li>support eslint v7 (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2635">#2635</a>[] <a href="https://github.com/ljharb">ljharb</a>, <a href="https://github.com/toshi-toma">toshi-toma</a>)</li>
<li>[<code>forbid-component-props</code>][]/[<code>forbid-dom-props</code>][]: Allow a custom message with forbid props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2615">#2615</a>[] <a href="https://github.com/mtamhankar1">mtamhankar1</a>)</li>
<li>[<code>jsx-no-literals</code>][]: add <code>ignoreProps</code> option to ignore props validation (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2146">#2146</a>[] <a href="https://github.com/iiison">iiison</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-sort-props</code>][]: only use localeCompare when case is ignored (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2556">#2556</a>[] <a href="https://github.com/tanmoyopenroot">tanmoyopenroot</a>)</li>
<li>[<code>jsx-key</code>][]: add a failing test case for optional chaining (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2610">#2610</a>[] <a href="https://github.com/JonathanLee-LX">JonathanLee-LX</a>)</li>
<li>[<code>no-unused-state</code>][]: handle optional chaining (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2588">#2588</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[<code>jsx-pascal-case</code>][]: Do not consider namespaces when checking for DOM (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2638">#2638</a>[] <a href="https://github.com/yacinehmito">yacinehmito</a>)</li>
<li>[<code>jsx-curly-spacing</code>][], [<code>jsx-no-bind</code>][], <code>usedPropTypes</code> util: avoid node.start and node.end ([25b1936][] <a href="https://github.com/toshi-toma">toshi-toma</a>)</li>
<li>[<code>jsx-no-target-blank</code>][]: allow <code>no-referrer</code> without <code>noopener</code> by default (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2043">#2043</a>[] <a href="https://github.com/seancrater">seancrater</a>)</li>
<li>[<code>button-has-type</code>][]: improve message when non-static value is used ([aecff62][] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[<code>no-adjacent-inline-elements</code>][]: prevent crash on nullish children (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2621">#2621</a>[] <a href="https://github.com/Rogdham">Rogdham</a>)</li>
<li>[<code>prop-types</code>][]: avoid crash when spreading any type (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2606">#2606</a>[] <a href="https://github.com/golopot">golopot</a>))</li>
<li>[<code>require-render-return</code>][]: add missing &quot;a&quot; (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2604">#2604</a>[] <a href="https://github.com/leothorp">leothorp</a>)</li>
<li>[<code>jsx-no-comment-textnodes</code>][]: fix for <code>typescript-eslint/parser</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2601">#2601</a>[] <a href="https://github.com/Axnyff">Axnyff</a>)</li>
<li>[<code>displayName</code>][]: avoid a crash when using React.memo (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2587">#2587</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
</ul>
<h3>Docs</h3>
<ul>
<li>Clean up examples in rule docs (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2546">#2546</a>[] <a href="https://github.com/silvenon">silvenon</a>)</li>
<li>[readme] Add Rules of Hooks to Other useful plugins section (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2633">#2633</a>[] <a href="https://github.com/petetnt">petetnt</a>)</li>
<li>[<code>no-this-in-sfc</code>][]: backtick <code>this</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2616">#2616</a>[] <a href="https://github.com/mrflip">mrflip</a>)</li>
<li>[<code>function-component-definition</code>][]: Fix unnamedComponents option examples (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2608">#2608</a>[] <a href="https://github.com/vkrol">vkrol</a>))</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Deps] Move &quot;semver&quot; to devDependencies (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2595">#2595</a>[] <a href="https://github.com/rajivshah3">rajivshah3</a>)</li>
<li>[eslint] remove <code>operator-linebreak</code> override (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2578">#2578</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Tests] <code>button-has-type</code>: ensure no mistakenly allowed identifiers named <code>button</code>/<code>submit</code>/<code>reset</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2625">#2625</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Tests] <code>displayName</code>: add a test case (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2593">#2593</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Dev Deps] update <code>types/eslint</code>, <code>types/estree</code>, <code>types/node</code>, <code>typescript-eslint/parser</code>, <code>coveralls</code>, <code>eslint-config-airbnb-base</code>, <code>eslint-plugin-import</code>, <code>typescript</code></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2638">#2638</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2638">yannickcr/eslint-plugin-react#2638</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2635">#2635</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2635">yannickcr/eslint-plugin-react#2635</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2633">#2633</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2633">yannickcr/eslint-plugin-react#2633</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2625">#2625</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2625">yannickcr/eslint-plugin-react#2625</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2621">#2621</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2621">yannickcr/eslint-plugin-react#2621</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2616">#2616</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2616">yannickcr/eslint-plugin-react#2616</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2615">#2615</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2615">yannickcr/eslint-plugin-react#2615</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2610">#2610</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2610">yannickcr/eslint-plugin-react#2610</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2608">#2608</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2608">yannickcr/eslint-plugin-react#2608</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2606">#2606</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2606">yannickcr/eslint-plugin-react#2606</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2604">#2604</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2604">yannickcr/eslint-plugin-react#2604</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2601">#2601</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2601">yannickcr/eslint-plugin-react#2601</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2595">#2595</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2595">yannickcr/eslint-plugin-react#2595</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2593">#2593</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2593">yannickcr/eslint-plugin-react#2593</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2588">#2588</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2588">yannickcr/eslint-plugin-react#2588</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2587">#2587</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2587">yannickcr/eslint-plugin-react#2587</a></p>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.19.0...v7.20.0">7.20.0</a> - 2020-05-12</h2>
<h3>Added</h3>
<ul>
<li>support eslint v7 (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2635">#2635</a>[] <a href="https://github.com/ljharb">ljharb</a>, <a href="https://github.com/toshi-toma">toshi-toma</a>)</li>
<li>[<code>forbid-component-props</code>][]/[<code>forbid-dom-props</code>][]: Allow a custom message with forbid props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2615">#2615</a>[] <a href="https://github.com/mtamhankar1">mtamhankar1</a>)</li>
<li>[<code>jsx-no-literals</code>][]: add <code>ignoreProps</code> option to ignore props validation (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2146">#2146</a>[] <a href="https://github.com/iiison">iiison</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-sort-props</code>][]: only use localeCompare when case is ignored (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2556">#2556</a>[] <a href="https://github.com/tanmoyopenroot">tanmoyopenroot</a>)</li>
<li>[<code>jsx-key</code>][]: add a failing test case for optional chaining (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2610">#2610</a>[] <a href="https://github.com/JonathanLee-LX">JonathanLee-LX</a>)</li>
<li>[<code>no-unused-state</code>][]: handle optional chaining (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2588">#2588</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[<code>jsx-pascal-case</code>][]: Do not consider namespaces when checking for DOM (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2638">#2638</a>[] <a href="https://github.com/yacinehmito">yacinehmito</a>)</li>
<li>[<code>jsx-curly-spacing</code>][], [<code>jsx-no-bind</code>][], <code>usedPropTypes</code> util: avoid node.start and node.end ([25b1936][] <a href="https://github.com/toshi-toma">toshi-toma</a>)</li>
<li>[<code>jsx-no-target-blank</code>][]: allow <code>no-referrer</code> without <code>noopener</code> by default (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2043">#2043</a>[] <a href="https://github.com/seancrater">seancrater</a>)</li>
<li>[<code>button-has-type</code>][]: improve message when non-static value is used ([aecff62][] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[<code>no-adjacent-inline-elements</code>][]: prevent crash on nullish children (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2621">#2621</a>[] <a href="https://github.com/Rogdham">Rogdham</a>)</li>
<li>[<code>prop-types</code>][]: avoid crash when spreading any type (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2606">#2606</a>[] <a href="https://github.com/golopot">golopot</a>))</li>
<li>[<code>require-render-return</code>][]: add missing &quot;a&quot; (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2604">#2604</a>[] <a href="https://github.com/leothorp">leothorp</a>)</li>
<li>[<code>jsx-no-comment-textnodes</code>][]: fix for <code>typescript-eslint/parser</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2601">#2601</a>[] <a href="https://github.com/Axnyff">Axnyff</a>)</li>
<li>[<code>displayName</code>][]: avoid a crash when using React.memo (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2587">#2587</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
</ul>
<h3>Docs</h3>
<ul>
<li>Clean up examples in rule docs (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2546">#2546</a>[] <a href="https://github.com/silvenon">silvenon</a>)</li>
<li>[readme] Add Rules of Hooks to Other useful plugins section (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2633">#2633</a>[] <a href="https://github.com/petetnt">petetnt</a>)</li>
<li>[<code>no-this-in-sfc</code>][]: backtick <code>this</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2616">#2616</a>[] <a href="https://github.com/mrflip">mrflip</a>)</li>
<li>[<code>function-component-definition</code>][]: Fix unnamedComponents option examples (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2608">#2608</a>[] <a href="https://github.com/vkrol">vkrol</a>))</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Deps] Move &quot;semver&quot; to devDependencies (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2595">#2595</a>[] <a href="https://github.com/rajivshah3">rajivshah3</a>)</li>
<li>[eslint] remove <code>operator-linebreak</code> override (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2578">#2578</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Tests] <code>button-has-type</code>: ensure no mistakenly allowed identifiers named <code>button</code>/<code>submit</code>/<code>reset</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2625">#2625</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Tests] <code>displayName</code>: add a test case (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2593">#2593</a>[] <a href="https://github.com/golopot">golopot</a>)</li>
<li>[Dev Deps] update <code>types/eslint</code>, <code>types/estree</code>, <code>types/node</code>, <code>typescript-eslint/parser</code>, <code>coveralls</code>, <code>eslint-config-airbnb-base</code>, <code>eslint-plugin-import</code>, <code>typescript</code></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2638">#2638</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2638">yannickcr/eslint-plugin-react#2638</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2635">#2635</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2635">yannickcr/eslint-plugin-react#2635</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2633">#2633</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2633">yannickcr/eslint-plugin-react#2633</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2625">#2625</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2625">yannickcr/eslint-plugin-react#2625</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2621">#2621</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2621">yannickcr/eslint-plugin-react#2621</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2616">#2616</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2616">yannickcr/eslint-plugin-react#2616</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2615">#2615</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2615">yannickcr/eslint-plugin-react#2615</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2610">#2610</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2610">yannickcr/eslint-plugin-react#2610</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2608">#2608</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2608">yannickcr/eslint-plugin-react#2608</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2606">#2606</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2606">yannickcr/eslint-plugin-react#2606</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2604">#2604</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2604">yannickcr/eslint-plugin-react#2604</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2601">#2601</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2601">yannickcr/eslint-plugin-react#2601</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2595">#2595</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2595">yannickcr/eslint-plugin-react#2595</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2593">#2593</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2593">yannickcr/eslint-plugin-react#2593</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2588">#2588</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2588">yannickcr/eslint-plugin-react#2588</a></p>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="25bf6cc486"><code>25bf6cc</code></a> Update CHANGELOG and bump version</li>
<li><a href="2598b1ee64"><code>2598b1e</code></a> [Dev Deps] update <code>types/eslint</code>, <code>types/estree</code>, <code>types/node</code>, `typescri...</li>
<li><a href="f94d851c80"><code>f94d851</code></a> [Fix] <code>jsx-sort-props</code>: only use localeCompare when case is ignored</li>
<li><a href="c481a26164"><code>c481a26</code></a> [Docs] Clean up examples in rule docs</li>
<li><a href="88d404d463"><code>88d404d</code></a> [eslint] remove <code>operator-linebreak</code> override</li>
<li><a href="304590a7ab"><code>304590a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2635">#2635</a> from ljharb/eslint7</li>
<li><a href="35030a0819"><code>35030a0</code></a> [Tests] fix mistaken error property and add output property</li>
<li><a href="906b474cb5"><code>906b474</code></a> [New] support eslint v7</li>
<li><a href="d66f467d60"><code>d66f467</code></a> [Fix] <code>jsx-key</code>: add a failing test case for optional chaining</li>
<li><a href="da7a0458d4"><code>da7a045</code></a> [Fix] <code>no-unused-state</code>: handle optional chaining</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.16.0...v7.20.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.16.0&new-version=7.20.0)](https://dependabot.com/compatibility-score/?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.16.0&new-version=7.20.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1174

Reviewed By: nikoant

Differential Revision: D21625528

Pulled By: cekkaewnumchai

fbshipit-source-id: 7e1abb1143c0261b46106f947094d75b56875f9c
2020-05-19 10:56:44 -07:00
GitHub
fed7059d2c Automated: Update Podfile.lock (#1177)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1177

Reviewed By: passy

Differential Revision: D21642302

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 7019861e07e0a467eb40cb5d1cf1e109466e38f9
2020-05-19 10:33:25 -07:00
Chaiwat Ekkaewnumchai
a42c2dda5b Fix Highlight not Removed Properly When Quit Flipper via Shortcut
Summary: Discovered in https://fburl.com/h6eczhr2; the highlight didn't get removed correctly. This was from [this method](https://fburl.com/diffusion/twur28gt), which must be called on main thread to be executed completely.

Reviewed By: jknoxville

Differential Revision: D21629318

fbshipit-source-id: cfc52ac755a1ddfe92e675aac1a81066ce338bd7
2020-05-19 09:44:49 -07:00
Chaiwat Ekkaewnumchai
e216764238 Fix iOS Sample App
Summary:
Encountered when trying to build the sample app on iOS. Seemed `initWithComponentProvider` is now for Swift only and cannot be called in Objective-C.

Change to call `initWithComponentProviderFunc` instead

Reviewed By: passy

Differential Revision: D21629319

fbshipit-source-id: bf39f67ad22259b9c72694e43c507f8869e7bf22
2020-05-19 09:44:49 -07:00
Chaiwat Ekkaewnumchai
9ae0511f16 Refactor Data Used And Passed to Detail Sidebar
Summary:
As suggested in the previous diff, I change the way to store row values. Now, (kinda) raw values are stored instead of processed values that can be used directly for `ManagedTable`. This simplifies logic in detail sidebar.

I'm not sure what the effect to performance.

Reviewed By: mweststrate

Differential Revision: D21621896

fbshipit-source-id: 472be3caa955ca32f876f81095af21e9c17cb159
2020-05-19 09:12:56 -07:00
Chaiwat Ekkaewnumchai
11b233b516 Allow Long Text to Be Shown in The Sidebar
Summary:
This allows long text to be seen on the sidebar in database plugin. Also, remove weird padding in the sidebar and separate sidebar component to a new file

Refactoring is in the next diff

Reviewed By: mweststrate

Differential Revision: D21550672

fbshipit-source-id: 3e80be16783719e18392fe3d8f8068caf9283f8f
2020-05-19 09:12:56 -07:00
generatedunixname89002005306973
f2b46e558f Flipper Snapshot Bump: v0.43.1-SNAPSHOT
Summary: Releasing snapshot version 0.43.1-SNAPSHOT

Reviewed By: cekkaewnumchai

Differential Revision: D21639653

fbshipit-source-id: e36bc1a83bb62d8c2ded2f622ed5f54539d4a771
2020-05-19 08:00:53 -07:00
generatedunixname89002005306973
4e618198cb Flipper Release: v0.43.0
Summary: Releasing version 0.43.0

Reviewed By: cekkaewnumchai

Differential Revision: D21639652

fbshipit-source-id: 5a775f6361283b2e9b2540b054afad497dab2a22
2020-05-19 08:00:52 -07:00
Michel Weststrate
d103c218d2 automatically plugin directory to Flipper config on init
Summary: Freshly init-ed plugins are not picked up by Flipper if they are not on the search path. This diff checks if the current dir is on the search path, and, if not, suggests to add it.

Reviewed By: jknoxville

Differential Revision: D21619632

fbshipit-source-id: b1dbe2695dbee9ce537999dc83e36f969ba4b747
2020-05-19 05:33:35 -07:00
Michel Weststrate
49b4022228 added tests for generated template files
Summary:
Created a test that snapshots the generated files, so that we can capture accidental regressions when generating files.

Also made the package id to package name a bit more robust

Reviewed By: jknoxville

Differential Revision: D21619633

fbshipit-source-id: 88ffb127e050d840df9ccd4b15ba29a71f341975
2020-05-19 05:33:35 -07:00
Michel Weststrate
3f86c9f6d2 init should always create a directory
Summary:
Although there are tools that do this for you (create-react-app, react-native), and other that assume you are already in the created directory before you invoke the command (typescript, git), creating the directory by the tool has a few benefits:

1. less risk of making an accidental mess when people assume they don't need to create the dir first (I definitely ended up with a node_modules in the wrong directory)
1. it provide a naive way of detecting plugin name conflicts early (at least for plugins you create yourself)
1. in the next diff I'll add a pkg suggestion to add the current directory to the search path for flipper plugins. In the current setup, that would require needing to suggest to add the parent directory, which somehow feels less logical
2. makes sure that the directory name follows npm conventions: the package.json name should match the current directory name (not super important, but e.g VSCode will show warnings otherwise)

Reviewed By: jknoxville

Differential Revision: D21619631

fbshipit-source-id: 6d027ad18f14659e0347a66cacf056eacbc65680
2020-05-19 05:33:35 -07:00
Michel Weststrate
f9ade3d74d add link to RN + Flipper talk
Summary: ^

Reviewed By: passy

Differential Revision: D21619630

fbshipit-source-id: f1570cc509b67d5a6bace76f1c094abe81b42522
2020-05-19 05:33:34 -07:00
Michel Weststrate
080085e788 added simple watch mode
Summary:
Added a watch mode to the bundle command of flipper plugins. This makes it easy to test develop plugins locally, even when you are using a production build of flipper, which lowers the barrier of developing / fixing plugins.

opted for `fs.watch` over watchman to avoid some overengineering:
1. pkg / pkg-lib don't have the watchman utilities that would be needed for this. I wasn't sure if I could move those over from `static` without breaking the bootstrapping process
2. watchman is often a nuisance on non FB machines that aren't set up for it. fs.watch in contrast doesn't have any further dependencies or setup requirements, and is much more likely to work ootb.
3. since we watch only the `src` folder we don't really need the watchman optimizations. (so for a package.json change people would have to restart, but I don't think that is much of a problem).

Reviewed By: jknoxville

Differential Revision: D21523814

fbshipit-source-id: b1de72b7d01c6fc50cb8ce5709f54f8019eb89e4
2020-05-19 05:33:34 -07:00
Michel Weststrate
1e309abe4f add react types to template
Summary: See previous diff, should have merged those two diffs

Reviewed By: jknoxville

Differential Revision: D21523815

fbshipit-source-id: 3db91d06d845f0764e28f0dbf3020e77812cde53
2020-05-19 05:33:34 -07:00
Michel Weststrate
8d6ad59c52 add tsconfig to template
Summary: When opening a freshly generated plugin in VScode the IDE would be full of errors, even though it can bundle correctly thanks to the defaults used by bundle. This  is fixed by diff by correctly setting up a tsconfig.

Reviewed By: jknoxville

Differential Revision: D21523817

fbshipit-source-id: 8f6b58fbfb704460ddb5b845ddfb137b28d37187
2020-05-19 05:33:33 -07:00
Michel Weststrate
47f72e3332 add build command by default
Summary: By adding a build command the flipper plugin can be picked up, even when using a production build of Flipper, as we don't require Flipper's own infrastructure anymore to compile plugins.

Reviewed By: jknoxville

Differential Revision: D21523819

fbshipit-source-id: eed935ee95a7e3bff2ace629836b4b2450b5d1ad
2020-05-19 05:33:33 -07:00
Michel Weststrate
310a76d03f Improve standard view template
Summary:
As soon as any data was send to a freshly generated plugin, the plugin would crash as React doesn't support directly rendering data. Replaced it with a poor mans rendering that simply dumps all the data we received.

Also made sure the view is scrollable now which wasn't the case before.

Reviewed By: jknoxville

Differential Revision: D21523816

fbshipit-source-id: 3e04799facdf8b66ce9d66217a47fc7826d58d43
2020-05-19 05:33:33 -07:00
Michel Weststrate
7536c0e930 Add default .gitignore file
Summary:
This stack contains a bunch of improvements I made to smoothen the demo of plugin creating in the Flipper + React Native talk.

With 98% likelihood people will manage the source code of their Flipper plugins in git. This will make sure the `.gitignore` is configured properly ootb

Reviewed By: nikoant

Differential Revision: D21523818

fbshipit-source-id: b2ed769edc8fb9fd320464b05686e817e438f21e
2020-05-19 05:33:32 -07:00
dependabot-preview[bot]
4a7d207134 Bump clap from 2.33.0 to 2.33.1 in /packer (#1170)
Summary:
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p>
<blockquote>
<h2>v2.33.1</h2>
<p><a name="v2.33.1"></a></p>
<h3>v2.33.1 (2020-05-11)</h3>
<h4>Bug Fixes</h4>
<ul>
<li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li>
</ul>
<h4>Documentation</h4>
<ul>
<li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li>
<li><strong>README.md:</strong>
<ul>
<li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li>
</ul>
</li>
</ul>
<h4>Improvements</h4>
<ul>
<li><strong>Deps:</strong>  doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li>
</ul>
<h4>Minimum Required Rust</h4>
<ul>
<li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md">clap's changelog</a>.</em></p>
<blockquote>
<h3>v2.33.1 (2020-05-11)</h3>
<h4>Bug Fixes</h4>
<ul>
<li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li>
</ul>
<h4>Documentation</h4>
<ul>
<li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li>
<li><strong>README.md:</strong>
<ul>
<li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li>
</ul>
</li>
</ul>
<h4>Improvements</h4>
<ul>
<li><strong>Deps:</strong>  doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li>
</ul>
<h4>Minimum Required Rust</h4>
<ul>
<li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li>
</ul>
<p><a name="v2.33.0"></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ffb8d552c2"><code>ffb8d55</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1917">#1917</a> from clap-rs/v2.33.1</li>
<li><a href="7ac16ac5c7"><code>7ac16ac</code></a> chore: increase ver ref in lib.rs</li>
<li><a href="bc3291db8e"><code>bc3291d</code></a> chore: increase version on v2 branch</li>
<li><a href="922c645083"><code>922c645</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1907">#1907</a> from oconnor663/windows_2.33</li>
<li><a href="703caf37c4"><code>703caf3</code></a> prevent some panics when parsing invalid Unicode on Windows</li>
<li><a href="0129fe517a"><code>0129fe5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1673">#1673</a> from clap-rs/v2-ci</li>
<li><a href="48a71f35ac"><code>48a71f3</code></a> Update minimum rust version</li>
<li><a href="57baeb489c"><code>57baeb4</code></a> Formatted rust</li>
<li><a href="f9ffeb8616"><code>f9ffeb8</code></a> CI for v2-master</li>
<li><a href="fa45af5cad"><code>fa45af5</code></a> where -&gt; were</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=2.33.0&new-version=2.33.1)](https://dependabot.com/compatibility-score/?dependency-name=clap&package-manager=cargo&previous-version=2.33.0&new-version=2.33.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1170

Reviewed By: passy

Differential Revision: D21619402

Pulled By: cekkaewnumchai

fbshipit-source-id: 88f9d7579e4c5c0027b2144006fbaff7a02540ef
2020-05-18 09:12:01 -07:00
dependabot-preview[bot]
2494bb76b5 Bump anyhow from 1.0.28 to 1.0.31 in /packer (#1169)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.28 to 1.0.31.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.31</h2>
<ul>
<li>Restore &quot;Stack backtrace&quot; header label above the backtrace in <code>{:?}</code> representation (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/92">https://github.com/facebook/flipper/issues/92</a>)</li>
</ul>
<h2>1.0.30</h2>
<ul>
<li>Hide an error message that appears when building with <code>cargo rustc -vv</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/91">https://github.com/facebook/flipper/issues/91</a>, thanks <a href="https://github.com/eoger">eoger</a>)</li>
</ul>
<h2>1.0.29</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="144763cf99"><code>144763c</code></a> Release 1.0.31</li>
<li><a href="f7424bd1da"><code>f7424bd</code></a> Show an example of {:?} without backtrace</li>
<li><a href="5e4177fc4c"><code>5e4177f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/92">https://github.com/facebook/flipper/issues/92</a> from dtolnay/backtrace</li>
<li><a href="6d33c15b96"><code>6d33c15</code></a> Restore 'Stack backtrace:' above the backtrace</li>
<li><a href="2aa0cc1aba"><code>2aa0cc1</code></a> Release 1.0.30</li>
<li><a href="afc3079dda"><code>afc3079</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/91">https://github.com/facebook/flipper/issues/91</a> from eoger/silent-probe</li>
<li><a href="5ed5f56f0c"><code>5ed5f56</code></a> Redirect probe compile errors to /dev/null</li>
<li><a href="290d3d2a50"><code>290d3d2</code></a> Release 1.0.29</li>
<li><a href="5e1a1f8b01"><code>5e1a1f8</code></a> Try out a new style of readme badges</li>
<li><a href="16f607efaa"><code>16f607e</code></a> Add crosslink icons to top of rustdoc</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.28...1.0.31">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.28&new-version=1.0.31)](https://dependabot.com/compatibility-score/?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.28&new-version=1.0.31)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1169

Reviewed By: passy

Differential Revision: D21619401

Pulled By: cekkaewnumchai

fbshipit-source-id: 06e3d86104c4809a3a464a683552e6523a2b67d3
2020-05-18 08:46:38 -07:00
João Alves
52274b7659 Fix obsolete usages in build.gradle (#1168)
Summary:
Remove warning `'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'.`

## Changelog

- swithed from `variant.getJavaCompile()` to `variant.getJavaCompileProvider()`
Pull Request resolved: https://github.com/facebook/flipper/pull/1168

Test Plan: n/a

Reviewed By: passy

Differential Revision: D21618883

Pulled By: cekkaewnumchai

fbshipit-source-id: 522fe5847b074836cc36a9e1b9a0487b044cf555
2020-05-18 07:07:13 -07:00
Roi Becker
436159eb22 Pigeon plugin
Summary:
Very similar to the Logview plugin, showing a table with all logs (from all clients, if more than one is connected to Unity), and a right-side panel for details (the extra).

I'm still thinking how can I display the extra in the table (so it will be more convenient to compare logs), but still don't know (each extra can have different fields), and this is a good starting point.

Note: the POI plugin has an option to display marauder data, but I received requests for an easy way to debug just Pigeon, and since this is simple enough I don't see the harm here.

Reviewed By: timur-valiev

Differential Revision: D21549233

fbshipit-source-id: e7a48b4e21711bc9454e9b87a312e94a662917e2
2020-05-16 03:09:53 -07:00
Chaiwat Ekkaewnumchai
8fa03789d1 Add Coverage Test for MultipleSelectorSection
Summary:
To comply with recent agreement, coverage test for MultipleSelectorSection is added.

Also, add undefined check in `elements.tsx` found while adding the test

Reviewed By: mweststrate

Differential Revision: D21554782

fbshipit-source-id: 7cd868bf16f6105d6f523048f29bdaa052837f45
2020-05-15 12:49:28 -07:00
Pascal Hartig
a65b6025c1 Report failures on snapshot taking
Summary: Suggested in D21571294.

Reviewed By: jknoxville

Differential Revision: D21594146

fbshipit-source-id: 1dcc310343788aecced724282d74e0cf08688220
2020-05-15 07:09:53 -07:00
John Knox
2495442243 Fix copy button styling
Summary: Fixes https://github.com/facebook/flipper/issues/1161 by upgrading docusaurus.

Reviewed By: passy, nikoant

Differential Revision: D21593270

fbshipit-source-id: 2fa7f055ec0b9fe06795d72d67d6b53c67b2eff0
2020-05-15 05:54:59 -07:00
Rick Hanlon
e3202dfb35 Add survey banner for Hermes Debugger
Summary:
As requested by the Hermes team, this adds an internal-only banner linking to a survey for the debugger (controlled by a GK).

Gatekeeper: https://our.intern.facebook.com/intern/gatekeeper/projects/flipper_plugin_hermes_debugger_survey/

Reviewed By: mweststrate

Differential Revision: D21556848

fbshipit-source-id: df34f49f504d11bba622709df86c8475be2433eb
2020-05-15 05:19:01 -07:00
Rick Hanlon
e23acc6f04 Switch flipper-out-of-contents-container to absolute position
Summary:
This diff updated the `flipper-out-of-contents` container to render with absolute position, which allows it to cover up all of the content in the plugin. This fixes an issue where content that exists in the plugin can be broken.

For example, the banner in the next diff would look like this:

{F237034745}

Reviewed By: mweststrate

Differential Revision: D21556849

fbshipit-source-id: 95ec4aac24ac995bd1c558123ef5da6087a40d0a
2020-05-15 05:19:01 -07:00
Pascal Hartig
d6844faebb Restore open behavior on screenshot capture
Summary: The effect of opening the screenshot after capturing was removed in D19765926.

Reviewed By: mweststrate

Differential Revision: D21571294

fbshipit-source-id: f3308d80e066cc01786c17323e4ff5f97c092de9
2020-05-15 04:54:24 -07:00
Pascal Hartig
7492e781d3 Change LowPassFilter invariant use
Summary:
Ugh, lockdown brain. This was supposed to be included in the test I added before
to get to 100% coverage. Well, it's here now.

Reviewed By: mweststrate

Differential Revision: D21550904

fbshipit-source-id: 044a11d38e211c6f57cce220adc8c42241a2043a
2020-05-15 04:43:56 -07:00
Pascal Hartig
c54028981f Fix tmp usage in crash reporter setup
Summary:
This happened during startup:
{F237135281}

From `tmp` docs:

> IMPORTANT NOTE: template no longer accepts a path. Use the dir option instead if you require tmp to create your temporary filesystem object in a different place than the default tmp.tmpdir.

Reviewed By: mweststrate

Differential Revision: D21570416

fbshipit-source-id: 170886d0fda5e21cb23fe836fcde33eb457a4c1b
2020-05-15 04:40:57 -07:00
John Knox
67e05d1d2d Upgrade internaldocs plugin
Reviewed By: passy

Differential Revision: D21571526

fbshipit-source-id: 904cdd223a7f323335fa658e0102c031db4a0023
2020-05-14 04:45:47 -07:00
GitHub
8320253eeb Automated: Update Podfile.lock (#1158)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)
Pull Request resolved: https://github.com/facebook/flipper/pull/1158

Reviewed By: priteshrnandgaonkar

Differential Revision: D21550463

Pulled By: passy

fbshipit-source-id: 190b52bf2657603f9b6a037df5942ca17de4c0a3
2020-05-14 04:42:20 -07:00
dependabot-preview[bot]
50666e9296 Bump promisify-child-process from 3.1.4 to 4.1.0 in /desktop (#1155)
Summary:
Quite keen on this as it removes a babel runtime dependency.

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

Reviewed By: nikoant

Differential Revision: D21522869

Pulled By: passy

fbshipit-source-id: 66e272e1b6a6eb78a51038f20a1717ba0196ec2c
2020-05-13 10:22:02 -07:00
Pascal Hartig
d7035b7e7d Whitelist cjs extension for metro
Summary: This is required for the new release of promisify-child-process.

Reviewed By: mweststrate

Differential Revision: D21543812

fbshipit-source-id: dc254ea51381696b9927f7c62dd36e10ef00fcac
2020-05-13 10:22:02 -07:00
John Knox
8e60f4abbb Use href instead of 'to' for external links
Summary: 'to' is for internal pages. href is for generic links, and has tweaks such as opening in new tabs and making sure sites work in iframes.

Reviewed By: passy

Differential Revision: D21550098

fbshipit-source-id: 306dd92378ca721c435b9f4f031136fc421cbb81
2020-05-13 09:32:52 -07:00
Pascal Hartig
6355076c90 Implement compression
Summary:
Compresses artifacts with LZMA by default. `--no-compression` can be used
to skip the quite time-intensive task to just quickly check if the archives
still add up to a full distribution.

Reviewed By: jknoxville

Differential Revision: D21456052

fbshipit-source-id: dfa4686f3fe7ce342b62dab4b5203bc0aad37d9a
2020-05-13 08:09:06 -07:00
Pascal Hartig
5fe3e9a44a Add test for LowPassFilter
Summary: Eating my own dogfood.

Reviewed By: mweststrate

Differential Revision: D21545655

fbshipit-source-id: 1e2690478ad8a986915a98a8275a168fa4c3a23f
2020-05-13 07:48:37 -07:00
Pritesh Nandgaonkar
dcaff4babc @allow-large-files Upgrade typescript
Summary: This diff updates the typescript version and it fixes `yarn lint:tsc`. It also successfully pointed out fes of the problems in our codebase. I have fixed those problems

Reviewed By: mweststrate

Differential Revision: D21548003

fbshipit-source-id: e69c986ee3c763588d9e1e290dad08d1cf1976a8
2020-05-13 06:57:28 -07:00
generatedunixname89002005306973
76a177a282 Flipper Snapshot Bump: v0.42.1-SNAPSHOT
Summary: Releasing snapshot version 0.42.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D21520624

fbshipit-source-id: 5fa389087e3881103fcfaa7fb84dd10ea8cca994
2020-05-13 02:16:13 -07:00
generatedunixname89002005306973
9bead5e05c Flipper Release: v0.42.0
Summary: Releasing version 0.42.0

Reviewed By: passy

Differential Revision: D21520625

fbshipit-source-id: 9f3ce5739a0856de84b18df3c640e5218fd3182e
2020-05-13 02:16:13 -07:00
Adam Ernst
82898b784e Clean up Flipper's iOS layout invalidation
Summary:
This reverts D21285438 and patches some holes in the layout invalidation routines.

(I tried to use `didAddSubview:` and `willRemoveSubview:` but those are annoying for other reasons; for example, `willRemoveSubview:` can be called from within `dealloc` which is surprising. Also they still don't catch the case where subviews are being reordered.)

Reviewed By: Andrey-Mishanin

Differential Revision: D21512129

fbshipit-source-id: 1d9e8dac9333eddfae2309d446ef4de9e83220d6
2020-05-12 05:54:38 -07:00