Commit Graph

4610 Commits

Author SHA1 Message Date
Anton Nikolaev
b86cb88939 Pod lint is failing on github after switching to xcode 12 (#1696)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1696

I've just used solution suggeated here https://stackoverflow.com/a/63955114

Reviewed By: passy

Differential Revision: D25121715

fbshipit-source-id: 30b11343fc27e4937c572335ea078df98ceb5056
2020-11-20 09:39:03 -08:00
Michel Weststrate
58a53bd739 Increase device detection timeout
Summary:
Attempt to fix https://fb.workplace.com/groups/1489943347777350/permalink/3388159547955711/

Overview of failures: https://www.internalfb.com/intern/daiquery/workspace/612628209459766/385682425880686/

Seems to have regressed since introducing D24858332 (9b4e7e873c), although only a few users are significantly impact, and beyond that it seems mostly one-off errors, which might indicate that the timing is a bit too tight.

Reviewed By: nikoant

Differential Revision: D25121853

fbshipit-source-id: a1b08a1b433c3db1aca3c1e6c6cc29a4c5b50f26
2020-11-20 07:39:02 -08:00
Pascal Hartig
57745e0e98 Upgrade to Docusaurus 2 alpha 66
Summary:
Saw a new version came out. Only breaking change appears
to be that links are now required to be non-empty,
which sounds quite reasonable.

Reviewed By: nikoant

Differential Revision: D25119837

fbshipit-source-id: 758578d4f7f8045b59918f107438f3c8231bb790
2020-11-20 06:09:08 -08:00
Pascal Hartig
ca5c2e4d11 Migrate from Travis CI to GitHub Actions (#1695)
Summary:
We've previously had the docs deployment in Travis. Also some builds
but they were redundant, so that doesn't really matter.

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

Test Plan:
Tested it on my own branch.
6ac5b3fa70

![Screenshot 2020-11-20 at 11 09 34](https://user-images.githubusercontent.com/9906/99795354-8cbd5480-2b23-11eb-9fe9-10504b19e6a4.png)

Reviewed By: nikoant

Differential Revision: D25119924

Pulled By: passy

fbshipit-source-id: b31ccd05daacc7c0a9a452e88638ba9a3bcc4c74
2020-11-20 06:05:58 -08:00
Pascal Hartig
51de9b72cf Fix GitHub Actions for sample build (#1693)
Summary:
Honestly not sure what's causing the new NDK to be pulled in
but at least locally installing it fixes the failure we see here:

https://github.com/facebook/flipper/runs/1424681947

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

Test Plan: Wait for the Actions on the PR

Reviewed By: nikoant

Differential Revision: D25093335

Pulled By: passy

fbshipit-source-id: e7af63fcf3c5270c869acc3d094234d15968aeda
2020-11-19 12:25:31 -08:00
Michel Weststrate
8b5220d8b3 Introduce Sandy welcome dialog
Summary: Added a welcome screen so that our users won't feel alienated / overwhelmed by the new Sandy design. With this in place we can start opening the GK to a subset of FB employees in the next release

Reviewed By: passy

Differential Revision: D25088630

fbshipit-source-id: 7337d670928f048a2c2fa60d98ac4bdcefb67c4d
2020-11-19 09:15:40 -08:00
Michel Weststrate
d71297a1ea Expose styled and produce
Summary: To control bundle size and the amount of different versions used, we want plugins to use emotion's styled and immer's produce from flipper-plugin, rather than bringing their own

Reviewed By: passy

Differential Revision: D25087286

fbshipit-source-id: d2cc8b2cb1a17c520d05d99048cd94338984a913
2020-11-19 08:59:52 -08:00
GitHub
cc480b702e Automated: Update Podfile.lock (#1692)
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/1692

Reviewed By: passy

Differential Revision: D25065989

Pulled By: nikoant

fbshipit-source-id: 17b4ef33bbccb9ab40926ce1415aa75f78221bbd
2020-11-19 06:22:44 -08:00
Anton Nikolaev
46a1ac5947 Fix github release script
Summary: Just a small mispelling in step specification

Reviewed By: mweststrate

Differential Revision: D25053437

fbshipit-source-id: 39e7c9c578a448495b92f8aa3632b2843d79490c
2020-11-18 10:07:09 -08:00
Michel Weststrate
25158416ce Freeze incoming data
Summary:
This diff will enabling freezing (making immutable) of all data we receive from the device. This prevents dev mistakes causing components not to update or logic being hard to reason about. Also this makes Immer's `produce` faster in the typical case

Since this is potentially a risky change, that might break existing plugin logic, it has been put behind a GK https://www.internalfb.com/intern/gatekeeper/projects/flipper_frozen_data/

I did some quick exploratory testing on all plugins available for Facebook iOS / Android, and the only plugin that caused trouble was Fresco, which is fixed in this diff as well.

Reviewed By: nikoant

Differential Revision: D25055056

fbshipit-source-id: 8525511f4a8a0221740a6e1371ce7f2b757a203e
2020-11-18 08:51:15 -08:00
Michel Weststrate
2e5b52d247 batch for more efficient message processing
Summary: `unstablebatched_updates` should be used whenever a non-react originating event might affect multiple components, to make sure that React batches them optimally. Applied it to the most import events that handle incoming device events

Reviewed By: nikoant

Differential Revision: D25052937

fbshipit-source-id: b2c783fb9c43be371553db39969280f9d7c3e260
2020-11-18 08:51:15 -08:00
Michel Weststrate
375a612dff Update to Immer 8
Summary: Per title, the primary change is that Immer 8 will also freeze automatically in _production_ builds as well.

Reviewed By: nikoant

Differential Revision: D25052621

fbshipit-source-id: 1cb0b083aae82992b57c4a6e9dca0a8bebe903ec
2020-11-18 08:51:15 -08:00
dependabot[bot]
601849e74a Bump yargs from 16.1.0 to 16.1.1 in /desktop (#1679)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.0 to 16.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/releases">yargs's releases</a>.</em></p>
<blockquote>
<h2>yargs v16.1.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li>expose helpers for legacy versions of Node.js (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>) (<a href="107deaa4f6">107deaa</a>)</li>
<li><strong>deno:</strong> get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>) (<a href="cb01c98c44">cb01c98</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/master/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://www.github.com/yargs/yargs/compare/v16.1.0...v16.1.1">16.1.1</a> (2020-11-15)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>expose helpers for legacy versions of Node.js (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>) (<a href="107deaa4f6">107deaa</a>)</li>
<li><strong>deno:</strong> get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>) (<a href="cb01c98c44">cb01c98</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a9ab0a4a9a"><code>a9ab0a4</code></a> chore: release 16.1.1 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1800">#1800</a>)</li>
<li><a href="2af60130df"><code>2af6013</code></a> refactor(deno): move types to better named file (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1806">#1806</a>)</li>
<li><a href="a1d959b0f1"><code>a1d959b</code></a> build: use latest version of action</li>
<li><a href="1fb606171a"><code>1fb6061</code></a> docs: truncate CHANGELOG (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1805">#1805</a>)</li>
<li><a href="ae001f34c9"><code>ae001f3</code></a> chore: upgrade y18n to 5.0.5 to address prototype pollution issue</li>
<li><a href="107deaa4f6"><code>107deaa</code></a> fix: expose helpers for legacy versions of Node.js (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1801">#1801</a>)</li>
<li><a href="cb01c98c44"><code>cb01c98</code></a> fix(deno): get yargs working on <a href="mailto:deno@1.5.x">deno@1.5.x</a> (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1799">#1799</a>)</li>
<li>See full diff in <a href="https://github.com/yargs/yargs/compare/v16.1.0...v16.1.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=yargs&package-manager=npm_and_yarn&previous-version=16.1.0&new-version=16.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24994100

Pulled By: mweststrate

fbshipit-source-id: 429db149413790dcea030e99c743bd159f9ccda6
2020-11-18 08:21:19 -08:00
John Knox
53ba1a2ad2 Use ant star rating component
Summary: Part of converting ITSR to use ant design. Gets rid of some custom code.

Reviewed By: mweststrate

Differential Revision: D25055728

fbshipit-source-id: 451f8b0b7c2543eea59e74d5ea35761bc8ebeeba
2020-11-18 07:40:25 -08:00
John Knox
9d5ad7d8a8 Move ITSR popup into Sandy LeftRail
Summary:
The title bar is going away, so this needs to be moved somewhere when sandy is enabled.

This moves it into the left rail when sandy is enabled, and converts the icon to use a sandy icon and popover.
The contents of the popover haven't yet been converted to use sandy components.

Reviewed By: mweststrate

Differential Revision: D25055282

fbshipit-source-id: 259ed8312c0d4079433cfa7ffb88385184ae16b2
2020-11-18 07:40:25 -08:00
Michel Weststrate
f7c40c315c Update to Emotion 11
Summary: Per title

Reviewed By: passy

Differential Revision: D24994086

fbshipit-source-id: 84d83638ec518a39ea2d80f56b8c794c8b86a9d4
2020-11-18 06:52:03 -08:00
generatedunixname89002005306973
339a5280ac Flipper Snapshot Bump: v0.66.1-SNAPSHOT
Summary: Releasing snapshot version 0.66.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D25052023

fbshipit-source-id: a9912394b371a0c92829226ce52e586ac3cebc7c
2020-11-18 03:13:31 -08:00
generatedunixname89002005306973
ad8e8fbb24 Flipper Release: v0.66.0
Summary: Releasing version 0.66.0

Reviewed By: nikoant

Differential Revision: D25052024

fbshipit-source-id: 5ef39431905ca3bc2c4870bff2f8ae917ed1e81e
2020-11-18 03:13:31 -08:00
Pascal Hartig
008803b502 Don't redefine Tabs
Summary:
I don't quite know how this worked before but we had `Type` both as
a function and a type. I guess because types only exist in TS land it
was okay, but it was confusing nevertheless.

Reviewed By: nikoant

Differential Revision: D25026916

fbshipit-source-id: f4f0351bf7eeec33ef760433157b3713054d9dc7
2020-11-18 02:53:07 -08:00
Anton Nikolaev
32ca27f4f7 Fix assigning unique numbers to builds
Summary: Just rolling back a part of D24782300 (dce7422ba6) where I've accidently removed using of unique number because did not understood how it is passed and wrongly decided it is not needed.

Reviewed By: passy

Differential Revision: D25027458

fbshipit-source-id: f623732c161bca01859f91444c2a0ed211a5fad6
2020-11-17 11:51:18 -08:00
Chaiwat Ekkaewnumchai
2c9219f99a Add State to Notification Component
Summary:
This diff covers notification items to show data stored in the state as well as add button functionality to plugins.

This diff doesn't cover notification search, clear, and setting, which will be covered in next diffs

Reviewed By: mweststrate

Differential Revision: D24986742

fbshipit-source-id: d42cfe8112881a7f0d2158cbce267a4d7c344305
2020-11-17 05:38:13 -08:00
John Knox
41c7e023a9 Enable limited use of iOS devices on non Mac devices
Summary:
Context: https://fb.workplace.com/groups/flippersupport/permalink/1005193786627946/

I believe we can land this without knowing that it works, because iOS support is still disabled by default for non mac devices - you have to enable it in settings to switch it on.

Reviewed By: passy

Differential Revision: D24893757

fbshipit-source-id: c9db515a7807c94a0d5e509017dd4e1796d24f6d
2020-11-17 04:03:43 -08:00
John Knox
07212ec8e0 Fix memory leak
Summary:
Fixes https://github.com/facebook/flipper/issues/1561

Thanks to rdunlop for finding this!

Reviewed By: cekkaewnumchai

Differential Revision: D24923154

fbshipit-source-id: f4904730aecb9ecd7f391b5e1dcabc6a6db038cf
2020-11-17 03:59:59 -08:00
Pascal Hartig
cb625d38dc Build tutorial app as part of sample build (#1677)
Summary:
Per title.

Will require https://github.com/facebook/flipper/issues/1676 to land first.

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

Reviewed By: mweststrate

Differential Revision: D24981568

Pulled By: passy

fbshipit-source-id: 053f4bafaffbae0890603aef5b3a01c7d0e1137e
2020-11-17 03:12:03 -08:00
Michel Weststrate
c6e51fe73c Moved sections plugin into fb/
Summary: See https://github.com/facebook/flipper/issues/1680, the sections plugin was exposed publicly, even though we don't have a publicly available client plugin

Reviewed By: passy

Differential Revision: D24993552

fbshipit-source-id: 788ecc29ec64048b3077dea89e492ddbf1ea7d84
2020-11-17 02:42:13 -08:00
dependabot[bot]
acd2cf25ec Bump @algolia/client-search from 4.5.1 to 4.6.0 in /desktop (#1682)
Summary:
Bumps [algolia/client-search](https://github.com/algolia/algoliasearch-client-javascript) from 4.5.1 to 4.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algolia/client-search's releases</a>.</em></p>
<blockquote>
<h2>4.6.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algolia/client-search's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="da500fb2be"><code>da500fb</code></a> chore: release v4.6.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1217">https://github.com/facebook/flipper/issues/1217</a>)</li>
<li><a href="c3f5d7200e"><code>c3f5d72</code></a> chore: update bundlesize</li>
<li><a href="4348b3887b"><code>4348b38</code></a> fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>)</li>
<li><a href="f6e9e5620c"><code>f6e9e56</code></a> fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>)</li>
<li><a href="5207d68ff6"><code>5207d68</code></a> chore(TypeScript): avoid ts-ignore (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1190">https://github.com/facebook/flipper/issues/1190</a>)</li>
<li><a href="f82bd48684"><code>f82bd48</code></a> chore: migrate release process to Ship.js (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1210">https://github.com/facebook/flipper/issues/1210</a>)</li>
<li><a href="50b78a3e7f"><code>50b78a3</code></a> feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@algolia/client-search&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=4.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24994065

Pulled By: mweststrate

fbshipit-source-id: 3b4b12a5540e611edc879cc2525dee811e73955c
2020-11-17 02:39:13 -08:00
dependabot[bot]
bc7aacc229 Bump @typescript-eslint/experimental-utils from 4.4.0 to 4.7.0 in /desktop (#1683)
Summary:
Bumps [typescript-eslint/experimental-utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/experimental-utils) from 4.4.0 to 4.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint/experimental-utils's releases</a>.</em></p>
<blockquote>
<h2>v4.7.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0">4.7.0</a> (2020-11-09)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [array-type] parenthesize ReadonlyArray fix (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2747">#2747</a>) (<a href="83385ac351">83385ac</a>)</li>
<li><strong>eslint-plugin:</strong> [no-extra-non-null-assertion] false positive with non-nullable computed key (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2737">#2737</a>) (<a href="e82698c0ec">e82698c</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> add rule <code>no-confusing-void-expression</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2605">#2605</a>) (<a href="c8a4dadeab">c8a4dad</a>)</li>
<li>support TS4.1 features (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2748">#2748</a>) (<a href="2be354bb15">2be354b</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2583">#2583</a></li>
</ul>
<h2>v4.6.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1">4.6.1</a> (2020-11-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [consistent-indexed-object-style] fix wrong autofix behaviour with generics (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2722">#2722</a>) (<a href="73d97130af">73d9713</a>)</li>
<li><strong>eslint-plugin:</strong> [no-shadow] ignore global module augmentation (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2729">#2729</a>) (<a href="d8c67a564a">d8c67a5</a>)</li>
</ul>
<h2>v4.6.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0">4.6.0</a> (2020-10-26)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [method-signature-style] correct fixer for overloads in an object literal type (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2708">#2708</a>) (<a href="0763913c4a">0763913</a>)</li>
<li><strong>eslint-plugin:</strong> [method-signature-style] don't auto-fix interfaces within namespaces (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2678">#2678</a>) (<a href="e01204931e">e012049</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-string-starts-ends-with] Check negative indices in the second position for slice (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2696">#2696</a>) (<a href="66e9c6e29f">66e9c6e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [ban-types] support banning <code>[]</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2704">#2704</a>) (<a href="ef8b5a7e09">ef8b5a7</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2582">#2582</a></li>
<li><strong>eslint-plugin:</strong> add <code>no-unnecessary-type-constraint</code> rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2516">#2516</a>) (<a href="880ac753b9">880ac75</a>)</li>
<li><strong>eslint-plugin:</strong> add extension rule <code>space-infix-ops</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2593">#2593</a>) (<a href="343d20db23">343d20d</a>)</li>
</ul>
<h2>v4.5.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0">4.5.0</a> (2020-10-19)</h1>
<h3>Bug Fixes</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/experimental-utils/CHANGELOG.md">typescript-eslint/experimental-utils's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.1...v4.7.0">4.7.0</a> (2020-11-09)</h1>
<p><strong>Note:</strong> Version bump only for package typescript-eslint/experimental-utils</p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.6.0...v4.6.1">4.6.1</a> (2020-11-02)</h2>
<p><strong>Note:</strong> Version bump only for package typescript-eslint/experimental-utils</p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.5.0...v4.6.0">4.6.0</a> (2020-10-26)</h1>
<p><strong>Note:</strong> Version bump only for package typescript-eslint/experimental-utils</p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.1...v4.5.0">4.5.0</a> (2020-10-19)</h1>
<h3>Features</h3>
<ul>
<li><strong>typescript-estree:</strong> add flag EXPERIMENTAL_useSourceOfProjectReferenceRedirect (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2669">#2669</a>) (<a href="90a5878450">90a5878</a>)</li>
</ul>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.4.0...v4.4.1">4.4.1</a> (2020-10-12)</h2>
<p><strong>Note:</strong> Version bump only for package typescript-eslint/experimental-utils</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c473780db9"><code>c473780</code></a> chore: publish v4.7.0</li>
<li><a href="fb1d9b162a"><code>fb1d9b1</code></a> chore: publish v4.6.1</li>
<li><a href="5de66142f2"><code>5de6614</code></a> chore: publish v4.6.0</li>
<li><a href="5225a76852"><code>5225a76</code></a> chore: publish v4.5.0</li>
<li><a href="90a5878450"><code>90a5878</code></a> feat(typescript-estree): add flag EXPERIMENTAL_useSourceOfProjectReferenceRed...</li>
<li><a href="c41dbe56e0"><code>c41dbe5</code></a> chore: publish v4.4.1</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.7.0/packages/experimental-utils">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/experimental-utils&package-manager=npm_and_yarn&previous-version=4.4.0&new-version=4.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24994058

Pulled By: mweststrate

fbshipit-source-id: 9bc3e65a6a928aac63ea50b2a8627a0a83642d21
2020-11-17 02:14:12 -08:00
dependabot[bot]
3f868c9165 Bump babel-jest from 26.6.2 to 26.6.3 in /react-native/ReactNativeFlipperExample (#1666)
Summary:
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.6.2 to 26.6.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">babel-jest's releases</a>.</em></p>
<blockquote>
<h2>26.6.3</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolve-dependencies]</code> Continue dependency resolution if mock dependency can't be found (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10779">#10779</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">babel-jest's changelog</a>.</em></p>
<blockquote>
<h2>26.6.3</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolve-dependencies]</code> Continue dependency resolution if mock dependency can't be found (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10779">#10779</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2f6931e91d"><code>2f6931e</code></a> v26.6.3</li>
<li><a href="a7ae4f2c22"><code>a7ae4f2</code></a> chore: bump babel core types (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/10772">#10772</a>)</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v26.6.3/packages/babel-jest">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=babel-jest&package-manager=npm_and_yarn&previous-version=26.6.2&new-version=26.6.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24993947

Pulled By: mweststrate

fbshipit-source-id: a8213bd08187c9bb1dd97429fe009f24b5fc572f
2020-11-17 01:52:01 -08:00
dependabot[bot]
b66ce5d2dd Bump @types/babel__core from 7.1.10 to 7.1.12 in /desktop (#1686)
Summary:
Bumps [types/babel__core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/babel__core) from 7.1.10 to 7.1.12.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/babel__core">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/babel__core&package-manager=npm_and_yarn&previous-version=7.1.10&new-version=7.1.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24993992

Pulled By: mweststrate

fbshipit-source-id: f4fde9c6940c9e159ae06ce5d1fd8319e8e57e4e
2020-11-17 01:49:40 -08:00
Michel Weststrate
17ff06c085 Minor padding fix
Summary: per title

Reviewed By: jknoxville

Differential Revision: D24993266

fbshipit-source-id: 42d1718a4f111505cf69d1accc7d7f7cee9285a9
2020-11-16 13:10:33 -08:00
Michel Weststrate
d5557ef8de Documented so far undocumented top level APIs
Summary: Per title

Reviewed By: passy

Differential Revision: D24992066

fbshipit-source-id: a9aa351600d46a67b605e8555efb30d42ffc2d9b
2020-11-16 13:10:33 -08:00
Michel Weststrate
45db64f0d0 Make sure that limited top-level exports are exposed from flipper-plugin
Summary: This prefixes APIs of `flipper-plugin`, that are used by Flipper, but should not be used by plugins directly, with `_`. Also added tests to make sure we are always intentional when extending the exposed APIs

Reviewed By: passy

Differential Revision: D24991700

fbshipit-source-id: ed3700efa188fca7f5a14d5c68250598cf011e42
2020-11-16 13:10:33 -08:00
Michel Weststrate
cc438e60ad Update public docs to use Sandy
Summary: This updates the docs of Flipper to use Sandy, rather than `FlipperPlugin` class. Restructured the docs a bit as a result.

Reviewed By: passy

Differential Revision: D24991285

fbshipit-source-id: 66d5760c25cf9cf3983515433dfd64348d51db3d
2020-11-16 13:10:32 -08:00
Michel Weststrate
da6d6593a5 Update seammamals plugin to Sandy
Reviewed By: nikoant

Differential Revision: D24951251

fbshipit-source-id: 5510c2777d232fe4290f6b248b736c80306fb44e
2020-11-16 13:10:32 -08:00
Michel Weststrate
dc82ec2885 flipper-pkg template will now use sandy
Summary:
This diff updates plugin scaffolding by using Sandy and closely following the internal Scarf templates (see D24949452, D24949452)

By using `flipper-plugin`, it is now also possible to write unit tests for a plugin, and the default infra for that is generated (babel / jest)

For now there is still a dependency on `flipper` to support fancy components not yet available in Sandy, this will be updated in the future: T79632585

Changelog: `flipper-pkg init` now uses the new Sandy plugin infrastructure ant Ant.design component system

Reviewed By: nikoant

Differential Revision: D24950080

fbshipit-source-id: afc5e7ac728b20cb84fdbbdcb76cd45968736c01
2020-11-16 13:10:32 -08:00
Michel Weststrate
69504252de Add antd as dependency in scarf template
Summary: Updated the scarf template to fix some urls, at `antd` by default, and avoid depending on `flipper-plugin`.

Reviewed By: cekkaewnumchai

Differential Revision: D24949452

fbshipit-source-id: 56b6628309d3cdf6c30acddf83dab6e493cd7c0e
2020-11-16 13:10:32 -08:00
Michel Weststrate
33e527f39a Add onUnhandledMesssage handler
Summary: This diff adds the `client.onUnhandledMessage` handler, to be able to handle messages for which we don't know the names upfront. Some existing plugins that only send one kind of message can benefit from this, as can generic plugins, like the createTablePlugin

Reviewed By: passy

Differential Revision: D24949453

fbshipit-source-id: 0fed81e28aee350632c09ee3bb834f306dc8b100
2020-11-16 13:10:32 -08:00
Pascal Hartig
9a3cd63d55 Pin workflow actions (#1687)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1687

I cleaned up and tagged both of the custom actions.
It's much better to pin them down properly so that
future changes on `main` don't break anything.

Reviewed By: nikoant

Differential Revision: D24996462

fbshipit-source-id: 6d63e76b758439ba8df4ef2f5b77992789744e7b
2020-11-16 13:03:57 -08:00
dependabot[bot]
e1fc9a423d Bump flipper-client-sdk from 0.0.2 to 0.0.3 in /desktop (#1668)
Summary:
Bumps [flipper-client-sdk](https://github.com/facebook/flipper) from 0.0.2 to 0.0.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/flipper/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flipper-client-sdk&package-manager=npm_and_yarn&previous-version=0.0.2&new-version=0.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: mweststrate

Differential Revision: D24981564

Pulled By: passy

fbshipit-source-id: 55431dd6f5ecf6bbb52324890a7efdb28b10350e
2020-11-16 11:12:23 -08:00
Pascal Hartig
30d212da65 Select release commit from larger push (#1678)
Summary:
GitHub only issues one push event for multiple commits.
This causes things to behave weirdly. My action now
looks for a commit with a certain message and runs
the subsequent steps on it. If there's more than one
matching commit, it uses the last one. Not great, not terrible.

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

Test Plan: Ran it on my fork: https://github.com/passy/flipper-1/actions/runs/360332680

Reviewed By: nikoant

Differential Revision: D24955986

Pulled By: passy

fbshipit-source-id: 6dcbe11e69bf77c803e3907ced3185ca85483ec8
2020-11-16 11:05:30 -08:00
Pascal Hartig
484a555428 Fix tutorial Android app build (#1676)
Summary:
This was not updated with the recent Litho editor changes.

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

Test Plan:
`./gradlew :tutorial:installDebug`

<img width="1381" alt="Screenshot 2020-11-13 at 16 31 16" src="https://user-images.githubusercontent.com/9906/99096159-e1197f00-25cd-11eb-9a80-9697fc7e4e3b.png">

Reviewed By: mweststrate

Differential Revision: D24981566

Pulled By: passy

fbshipit-source-id: 8315fe67f80c36b570c0c8fa110f810ad31bd9f2
2020-11-16 11:00:20 -08:00
dependabot[bot]
b88899f8f7 Bump @types/inquirer from 6.5.0 to 7.3.1 in /desktop (#1685)
Summary:
Bumps [types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 6.5.0 to 7.3.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/inquirer&package-manager=npm_and_yarn&previous-version=6.5.0&new-version=7.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24993998

Pulled By: mweststrate

fbshipit-source-id: bca428a99b361950ae2af4c16e079e4f48461968
2020-11-16 10:16:25 -08:00
dependabot[bot]
9063af1301 Bump metro-react-native-babel-preset from 0.63.0 to 0.64.0 in /react-native/ReactNativeFlipperExample (#1665)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.63.0 to 0.64.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p>
<blockquote>
<h2>Release v0.64.0</h2>
<ul>
<li><strong>[Feature]</strong>: Add <code>mkdtemp</code> and <code>mkdtempSync</code> implementations to <code>metro-memory-fs</code> (1ed78495ec5b492d3ce6f1f375bc596b18d9dc52)</li>
<li><strong>[Feature]</strong>: Add <code>chmod</code>, <code>lchmod</code>, and <code>fchmod</code> implementations to <code>metro-memory-fs</code> (d99b55be2cb9567e31f5a09ff96e3fd10c54941b)</li>
<li><strong>[Feature]</strong>: Support function-name inference for flow typecast-expressions to source-maps  (d48277f5b78f43365333652a459602b7990fca54)</li>
<li><strong>[Feature]</strong>: Support <code>SegmentID</code> field in Hermes mini-dump stack traces (d0634a858a860b4739ca821cec744b705edf9013)</li>
<li><strong>[Feature]</strong>: Support node modules algorithm for resolving configuration path (dea7e0549c286f8052df86f833de6221463687c7)</li>
<li><strong>[Feature]</strong>: Remove template literal and shorthand prop transformation from hermes-stable preset (1367b711d8807d0b300e23a06d11befe3e66d6f1)</li>
<li><strong>[Feature]</strong>: Add <code>nodeModulesPath</code> option to resolver (b2528d40c46085a32adbae370d0e47b6a24e3c8c)</li>
<li><strong>[Feature]</strong>: Remove computed properties, spread, and spread rest transform plugins from <code>Hermes-canary</code> preset (82818e778b75cdd1398f974513111a9a0ed43907)</li>
<li><strong>[Breaking]</strong>: Renames the Metro <code>transform.inlineRequires.blacklist</code> option to <code>blockList</code>. (b25fe89261732bd0befe965e4cf0bd38ff55b2b6)</li>
<li><strong>[Fix]</strong>: Prevent inlining of <code>__DEV__</code> in object property-keys (42942ca2ba81d03e50167ed028c8efb733bb0a3b)</li>
<li><strong>[Fix]</strong>: Include <code>/node_modules</code> in resolver search path (04a2a466eb353ea2953aac108654276c262fedfb)</li>
<li><strong>[Fix]</strong>: Correctly escape the path separator in blocklist regular expressions on Windows (881d9f6d97da92fbf510236fef697642ac9a3fe2)</li>
<li><strong>[Experimental]</strong>: Support absolute file paths when symbolicating stack traces (7be228453f5ff93191401c54614feb7c336fa86c)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e93fff1bab"><code>e93fff1</code></a> Bump metro version to 0.64.0</li>
<li><a href="881d9f6d97"><code>881d9f6</code></a> Fix regular expression compatibility issue with node v12 (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/604">https://github.com/facebook/flipper/issues/604</a>)</li>
<li><a href="120f866dc1"><code>120f866</code></a> Deploy Flow v0.137.0</li>
<li><a href="31a416527a"><code>31a4165</code></a> Upgrade CI build to node 12</li>
<li><a href="97852c1330"><code>97852c1</code></a> update eslint-plugin-react to 7.21.5 version</li>
<li><a href="82818e778b"><code>82818e7</code></a> Move Computed Prop, Array Spread, Object Spread/Rest to Hermes Canary</li>
<li><a href="653789db1e"><code>653789d</code></a> Back out &quot;Move Object.assign and ** to Hermes canary&quot;</li>
<li><a href="3d564dd9fc"><code>3d564dd</code></a> Move Object.assign and ** to Hermes canary</li>
<li><a href="3c52ac7f05"><code>3c52ac7</code></a> add Hermes profile predicate helpers</li>
<li><a href="0f376bbd93"><code>0f376bb</code></a> Add <code>type</code> to <code>TransformResult</code></li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.63.0...v0.64.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/~cpojer">cpojer</a>, a new releaser for metro-react-native-babel-preset since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-react-native-babel-preset&package-manager=npm_and_yarn&previous-version=0.63.0&new-version=0.64.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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)

</details>

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

Reviewed By: passy

Differential Revision: D24993963

Pulled By: mweststrate

fbshipit-source-id: 40b6f4771d171a5ca83f2e1377be5df1d1f31bc1
2020-11-16 10:11:22 -08:00
John Knox
2be022663e Improve invalid android sdk message
Reviewed By: nikoant

Differential Revision: D24993553

fbshipit-source-id: de2044aeac45fa139eef82b2e6785c461b8cfe5a
2020-11-16 09:41:47 -08:00
Chaiwat Ekkaewnumchai
d00cb84ad9 Sync Flipper Library Version
Summary: The plugin seems to miss the train to version 0.65. This diff gives it a ride to the current version

Reviewed By: nikoant

Differential Revision: D24950948

fbshipit-source-id: 3132a3baf0a41d8ec0de5cf8c55c0561126b038f
2020-11-13 07:24:47 -08:00
John Knox
797fd0517f Replace ITSR GK with a new one
Summary:
Michel discovered that the ITSR GK has been dialled down completely since the last bug.

Coming to re-enable it I discovered a bug that has been introduced since then, so have fixed that, but we can't just ramp up the original GK because the current version of flipper will crash if ITSR is used.

So instead, I'm leaving the current GK ramped down, and replacing it with a new one, which is safe to ramp up.

This will mean ITSR is only enabled on versions from the next release onwards.

Reviewed By: nikoant

Differential Revision: D24922822

fbshipit-source-id: 8a6990fd5130bd046c24b0da757492b37e4040f2
2020-11-13 01:20:49 -08:00
Michel Weststrate
dcdec2608e Start simulator app if not already started
Summary:
Before this change, launching a simulator would ony show the simulator if the simulator process itself was already running. This makes sure that opening a simulator also works from a closed state

Changelog: Automatically start an iOS simulator to launch a device when none is running yet

Reviewed By: nikoant

Differential Revision: D24919363

fbshipit-source-id: 45039330710cf81aa73222967d667964bb01f42a
2020-11-12 16:32:57 -08:00
Michel Weststrate
c9a278fb0f Use predefined icons for Facebook family apps
Summary:
Ideally, we want to fetch app Icons from the device, but for now, we can at least for Facebook owned apps we can use a hardcoded set of icons, which probably even looks better.

For ` Lite` apps, the colors of the icon and background are reversed, which makes both variations recognizable.

Reviewed By: jknoxville

Differential Revision: D24920161

fbshipit-source-id: 5220093fb3a443ae535faa4c346a2029de9cbbd5
2020-11-12 15:19:43 -08:00
Michel Weststrate
dca419ee24 Prompt for login by default
Summary:
This aligns behaviour with non-sandy behaviour of login: Prompt for login on startup if the user isn't yet signed in.

Logic is based on https://www.internalfb.com/intern/diffusion/FBS/browse/master/xplat/sonar/desktop/app/src/chrome/UserAccount.tsx?commit=1fc905fdd1cd&lines=94

Reviewed By: jknoxville

Differential Revision: D24922397

fbshipit-source-id: b4bab9c109a1054c0e260599d28320699c47dfda
2020-11-12 15:04:41 -08:00
John Knox
9d101263a0 Put PopoverProvider inside scope of Store Provider
Summary:
Many UI components (such as Button) rely on the redux store being present in the context.

So to use these components freely in popovers, the popover provider has to be within the store provider, not outside of it.

This moves it, along with the context menu and tooltip providers for the same reason.

Has the effect of fixing the ITSR dialog, which had a button inside a popover.

Reviewed By: mweststrate

Differential Revision: D24922493

fbshipit-source-id: e15540ac49795875b1cf86d6c66ec0591dc374ef
2020-11-12 10:03:59 -08:00