Commit Graph

730 Commits

Author SHA1 Message Date
Anton Nikolaev
a8ca142c9a Load only compatible plugins on startup
Summary: We currently filtering out incompatible versions from marketplace. This diff also add filtering for incompatible installed plugins on Flipper startup to ensure we always load the latest compatible version.

Reviewed By: passy

Differential Revision: D28341891

fbshipit-source-id: 83afc14a3c07e1763e1bd146251e6d3b71a66248
2021-05-12 07:49:13 -07:00
Anton Nikolaev
252322f525 Fix a bug with duplicated device plugins in "Detected in App" list
Summary: When crash reporter plugin is not installed in Flipper, it can appear duplicated in "Detected in App" list. This diff fixes that.

Reviewed By: passy

Differential Revision: D28325072

fbshipit-source-id: 92011f1f10c6633fbd31ea886fe53f352057f4f8
2021-05-12 07:49:13 -07:00
Anton Nikolaev
00851c6b5d Fix bug with plugin re-installation after uninstallation
Summary:
Fixed a bug when plugin installation status wouldn't be saved between sessions when plugin uninstalled and then re-installed again. Before the fix, after Flipper restart, such plugin was uninstalled again because its package name was not removed from "uninstalledPlugins" state. This was because plugin id was used by mistake instead of name in few places.

To try avoiding this issue in future I've also renamed "uninstalledPlugins" to "uninstalledPluginNames" to make it more clear than package name should be used there rather than ID. As this field is persisted, I also added migration which moves data to the renamed field.

Reviewed By: passy

Differential Revision: D28314447

fbshipit-source-id: fbe3edc258b78fe7fbb0d966f93aabcdf3b66d4b
2021-05-12 07:49:13 -07:00
Anton Nikolaev
0dce247741 Fix bug with unnecessary plugin auto-update attempts
Summary: I've noticed that Flipper is trying to schedule auto-update for some plugins on every startup even though they are already updated. I found this happens because of a race condition when the auto-updater can be triggered before plugins initialised. This diff fixes that.

Reviewed By: passy

Differential Revision: D28312086

fbshipit-source-id: 66b0bd2aa9dfede1737d565b1e7e7845c940405e
2021-05-12 07:49:13 -07:00
Anton Nikolaev
28fd8da615 Install only compatible plugins
Summary: Currently, when user installs a new plugin which was not installed before that, Flipper always takes the latest available version of it. This is not correct, because the latest version might be incompatible with the currently running version of Flipper. To avoid that, instead of always using just the latest version we will be using the most recent version which is compatible with the current Flipper version.

Reviewed By: passy

Differential Revision: D28306505

fbshipit-source-id: 4258a456d6a5d92cbf48af55c0efb17ecf560b57
2021-05-12 07:49:13 -07:00
Anton Nikolaev
2b41fba704 Change Flipper version retrieving
Summary:
Changed retrieving of Flipper version. Now it will be always retrieved from package.json. Before this change we used "remote.app.getVersion()" API which instead returned electron version for dev builds, e.g. "11.2.3". This is not convenient, because we now use Flipper version to check plugin compatibility and unrelated Electron version here makes things more complicated. After this change, if version is not properly bumped then "0.0.0" will be used: 1) when running using "yarn start", 2) when local building with "yarn build --mac" without setting new version, 3) when running tests "yarn test".

In addition to that I added a new command-line argument and env var which allow overriding version number for Flipper. This is useful for testing plugin updates, because compatibility between plugins and Flipper is checked by comparing Flipper version with the min version set in the plugin metadata.

Reviewed By: passy

Differential Revision: D28287354

fbshipit-source-id: 2f9482080e3612b95a24300050d98150c6db6cb7
2021-05-12 07:49:13 -07:00
Anton Nikolaev
21ce694fd5 Retrieve multiple plugin versions from marketplace
Summary: Retrieve multiple plugin versions so we later can choose a version which is compatible with the current version of Flipper (e.g. if user is on old version of Flipper).

Reviewed By: passy

Differential Revision: D28284121

fbshipit-source-id: 3ed9cffb3e9702fc65d19b73fc8cc162b776b7c9
2021-05-12 07:49:13 -07:00
Pascal Hartig
69c7876be9 Enforce react/jsx-boolean-value
Summary: yarn fix results.

Reviewed By: nikoant

Differential Revision: D28329714

fbshipit-source-id: 564aa24bcdb4bc6cdea67dfad10a077a9c817a2d
2021-05-11 10:14:05 -07:00
dependabot[bot]
674f71a426 Bump prettier from 2.2.1 to 2.3.0 in /desktop (#2300)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.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>
<h2>2.3.0</h2>
<p><a href="https://github.com/prettier/prettier/compare/2.2.1...2.3.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2021/05/09/2.3.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.3.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.2.1...2.3.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2021/05/09/2.3.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2afc3b9ae6"><code>2afc3b9</code></a> Release 2.3.0</li>
<li><a href="7cfa9aa89b"><code>7cfa9aa</code></a> Fix pre-commit hook setup command (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10710">#10710</a>)</li>
<li><a href="c8c02b4753"><code>c8c02b4</code></a> Build(deps-dev): Bump concurrently from 6.0.2 to 6.1.0 in /website (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10834">#10834</a>)</li>
<li><a href="6506e0f50e"><code>6506e0f</code></a> Build(deps-dev): Bump webpack-cli from 4.6.0 to 4.7.0 in /website (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10836">#10836</a>)</li>
<li><a href="69fae9c291"><code>69fae9c</code></a> Build(deps): Bump flow-parser from 0.150.0 to 0.150.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10839">#10839</a>)</li>
<li><a href="164a6e2351"><code>164a6e2</code></a> Switch CLI to async (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10804">#10804</a>)</li>
<li><a href="d3e7e2f634"><code>d3e7e2f</code></a> Build(deps): Bump codecov/codecov-action from v1.4.1 to v1.5.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10833">#10833</a>)</li>
<li><a href="9e09845da0"><code>9e09845</code></a> Build(deps): Bump <code>@​angular/compiler</code> from 11.2.12 to 11.2.13 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10838">#10838</a>)</li>
<li><a href="1bfab3d045"><code>1bfab3d</code></a> Build(deps-dev): Bump eslint from 7.25.0 to 7.26.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10840">#10840</a>)</li>
<li><a href="387fce4ed8"><code>387fce4</code></a> Minor formatting tweaks (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/10807">#10807</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.2.1...2.3.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.2.1&new-version=2.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2300

Reviewed By: passy

Differential Revision: D28323849

Pulled By: cekkaewnumchai

fbshipit-source-id: 1842877ccc9a9587af7f0d9ff9432c2075c8ee22
2021-05-11 05:51:56 -07:00
dependabot[bot]
ef242a2b76 Bump antd from 4.12.2 to 4.15.4 in /desktop (#2301)
Summary:
allow-large-files
Bumps [antd](https://github.com/ant-design/ant-design) from 4.12.2 to 4.15.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ant-design/ant-design/releases">antd's releases</a>.</em></p>
<blockquote>
<h2>4.15.4</h2>
<ul>
<li>{emoji:1f41e} Fix Menu.Item width issue when <code>collapsedWidth</code> is set. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f41e} Fix Radio check spin style sometime height too long. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li>
<li>{emoji:1f41e} Fix Typography.Link open link when trigger <code>editable</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@​John60676</code></a></li>
<li>{emoji:1f41e} InputNumber clean up input will trigger <code>onChange(null)</code> now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li>
<li>{emoji:1f41e} Fix Dropdown.Button broken style when inside Modal <code>footer</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f484} Replace Anchor default background from <code>#FFFFFF</code> to <code>transparent</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li>
<li>{emoji:1f310} Add <code>ko_KR</code> and <code>ja_JP</code> TimePicker.RangePicker placeholder. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@​ChalkPE</code></a></li>
<li>TypeScript
<ul>
<li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github.com/kerm1it"><code>@​kerm1it</code></a></li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>{emoji:1f41e} 修复 Menu.Item 设置 <code>collapsedWidth</code> 时宽度错误的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f41e} 修复 Radio 选中样式有时高度略长的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li>
<li>{emoji:1f41e} 修复 Typography.Link  在 <code>editable</code> 模式下点击编辑会触发链接跳转的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@​John60676</code></a></li>
<li>{emoji:1f41e} InputNumber 现在清空输入框时会触发 <code>onChange(null)</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li>
<li>{emoji:1f41e} 修复 Modal <code>footer</code> 里放置 Dropdown.Button 的样式错乱问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f484} 替换 Anchor 默认背景颜色从 <code>#FFFFFF</code> 改至 <code>transparent</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li>
<li>{emoji:1f310} 添加 TimePicker.RangePicker  <code>ko_KR</code> 和 <code>ja_JP</code> 的 <code>placeholder</code> 国际化。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@​ChalkPE</code></a></li>
<li>TypeScript
<ul>
<li>� 修复 Upload 组件 <code>beforeUpload</code> 类型声明。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github.com/kerm1it"><code>@​kerm1it</code></a></li>
</ul>
</li>
</ul>
<h2>4.15.3</h2>
<ul>
<li>Table
<ul>
<li>{emoji:1f41e} Fix Table selection column width when bordered is true. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li>
<li>{emoji:1f6a8} Add warning when Table <code>current</code> is negative number. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@​wadezhan</code></a></li>
</ul>
</li>
<li>{emoji:1f41e} Fix Button <code>type=&quot;link&quot;</code> should not redirect when it is <code>disabled</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li>
<li>{emoji:1f41e} Fix Upload appear errors when url of file is <code>null</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li>
<li>{emoji:1f41e} Fix padding on a SubMenu inside an ItemGroup. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@​sebakerckhof</code></a></li>
<li>{emoji:1f41e} Fix Checkbox &amp; Radio align issue in flex box. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li>
<li>{emoji:1f41e} Fix Badge broken animation on spin icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li>
<li>{emoji:1f41e} Fix Input <code>disabled</code> hover style in Form. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@​Fog3211</code></a></li>
<li>TypeScript
<ul>
<li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a></li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>Table
<ul>
<li>{emoji:1f41e} 修复选择列和边框冲突的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li>
<li>{emoji:1f6a8} 当 <code>current</code> 为负数时将在显示控制台警告。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@​wadezhan</code></a></li>
</ul>
</li>
<li>{emoji:1f41e} 修复 Button <code>type=&quot;link&quot;</code> 添加 <code>disabled</code> 后仍然可点击跳转的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li>
<li>{emoji:1f41e} 修复 Upload 当文件 url 为 <code>null</code> 时渲染出错问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li>
<li>{emoji:1f41e} 修复 SubMenu 在 ItemGroup 内时的内边距。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@​sebakerckhof</code></a></li>
<li>{emoji:1f41e} 修复 Checkbox 和 Radio 在 flex 布局下的对齐问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li>
<li>{emoji:1f41e} 修复 Badge 上放置旋转图标的动画问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li>
<li>{emoji:1f41e} 修复 Form 错误校验状态下 Input <code>disabled</code> 的 hover 样式。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@​Fog3211</code></a></li>
<li>TypeScript
<ul>
<li>� 修复 Upload 组件 <code>beforeUpload</code> 类型声明。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a></li>
</ul>
</li>
</ul>
<h2>4.15.3-alpha.0</h2>
<h2>4.15.2</h2>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md">antd's changelog</a>.</em></p>
<blockquote>
<h2>4.15.4</h2>
<p><code>2021-04-30</code></p>
<ul>
<li>{emoji:1f41e} Fix Menu.Item width issue when <code>collapsedWidth</code> is set. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f41e} Fix Radio check spin style sometime height too long. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li>
<li>{emoji:1f41e} Fix Typography.Link open link when trigger <code>editable</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@​John60676</code></a></li>
<li>{emoji:1f41e} InputNumber clean up input will trigger <code>onChange(null)</code> now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li>
<li>{emoji:1f41e} Fix Dropdown.Button broken style when inside Modal <code>footer</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@​Map1en</code></a></li>
<li>{emoji:1f484} Replace Anchor default background from <code>#FFFFFF</code> to <code>transparent</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li>
<li>{emoji:1f310} Add <code>ko_KR</code> and <code>ja_JP</code> TimePicker.RangePicker placeholder. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@​ChalkPE</code></a></li>
<li>TypeScript
<ul>
<li>� Fix Upload type definition of <code>beforeUpload</code> and <code>UploadFile</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30343">#30343</a> <a href="https://github.com/kerm1it"><code>@​kerm1it</code></a></li>
</ul>
</li>
</ul>
<h2>4.15.3</h2>
<p><code>2021-04-25</code></p>
<ul>
<li>Table
<ul>
<li>{emoji:1f41e} Fix Table selection column width when bordered is true. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li>
<li>{emoji:1f6a8} Add warning when Table <code>current</code> is negative number. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@​wadezhan</code></a></li>
</ul>
</li>
<li>{emoji:1f41e} Fix Button <code>type=&quot;link&quot;</code> should not redirect when it is <code>disabled</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li>
<li>{emoji:1f41e} Fix Upload appear errors when url of file is <code>null</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li>
<li>{emoji:1f41e} Fix padding on a SubMenu inside an ItemGroup. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@​sebakerckhof</code></a></li>
<li>{emoji:1f41e} Fix Checkbox &amp; Radio align issue in flex box. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li>
<li>{emoji:1f41e} Fix Badge broken animation on spin icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li>
<li>{emoji:1f41e} Fix Input <code>disabled</code> hover style in Form. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@​Fog3211</code></a></li>
<li>TypeScript
<ul>
<li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a> <a href="https://github.com/hello-chinese"><code>@​hello-chinese</code></a></li>
</ul>
</li>
</ul>
<h2>4.15.2</h2>
<p><code>2021-04-19</code></p>
<ul>
<li>{emoji:1f41e} Fix Tabs <code>centered</code> doesn't work. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30106">#30106</a> <a href="https://github.com/kerm1it"><code>@​kerm1it</code></a></li>
<li>{emoji:1f484} Fix Button <code>type=&quot;link&quot;</code> disabled cursor style missing. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30197">#30197</a></li>
<li>{emoji:1f41e} Fix TextArea <code>onChange</code> event return <code>target</code> object is not a HTMLTextArea object. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30124">#30124</a></li>
<li>{emoji:1f41e} Files in Upload <code>fileList</code> will always have uid. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30087">#30087</a> <a href="https://github.com/jameslahm"><code>@​jameslahm</code></a></li>
<li>{emoji:1f484} Fix Badge toggle style when <code>status</code> is <code>warning</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30090">#30090</a> <a href="https://github.com/jameslahm"><code>@​jameslahm</code></a></li>
<li>{emoji:1f310} Add Image component <code>preview</code> text in zh_HK and zh_TW. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30100">#30100</a> <a href="https://github.com/jameslahm"><code>@​jameslahm</code></a></li>
<li>{emoji:1f310} add da_DK locale TimePicker.RangePicker. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30128">#30128</a> <a href="https://github.com/themitvp"><code>@​themitvp</code></a></li>
<li>TypeScript
<ul>
<li>� Modify LIST_IGNORE field is of string type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30188">#30188</a> <a href="https://github.com/hello-chinese"><code>@​hello-chinese</code></a></li>
</ul>
</li>
</ul>
<h2>4.15.1</h2>
<p><code>2021-04-10</code></p>
<ul>
<li>{emoji:1f41e} Fix Descriptions <code>labelStyle</code> <code>contentStyle</code> unsuccessful when <code>layout=&quot;vertical&quot;</code> and <code>bordered={true}</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29942">#29942</a></li>
<li>{emoji:1f41e} Upload won't crash when <code>fileList</code> is a frozen object now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29944">#29944</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d9f41aaa06"><code>d9f41aa</code></a> docs: 4.15.4 changelog (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30376">#30376</a>)</li>
<li><a href="a39e51a8c1"><code>a39e51a</code></a> fix(layout-sider): menu-item width is wrong when collapsedWidth is set (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30357">#30357</a>)</li>
<li><a href="3b51792f9c"><code>3b51792</code></a> chore(deps-dev): bump css-minimizer-webpack-plugin from 1.3.0 to 2.0.0 (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30108">#30108</a>)</li>
<li><a href="a4f503c720"><code>a4f503c</code></a> test: add more space test coverage (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30369">#30369</a>)</li>
<li><a href="da7f8a7bf1"><code>da7f8a7</code></a> chore: Adjust Radio spin style (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30367">#30367</a>)</li>
<li><a href="dd88e30586"><code>dd88e30</code></a> fix(upload): beforeUpload type definition (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30351">#30351</a>)</li>
<li><a href="60cad5a765"><code>60cad5a</code></a> fix(typography): <code>editable</code> should not trigger links (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30354">#30354</a>)</li>
<li><a href="ab83346a5a"><code>ab83346</code></a> Update avatar.md</li>
<li><a href="4ccbf1fd0f"><code>4ccbf1f</code></a> fix(upload): UploadFile type definition (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30343">#30343</a>)</li>
<li><a href="fa80ae5a0a"><code>fa80ae5</code></a> test: more test case (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/30340">#30340</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/ant-design/ant-design/compare/4.12.2...4.15.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=antd&package-manager=npm_and_yarn&previous-version=4.12.2&new-version=4.15.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2301

Reviewed By: passy

Differential Revision: D28323870

Pulled By: cekkaewnumchai

fbshipit-source-id: 81ce65d6cce44d8ac32730125844ac9dff68da3c
2021-05-11 05:51:56 -07:00
dependabot[bot]
ec356309c0 Bump @emotion/react from 11.1.5 to 11.4.0 in /desktop (#2302)
Summary:
Bumps [emotion/react](https://github.com/emotion-js/emotion) from 11.1.5 to 11.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@​emotion/react</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​emotion/react</code><a href="https://github.com/11"><code>@​11</code></a>.4.0</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2334">#2334</a> <a href="7d9e74f8f0"><code>7d9e74f8</code></a> Thanks <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - The Global component no longer replaces style elements from server-rendering on first mount and instead reuses the server-side rendered style element</p>
</li>
<li>
<p>Updated dependencies [<a href="38f9d44f91"><code>38f9d44f</code></a>]:</p>
<ul>
<li><code>@​emotion/cache</code><a href="https://github.com/11"><code>@​11</code></a>.4.0</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3a8eaac14c"><code>3a8eaac</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2365">#2365</a>)</li>
<li><a href="7d9e74f8f0"><code>7d9e74f</code></a> feat(server): add extractCriticalToChunks (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2334">#2334</a>)</li>
<li><a href="38f9d44f91"><code>38f9d44</code></a> Fix moving of client-side inserted style tags from Emotion 10 when intending ...</li>
<li><a href="780bc17cc7"><code>780bc17</code></a> Upgrade Changesets</li>
<li><a href="2463507409"><code>2463507</code></a> Added Frontity to the in the wild list (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2362">#2362</a>)</li>
<li><a href="6c4a9e50f1"><code>6c4a9e5</code></a> Fix slack invite link</li>
<li><a href="f3c51e8aca"><code>f3c51e8</code></a> 📝 Updated readme of <code>@​emotion/cache</code> for key attribute. (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2346">#2346</a>)</li>
<li><a href="d759ae1298"><code>d759ae1</code></a> Switch to GitHub actions (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2347">#2347</a>)</li>
<li><a href="4d7efcb33c"><code>4d7efcb</code></a> Run Windows on CI (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2341">#2341</a>)</li>
<li><a href="f36b946b4b"><code>f36b946</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2339">#2339</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/emotion-js/emotion/compare/emotion/react@11.1.5...@emotion/react@11.4.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@emotion/react&package-manager=npm_and_yarn&previous-version=11.1.5&new-version=11.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2302

Reviewed By: mweststrate

Differential Revision: D28323892

Pulled By: cekkaewnumchai

fbshipit-source-id: 94464b2230470c1aa945121eae85fbc6715d4b6a
2021-05-11 05:51:56 -07:00
Pascal Hartig
b6fa34b7c7 Daily bumps
Summary: Trying to make some bumps a daily habit.

Reviewed By: mweststrate

Differential Revision: D28260273

fbshipit-source-id: 29d163af3e3acc55139b52320992123b72de22c4
2021-05-07 03:52:55 -07:00
Michel Weststrate
ac0e28a2b1 Introduce some warnings if plugins send to much data
Reviewed By: passy

Differential Revision: D28253456

fbshipit-source-id: 00259076a86cf53ee80282c798c229460d7e4633
2021-05-06 08:23:23 -07:00
Pascal Hartig
8e80ae980d Improve error handling for corrupt images/videos
Summary: We can't fix the underlying issue but it's quite frustrating when you get an error from Preview or QuickTime after the file was pulled. This improves the messaging a little.

Reviewed By: mweststrate

Differential Revision: D28096087

fbshipit-source-id: 0428fa821a225a02e81574f16d066085e8775251
2021-05-06 07:20:16 -07:00
Pascal Hartig
92bed19131 Bump fs-extra
Summary: Nothing crazy in the changelog.

Reviewed By: mweststrate

Differential Revision: D28228756

fbshipit-source-id: 0f71badee0312dcb479ab1f20b25fc0e45e18c10
2021-05-06 05:53:48 -07:00
Pascal Hartig
c97e422e5f Bump deps
Summary: Bump a few more devDeps that are safe.

Reviewed By: mweststrate

Differential Revision: D28227971

fbshipit-source-id: 3b35b098230b604930d875ddf8867cfc6f56a9c7
2021-05-06 05:53:48 -07:00
Anthony Dubis
bb2342a2b9 Re-integrate bug report traces after Sandy Migration
Summary:
The migration to Sandy (D28060888) breaks the existing integration we have with importing Flipper traces from bug reports. Given that, I broke this diff out from that one just to highlight the changes.

`pluginStates2` appears to be the field to use for Sandy traces (rather than `store`, which we were using before)

Differential Revision: D28209561

fbshipit-source-id: 9803e1a60b1b1deba6403b50b4079aac2a19efa6
2021-05-05 07:39:43 -07:00
Michel Weststrate
01ea822341 Code shuffle
Summary:
Moved a lot of utility logic in separate files for Android and iOS, to make cleanup in next diffs easier by having a bit smaller files.

Purely a code shuffle, no functional changes

Reviewed By: passy

Differential Revision: D28102399

fbshipit-source-id: 2fd8f6669bdd2804fa8a7e1791c610ae7883eda6
2021-05-04 13:50:31 -07:00
Michel Weststrate
c0633652e8 Fix notification handling
Summary:
Changelog: Fixed application crash notifications not opening the crash log

Crashlog notifications were quite blatantly broken:
1. Because I force all GK's to true locally during testing, and the feature gate is negative, I never had any crash reports in the first place. The GK was empty so removed it.
2. The notifications overview would always cause a NPE when the notification came from a device plugin (it assumed a client to be present). This made the button do nothing and the device name not show up near the notification
3. The OS level notifications would link to the notification screen, which was a static screen in the classic UI and would always render to an empty page in Sandy. Removed that screen from the code base. Instead the click the notification will now trigger the notification action.

Reviewed By: passy

Differential Revision: D28119719

fbshipit-source-id: 5b28dd854260fd479d09e3ee6206301cc669ab40
2021-05-04 13:50:31 -07:00
Michel Weststrate
5bf9541e05 Standardize CodeBlock component
Summary:
Code blocks are quite common in Flipper, and a bit verbose in Ant, so let's standardize!

Changelog: Standardize CodeBlock component

Reviewed By: passy

Differential Revision: D28117560

fbshipit-source-id: 5a5538a49b59ef40c814d22055fac56e7598cbbb
2021-05-04 13:50:31 -07:00
Anton Nikolaev
368dd4a5ab Remove Value/renderValue public API from "flipper"
Summary:
Moving Value/renderValue API to "database" plugin as these APIs used exclusively by this plugin.

Alternative to that could be moving this API to "flipper-plugin" instead, but I think it doesn't make sense to expose public API which is only used in one plugin.

Reviewed By: mweststrate

Differential Revision: D28110483

fbshipit-source-id: 1576444681c1e0531fe45f0c15f442d65a28f803
2021-04-30 09:38:15 -07:00
Anton Nikolaev
763eda8f6b Fix re-loading of source maps with "-fast-refresh" flag enabled
Summary: Fixed loading of source maps when dev server is running with --fast-refresh flag set. Looks like it was broken after last metro upgrade because it changed the way how module paths are passed to dev server. We also had a hack to workaround bug when requested module paths were malformed, but it looks this hack is not needed now, so I deleted it as well.

Reviewed By: passy

Differential Revision: D28120080

fbshipit-source-id: 03a39c9840da8f4c8c72be6189c0b71c62fac7f0
2021-04-30 09:38:15 -07:00
Pascal Hartig
1447ae0c18 Proposal: Make AppInspect open on click
Summary:
This addresses my biggest gripe with Flipper right now (maybe after it occasionally crashing my entire Mac, but that's beyond our control, sadly). When you try to switch your current device and hover over the picker, move your mouse quickly to where you expect the menu to open, it will immediate close. You have to wait for about 200ms before moving your cursor down into the expanded dropdown menu. "Well, it's only 200ms, Passy, chill." That's fair, but I still think that hovering to open a dropdown is unnatural behaviour. Looking around here in Phabricator, none of the dropdowns behave like this. And they definitely don't just disappear under my cursor if I'm Moving (too) Fast.

Changelog: The app selector no longer reacts on hover events now requites a click

Reviewed By: mweststrate

Differential Revision: D28118657

fbshipit-source-id: 67867d597b21b80a0de87ecbc8c86a7334f81952
2021-04-30 07:33:22 -07:00
Michel Weststrate
699343a9ca Fix bug causing archived devices trying to connect
Reviewed By: nikoant

Differential Revision: D28064540

fbshipit-source-id: 43f05c4348a33e9633751bb9f69cd8d17ddd13c4
2021-04-29 12:12:57 -07:00
Michel Weststrate
ae65e2ccb8 Fix logs loosing connection occasionally
Summary:
Changelog: Fixed an issue where Android logs would get stuck

Our adb and rsocket connection are fundamentally unstable; every now and then it looses connection (at least on my machine). This happens both for emulators and real devices.

If the logcat connection closes, it isn't restarted, so occassionaly the the logs would get 'stuck'. Fixed it by automatically restarting the stream if the close wasn't intentional.

Investigated the stack of the disconnects, but it isn't caused on our end, the closures originate from (R)socket itself, so this band aid seems unavoidable.

Using a near-zero timeout does work as well. Gave it a 100ms grace time though, in case starvation is a factor in the original problem. This might cause a few messages to be missed though, but it doesn't seem to happen to often (every few minutes in my case)

Reviewed By: passy

Differential Revision: D28095802

fbshipit-source-id: f22336ad46c04a3d886ff9dbc4d787591ac75eea
2021-04-29 11:45:14 -07:00
Pascal Hartig
c3f3b35a31 Mass-bump deps
Summary:
Trying to get ahead of dependabot by bumping a bunch of things at once
that are minor or patch level bumps.

Reviewed By: muraziz

Differential Revision: D28094201

fbshipit-source-id: b6b53ae2d582686201124b82fed4f436a60b3172
2021-04-29 11:33:57 -07:00
Michel Weststrate
923d44ef40 Some mental model explanation on grow / scrollable props
Summary: ^

Reviewed By: jknoxville

Differential Revision: D28059213

fbshipit-source-id: d4bc09d5765ac667e73a9d8c97aaa7f266d77f84
2021-04-29 07:38:40 -07:00
Michel Weststrate
05bf55419f Introduce createTablePlugin
Summary: This diff exposes the createTablePlugin from flipper-plugin, so that createTablePlugin based plugins can be converted to Sandy as well

Reviewed By: jknoxville

Differential Revision: D28031227

fbshipit-source-id: 8e9c82da08a83fddab740b46be9917b6a1023117
2021-04-28 12:28:37 -07:00
Michel Weststrate
8e02b2ec10 Expose Toolbar from Sandy
Summary: Moved Toolbar to flipper-plugin. No further changes.

Reviewed By: nikoant

Differential Revision: D28027334

fbshipit-source-id: 35de13d87734ae3a8af037166945b1a669106274
2021-04-28 05:48:20 -07:00
Michel Weststrate
d9ec09b381 Fix dark mode issue
Summary: Fixed minor dark mode issue. Will address the ugly scrollbars in dark mode later.

Reviewed By: nikoant

Differential Revision: D28039447

fbshipit-source-id: eb0f545d224decb0334dca68b11277ddab612c2e
2021-04-28 05:48:20 -07:00
Michel Weststrate
9a6e84fedd Deprecate more standard components
Summary: Additional deprecation warnings for components that should be imported from flipper-plugin

Reviewed By: nikoant

Differential Revision: D28027382

fbshipit-source-id: e46a40a950adb615d206bc08334893263c56dd1f
2021-04-27 14:53:40 -07:00
Michel Weststrate
37a7b16774 Introduce Tabs
Summary:
Ant'd tabs didn't allow for vertical fill out. Introduced our own tiny wrapper that has `grow` by default.

Also made sure the users last selection is remembered.

Reviewed By: cekkaewnumchai

Differential Revision: D28026345

fbshipit-source-id: 7703bc241cd1427336b7c917bdb5be9f56bba9b9
2021-04-27 08:13:16 -07:00
Michel Weststrate
34e5e3a11a Fine tuning and docs for Panel
Summary: Better documentation for Panel. Fixes styling issue for uncollapsible panels

Reviewed By: passy

Differential Revision: D28025557

fbshipit-source-id: db0f9fd44f501fa36be3fc31ebbe7917d7c0a88c
2021-04-27 08:13:16 -07:00
Pascal Hartig
2b6e585fd2 Improve plugin loading error message
Summary:
I was a dummy and ran into this. Tried to make it easier
for the next person to figure out what this means.

Reviewed By: mweststrate

Differential Revision: D28026376

fbshipit-source-id: ad3455938ef30b448b475cb990f86351e76628bf
2021-04-27 04:39:20 -07:00
dependabot[bot]
dc33b3f627 Bump mock-fs from 4.13.0 to 4.14.0 in /desktop (#2240)
Summary:
Bumps [mock-fs](https://github.com/tschaub/mock-fs) from 4.13.0 to 4.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tschaub/mock-fs/releases">mock-fs's releases</a>.</em></p>
<blockquote>
<h2>v4.14.0</h2>
<ul>
<li>Attempt to fix logging when using <code>mock-fs</code> with <code>tape</code> (see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a>)</li>
<li>Minor fix for <code>bypass()</code> (thanks <a href="https://github.com/3cp"><code>@​3cp</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tschaub/mock-fs/blob/main/changelog.md">mock-fs's changelog</a>.</em></p>
<blockquote>
<h2>4.14.0</h2>
<ul>
<li>Attempt to fix logging when using <code>mock-fs</code> with <code>tape</code> (see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a>)</li>
<li>Minor fix for <code>bypass()</code> (thanks <a href="https://github.com/3cp"><code>@​3cp</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="74e36f68ff"><code>74e36f6</code></a> 4.14.0</li>
<li><a href="af65aa6f6d"><code>af65aa6</code></a> Log changes</li>
<li><a href="d530fd46b7"><code>d530fd4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/323">https://github.com/facebook/flipper/issues/323</a> from tschaub/updates</li>
<li><a href="3a21f5eacd"><code>3a21f5e</code></a> Transitive dependency updates</li>
<li><a href="cb3ad219b2"><code>cb3ad21</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a> from tschaub/std</li>
<li><a href="648d2997da"><code>648d299</code></a> test: nodejs v12 and v14 is still not patched</li>
<li><a href="0078d4c81f"><code>0078d4c</code></a> test: nodejs v14+ silently ignores closing closed file descriptor</li>
<li><a href="fb70713318"><code>fb70713</code></a> fix: support old nodejs without Promise.prototype.finally</li>
<li><a href="3327f80738"><code>3327f80</code></a> test: fix wrong usage of assert.fail</li>
<li><a href="1731bff3da"><code>1731bff</code></a> test: try nodejs v12 and v14</li>
<li>Additional commits viewable in <a href="https://github.com/tschaub/mock-fs/compare/v4.13.0...v4.14.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mock-fs&package-manager=npm_and_yarn&previous-version=4.13.0&new-version=4.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2240

Reviewed By: passy

Differential Revision: D27999681

Pulled By: priteshrnandgaonkar

fbshipit-source-id: e81a62d21c2aabb2b4688420014d1e4495585f51
2021-04-26 12:13:44 -07:00
Michel Weststrate
ae752f785e Remove Sandy welcome screen
Summary: Dropped the welcome-to-the-Sandy-redesign screen, should be pretty well established by now :)

Reviewed By: nikoant

Differential Revision: D27966658

fbshipit-source-id: 8f8943cbb242ef5625f0c19ffe4aed28e320377f
2021-04-23 13:12:32 -07:00
Michel Weststrate
c005753018 Expose Panel and useLocalStorageState
Summary: Expose a Panel api from Sandy, which is quite similar to the old one, except that it uses Antd, and it will remember the users closed / open preference through sessions, a much requested feature.

Reviewed By: nikoant

Differential Revision: D27966607

fbshipit-source-id: 9b18df377215c1e6c5844d0bf972058c8c574cbb
2021-04-23 09:29:59 -07:00
Michel Weststrate
faf8588097 Minor improvements
Summary:
Some styling fixes and minor improvements in DataTable, used by network plugin:

- be able to customise the context menu
- be able to customise how entire rows are copied and presented on the clipboard to be able to deviate from the standard JSON
- deeplink handling was made async, this gives the plugin the opportunity to first handle initial setup and rendering before trying to jump somewhere which is a typical use case for deeplinking

Reviewed By: passy

Differential Revision: D27947186

fbshipit-source-id: a56f081d60520c4bc2ad3c547a8ca5b9357e71a1
2021-04-23 09:29:59 -07:00
dependabot[bot]
32117f264b Bump rsocket-tcp-server from 0.0.19 to 0.0.25 in /desktop (#2210)
Summary:
Bumps [rsocket-tcp-server](https://github.com/rsocket/rsocket-js) from 0.0.19 to 0.0.25.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a85a4db041"><code>a85a4db</code></a> v0.0.25</li>
<li><a href="b279d67569"><code>b279d67</code></a> ammend versions</li>
<li><a href="1e15f3c975"><code>1e15f3c</code></a> v0.0.24</li>
<li><a href="a4b7a93dc0"><code>a4b7a93</code></a> provides a temporary fix for <a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/110">https://github.com/facebook/flipper/issues/110</a></li>
<li><a href="c271a37128"><code>c271a37</code></a> exports missing TlsClient</li>
<li><a href="844b10b35b"><code>844b10b</code></a> updates docs</li>
<li><a href="39a86dfa5f"><code>39a86df</code></a> updates docs</li>
<li><a href="97e1e9f922"><code>97e1e9f</code></a> updates versions</li>
<li><a href="90e70580d1"><code>90e7058</code></a> fixes RSocketMachine leak on the server-side (<a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/120">https://github.com/facebook/flipper/issues/120</a>)</li>
<li><a href="f665cd1038"><code>f665cd1</code></a> adds METADATA_PUSH support (<a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/119">https://github.com/facebook/flipper/issues/119</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rsocket/rsocket-js/compare/v0.0.19...v0.0.25">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/~shadowgun">shadowgun</a>, a new releaser for rsocket-tcp-server since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rsocket-tcp-server&package-manager=npm_and_yarn&previous-version=0.0.19&new-version=0.0.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2210

Reviewed By: mweststrate

Differential Revision: D27945698

Pulled By: passy

fbshipit-source-id: c8fd54082b6ab2996cf339ba1dc20a2289e9bd64
2021-04-23 04:30:35 -07:00
Anton Nikolaev
e1f6f770cd Collect information about connected device and app as a part of plugin usage analytics
Summary: We received questions several times from plugin authors on how to find usage for particular app/platform and I wanted to add that data on plugin usage dashboard, but right now it's impossible. We're only collecting plugin ID as a part of plugin usage analytics. That means it's impossible to filter some plugin usage (e.g. "Network") by particular platform or mobile app. This diff improves plugin usage analytics to collect enhanced data.

Reviewed By: passy

Differential Revision: D27935801

fbshipit-source-id: c2fc7d8cf84f9a28823ae56a1dda7158e0b12f1f
2021-04-22 16:47:43 -07:00
Pascal Hartig
c007d74af9 Handle RSocket disconnects gracefully
Summary:
Tiny change, hours of debugging. Big thanks to jknoxville for
answering all my stupid questions.

Our number one "error" right now by users affected is

```
Unhandled Promise Rejection:
Error: RSocketTcpClient:
Socket closed unexpectedly.
```

Of course no stacktrace, because JavaScript and Promises.

The underlying problem is that RSocket keeps track of recently used
"receivers" which is every method that has sent a request. When someone disconnects their device or closes an emulator/simulator, the socket's `end` event is treated the same way any other connection error would be: a85a4db041/packages/rsocket-tcp-client/src/RSocketTcpClient.js (L74)

This then causes "errors" like these to appear:
{F609810187}

This could previously be handled in plugin-code by wrapping all `client.call()` invocations in try/catch, which nobody did, meaning we'd get rejected promises everywhere. We can instead handle this centrally and properly disconnect the connection.

Changelog: Severed RSocket connections are no longer treated as an error in plugin code

Reviewed By: jknoxville

Differential Revision: D27910514

fbshipit-source-id: ea9c0726ab0e959b0eb4a5fca67ddaa04a6f1d14
2021-04-22 07:45:33 -07:00
Pascal Hartig
9e7a455910 Mute port forwarding errors
Summary: Mentioned in the comment, these aren't actionable errors.

Reviewed By: jknoxville

Differential Revision: D27910465

fbshipit-source-id: 6f5e9d9d25edbb02648f3118c074e9f1986e3a86
2021-04-22 07:45:33 -07:00
dependabot[bot]
bfc9ba0e68 Bump open from 8.0.4 to 8.0.5 in /desktop (#2189)
Summary:
Bumps [open](https://github.com/sindresorhus/open) from 8.0.4 to 8.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/open/releases">open's releases</a>.</em></p>
<blockquote>
<h2>v8.0.5</h2>
<ul>
<li>Fix <code>chrome</code> app on macOS (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/240">https://github.com/facebook/flipper/issues/240</a>)  87f3d7a</li>
</ul>
<p><a href="https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5">https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45a3551a32"><code>45a3551</code></a> 8.0.5</li>
<li><a href="87f3d7a16b"><code>87f3d7a</code></a> Fix <code>chrome</code> app on macOS (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/240">https://github.com/facebook/flipper/issues/240</a>)</li>
<li>See full diff in <a href="https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=open&package-manager=npm_and_yarn&previous-version=8.0.4&new-version=8.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2189

Reviewed By: passy

Differential Revision: D27763534

Pulled By: nikoant

fbshipit-source-id: 3a2f68cf7f8b8477858e0a840e30b126512e4c54
2021-04-15 10:17:58 -07:00
Michel Weststrate
69de9bc92d Initial move to flipper-plugin
Summary:
This diff moves the core of ElementsInspector to flipper-plugin and decouples it from legacy design system and Electron, without any significant improvements or API changes yet, which will follow later.

Colors and docs will be added later in this stack.

Reviewed By: passy

Differential Revision: D27660300

fbshipit-source-id: 96abfa3b3174fa852cf04ae119c23c3d629fee74
2021-04-15 07:48:33 -07:00
dependabot[bot]
582a31fb41 Bump @testing-library/dom from 7.30.1 to 7.30.3 in /desktop (#2188)
Summary:
Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 7.30.1 to 7.30.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@​testing-library/dom</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.30.3</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.2...v7.30.3">7.30.3</a> (2021-03-31)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> missing ignore parameter for SelectorMatcherOptions (<a href="7edd2bd734">7edd2bd</a>)</li>
</ul>
<h2>v7.30.2</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.1...v7.30.2">7.30.2</a> (2021-03-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> exclude tsconfig from types folder in publish flow (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/923">https://github.com/facebook/flipper/issues/923</a>) (<a href="bb83d8c540">bb83d8c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2c9e2c1323"><code>2c9e2c1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/924">https://github.com/facebook/flipper/issues/924</a> from MatanBobi/pr/fix-missing-parameter-for-matcher</li>
<li><a href="5ecc89034e"><code>5ecc890</code></a> Merge branch 'master' into pr/fix-missing-parameter-for-matcher</li>
<li><a href="7edd2bd734"><code>7edd2bd</code></a> fix(types): missing ignore parameter for SelectorMatcherOptions</li>
<li><a href="bb83d8c540"><code>bb83d8c</code></a> fix(types): exclude tsconfig from types folder in publish flow (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/923">https://github.com/facebook/flipper/issues/923</a>)</li>
<li>See full diff in <a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.1...v7.30.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/dom&package-manager=npm_and_yarn&previous-version=7.30.1&new-version=7.30.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2188

Reviewed By: passy

Differential Revision: D27763535

Pulled By: nikoant

fbshipit-source-id: 55ca9838521a482177d0032eddea7ceb53b13f01
2021-04-15 07:32:06 -07:00
dependabot[bot]
3ba9cf4233 Bump react-refresh from 0.9.0 to 0.10.0 in /desktop (#2186)
Summary:
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.9.0 to 0.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-refresh's releases</a>.</em></p>
<blockquote>
<h2>v0.10.0</h2>
<h3>React Core</h3>
<h4>New Features</h4>
<ul>
<li>Added warnings to help migrate towards descriptors</li>
<li>Made it possible to server render without React-related markup (<code>data-reactid</code>, <code>data-react-checksum</code>). This DOM will not be mountable by React. <a href="http://facebook.github.io/react/docs/top-level-api.html#react.rendercomponenttostaticmarkup">Read the docs for <code>React.renderComponentToStaticMarkup</code></a></li>
<li>Added support for more attributes:
<ul>
<li><code>srcSet</code> for <code>&lt;img&gt;</code> to specify images at different pixel ratios</li>
<li><code>textAnchor</code> for SVG</li>
</ul>
</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Ensure all void elements don’t insert a closing tag into the markup.</li>
<li>Ensure <code>className={false}</code> behaves consistently</li>
<li>Ensure <code>this.refs</code> is defined, even if no refs are specified.</li>
</ul>
<h3>Addons</h3>
<ul>
<li><code>update</code> function to deal with immutable data. <a href="http://facebook.github.io/react/docs/update.html">Read the docs</a></li>
</ul>
<h3>react-tools</h3>
<ul>
<li>Added an option argument to <code>transform</code> function. The only option supported is <code>harmony</code>, which behaves the same as <code>jsx --harmony</code> on the command line. This uses the ES6 transforms from <a href="https://github.com/facebook/jstransform">jstransform</a>.</li>
</ul>
<h2>v0.10.0-rc1</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/CHANGELOG.md">react-refresh's changelog</a>.</em></p>
<blockquote>
<h2>0.10.0 (March 21, 2014)</h2>
<h3>React Core</h3>
<h4>New Features</h4>
<ul>
<li>Added warnings to help migrate towards descriptors</li>
<li>Made it possible to server render without React-related markup (<code>data-reactid</code>, <code>data-react-checksum</code>). This DOM will not be mountable by React. <a href="https://reactjs.org/docs/top-level-api.html#react.rendercomponenttostaticmarkup">Read the docs for <code>React.renderComponentToStaticMarkup</code></a></li>
<li>Added support for more attributes:
<ul>
<li><code>srcSet</code> for <code>&lt;img&gt;</code> to specify images at different pixel ratios</li>
<li><code>textAnchor</code> for SVG</li>
</ul>
</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Ensure all void elements don’t insert a closing tag into the markup.</li>
<li>Ensure <code>className={false}</code> behaves consistently</li>
<li>Ensure <code>this.refs</code> is defined, even if no refs are specified.</li>
</ul>
<h3>Addons</h3>
<ul>
<li><code>update</code> function to deal with immutable data. <a href="https://reactjs.org/docs/update.html">Read the docs</a></li>
</ul>
<h3>react-tools</h3>
<ul>
<li>Added an option argument to <code>transform</code> function. The only option supported is <code>harmony</code>, which behaves the same as <code>jsx --harmony</code> on the command line. This uses the ES6 transforms from <a href="https://github.com/facebook/jstransform">jstransform</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/v0.10.0/packages/react">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-refresh&package-manager=npm_and_yarn&previous-version=0.9.0&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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/2186

Reviewed By: passy

Differential Revision: D27760972

Pulled By: nikoant

fbshipit-source-id: a998232901ee6c02686069d119ef7818be4d7404
2021-04-14 05:05:01 -07:00
Anton Nikolaev
dc7226b7dc Script for plugin type-checking (#2172)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2172

New script which runs "tsc" for all plugins, receives list of errors and then checks which plugins are affected. It works for shared libs too, e.g. if there is an error in a shared library, then all plugins dependant on it will be counted as affected. For convenience, script saves list of errors affecting each plugin to "tsc-errors.log" in plugin folder.

This script will be used for automatic type-checking plugins against current "stable" and "insiders" versions of Flipper.

An alternative to this implementation would be to simply run "tsc" for each plugin individually, but such implementation takes a lot of time (5+ sec per plugin) and so cannot be effectively used on diffs.

Reviewed By: mweststrate

Differential Revision: D27499765

fbshipit-source-id: fcbbfc94a13e6c7c5beff0c889a929f84c41b2dd
2021-04-09 05:22:01 -07:00
Anton Nikolaev
b45b5f854a Move layout plugin sidebar extensions to the plugin package
Summary: Moved layout plugin sidebar extensions to the plugin package.

Reviewed By: passy

Differential Revision: D27036489

fbshipit-source-id: 5b3406e5c50ba61709d925a3c0cb07a6fd7552db
2021-04-09 05:22:00 -07:00
Anton Nikolaev
b3274a8450 Plugin folders re-structuring
Summary:
Here I'm changing plugin repository structure to allow re-using of shared packages between both public and fb-internal plugins, and to ensure that public plugins has their own yarn.lock as this will be required to implement reproducible jobs checking plugin compatibility with released flipper versions.

Please note that there are a lot of moved files in this diff, make sure to click "Expand all" to see all that actually changed (there are not much of them actually).

New proposed structure for plugin packages:
```
- root
- node_modules - modules included into Flipper: flipper, flipper-plugin, react, antd, emotion
-- plugins
 --- node_modules - modules used by both public and fb-internal plugins (shared libs will be linked here, see D27034936)
 --- public
---- node_modules - modules used by public plugins
---- pluginA
----- node_modules - modules used by plugin A exclusively
---- pluginB
----- node_modules - modules used by plugin B exclusively
 --- fb
---- node_modules - modules used by fb-internal plugins
---- pluginC
----- node_modules - modules used by plugin C exclusively
---- pluginD
----- node_modules - modules used by plugin D exclusively
```
I've moved all public plugins under dir "plugins/public" and excluded them from root yarn workspaces. Instead, they will have their own yarn workspaces config and yarn.lock and they will use flipper modules as peer dependencies.

Reviewed By: mweststrate

Differential Revision: D27034108

fbshipit-source-id: c2310e3c5bfe7526033f51b46c0ae40199fd7586
2021-04-09 05:22:00 -07:00
Michel Weststrate
32bf4c32c2 Remove Console feature
Reviewed By: fabiomassimo

Differential Revision: D27622952

fbshipit-source-id: 45ce5188a55f50b8ca28f28f354d9402902a5df8
2021-04-09 05:03:28 -07:00