Commit Graph

4269 Commits

Author SHA1 Message Date
dependabot[bot]
200fa2dab5 Bump prettier from 2.1.2 to 2.2.0 in /flipper-js-client-sdk (#1699)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h1>2.2.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.1.2...2.2.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/11/20/2.2.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.2.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.1.2...2.2.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/11/20/2.2.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="42b2195e71"><code>42b2195</code></a> Release 2.2.0</li>
<li><a href="9bc90cfe7d"><code>9bc90cf</code></a> Update to typescript 4.1.2 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9725">#9725</a>)</li>
<li><a href="002dc6c45f"><code>002dc6c</code></a> Extract <code>printStatementSequence</code>, <code>printMemberExpression</code>, and <code>printBlock</code> (...</li>
<li><a href="92d31d1b30"><code>92d31d1</code></a> Extract <code>printAssignment</code>, <code>printBinaryishExpression</code>, and <code>printComment</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9">https://github.com/facebook/flipper/issues/9</a>...</li>
<li><a href="05236cf64d"><code>05236cf</code></a> Extract printInterface and printCallExpression (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9715">#9715</a>)</li>
<li><a href="c03a38e8de"><code>c03a38e</code></a> Extract function related functions (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9721">#9721</a>)</li>
<li><a href="87dab58b3a"><code>87dab58</code></a> Extract printClass and printTypeParameters (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9713">#9713</a>)</li>
<li><a href="b12e869333"><code>b12e869</code></a> Extract JSX related print functions (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9714">#9714</a>)</li>
<li><a href="7acaa554e9"><code>7acaa55</code></a> Build(deps-dev): Bump rollup from 2.33.2 to 2.33.3 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9717">#9717</a>)</li>
<li><a href="ca9aac8997"><code>ca9aac8</code></a> Build(deps-dev): Bump webpack from 5.5.0 to 5.5.1 in /website (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9716">#9716</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.1.2...2.2.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.1.2&new-version=2.2.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/1699

Reviewed By: mweststrate

Differential Revision: D25170892

Pulled By: passy

fbshipit-source-id: bec87d63ccc658acda18f1eb2bff9f8cf3fda1b4
2020-11-27 04:28:13 -08:00
Pascal Hartig
911c3e297c Fix lints (#1716)
Summary:
Fix a lint that's currently failing.
See https://github.com/facebook/flipper/runs/1449249447?check_suite_focus=true

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

Test Plan: cargo clippy succeeds now.

Reviewed By: nikoant

Differential Revision: D25170963

Pulled By: passy

fbshipit-source-id: 658f8b6abaef9860be9ff07447d2354727acb7c7
2020-11-27 04:10:09 -08:00
dependabot[bot]
37ae5f9e97 Bump react-native-flipper from 0.64.0 to 0.66.0 in /react-native/ReactNativeFlipperExample (#1701)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.64.0 to 0.66.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="ad8e8fbb24"><code>ad8e8fb</code></a> Flipper Release: v0.66.0</li>
<li><a href="008803b502"><code>008803b</code></a> Don't redefine Tabs</li>
<li><a href="32ca27f4f7"><code>32ca27f</code></a> Fix assigning unique numbers to builds</li>
<li><a href="2c9219f99a"><code>2c9219f</code></a> Add State to Notification Component</li>
<li><a href="41c7e023a9"><code>41c7e02</code></a> Enable limited use of iOS devices on non Mac devices</li>
<li><a href="07212ec8e0"><code>07212ec</code></a> Fix memory leak</li>
<li><a href="cb625d38dc"><code>cb625d3</code></a> Build tutorial app as part of sample build (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1677">https://github.com/facebook/flipper/issues/1677</a>)</li>
<li><a href="c6e51fe73c"><code>c6e51fe</code></a> Moved sections plugin into fb/</li>
<li><a href="acd2cf25ec"><code>acd2cf2</code></a> Bump algolia/client-search from 4.5.1 to 4.6.0 in /desktop (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1682">https://github.com/facebook/flipper/issues/1682</a>)</li>
<li><a href="bc7aacc229"><code>bc7aacc</code></a> Bump typescript-eslint/experimental-utils from 4.4.0 to 4.7.0 in /desktop (#...</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.64.0...v0.66.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-native-flipper&package-manager=npm_and_yarn&previous-version=0.64.0&new-version=0.66.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/1701

Reviewed By: mweststrate

Differential Revision: D25170894

Pulled By: passy

fbshipit-source-id: 0394fb086a3f4d39f5bea5a735cb7e4f7622c6c1
2020-11-27 04:10:09 -08:00
Pascal Hartig
8d879fdd77 Install more NDKs (#1715)
Summary:
I honestly don't know how the resolution works but it seems that we need
more than just one NDK.

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

Test Plan: Let's hope this turns green.

Reviewed By: mweststrate

Differential Revision: D25170962

Pulled By: passy

fbshipit-source-id: dcdf25b5c77f08bdeceef50d924727cb0c9dcca9
2020-11-26 05:15:53 -08:00
John Knox
0f51ae4b82 Fix ITSR repeated requests bug
Summary:
I converted the rating button to a functional component, and mistakenly moved the effect in the constructor into the render function.

This puts it into an effect with no dependencies so it should only happen once, instead of every render.

Reviewed By: mweststrate

Differential Revision: D25185514

fbshipit-source-id: 48203b01bbd85f3b9ed4dbbb416768c0d5524f70
2020-11-26 04:34:59 -08:00
Michel Weststrate
8025c49768 Upgrade to TypeScript 4.1
Summary:
allow-large-files

Upgrade to TypeScript 4.1

Reviewed By: nikoant

Differential Revision: D25122073

fbshipit-source-id: 7d2bc6f97595c825c9527b0c6ecab07698d5f981
2020-11-26 04:22:05 -08:00
Anton Nikolaev
c431657a39 Use --synchronous option for pushing FlipperKit cocoapod which should fix consistency issue
Summary: This is suggested as a fix for the consistency issue (https://github.com/facebook/flipper/issues/1638) when interdependent packages published together and one of them cannot find another because it takes time to synchronise published packages to CDN. This fix is suggested here: https://github.com/CocoaPods/CocoaPods/issues/9497.

Reviewed By: mweststrate

Differential Revision: D25184732

fbshipit-source-id: d8d58b33f65ff7e87f935fb7cb85964dbf95dd13
2020-11-26 02:14:14 -08:00
Anton Nikolaev
31763b7499 Resolve dev and peer dependencies for metro watcher
Summary: I've noticed that some plugins cannot be packaged after switching to Sandy and using "antd" as peer dependency. This change should fix this issue.

Reviewed By: mweststrate

Differential Revision: D25177510

fbshipit-source-id: cfb740a757c9eb83cf0e5165abed3f9c9f5591fa
2020-11-26 01:47:08 -08:00
Anton Nikolaev
4b10f39ebb Upgrade node-fetch to fix vulnerability alert
Summary: Upgrade node-fetch to ^2.6.1 to fix vulnerability alert

Reviewed By: jknoxville

Differential Revision: D25123102

fbshipit-source-id: cb2725707040f5293d0e4f4aed8235e239436483
2020-11-20 09:39:03 -08:00
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