Commit Graph

374 Commits

Author SHA1 Message Date
dependabot[bot]
9a3a32005a Bump console-feed from 3.1.0 to 3.1.7 in /desktop (#1587)
Summary:
Bumps [console-feed](https://github.com/samdenty99/console-feed) from 3.1.0 to 3.1.7.
<details>
<summary>Commits</summary>
<ul>
<li><a href="07a720b795"><code>07a720b</code></a> v3.1.7</li>
<li><a href="3ba0e2facd"><code>3ba0e2f</code></a> feat: display caught errors on properties</li>
<li><a href="e447954462"><code>e447954</code></a> Fixing the regeneratorRuntime error and React.memo error (<a href="https://github-redirect.dependabot.com/samdenty99/console-feed/issues/54">https://github.com/facebook/flipper/issues/54</a>)</li>
<li><a href="2fca873a16"><code>2fca873</code></a> update README.md</li>
<li>See full diff in <a href="https://github.com/samdenty99/console-feed/compare/v3.1.0...v3.1.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=console-feed&package-manager=npm_and_yarn&previous-version=3.1.0&new-version=3.1.7)](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/1587

Reviewed By: mweststrate

Differential Revision: D24250090

Pulled By: nikoant

fbshipit-source-id: 007908667af7f440787af371ae83a84f7a5488ff
2020-10-13 03:01:56 -07:00
dependabot[bot]
6cc9783612 Bump archiver from 5.0.0 to 5.0.2 in /desktop (#1591)
Summary:
Bumps [archiver](https://github.com/archiverjs/node-archiver) from 5.0.0 to 5.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/archiverjs/node-archiver/releases">archiver's releases</a>.</em></p>
<blockquote>
<h2>5.0.2</h2>
<h2>Maintenance</h2>
<ul>
<li>Force bump tar-stream from 2.1.2 to 2.1.4 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/450">https://github.com/facebook/flipper/issues/450</a>)</li>
</ul>
<h2>5.0.1</h2>
<h2>Maintenance</h2>
<ul>
<li>Bump tar-stream from 2.1.3 to 2.1.4 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/448">https://github.com/facebook/flipper/issues/448</a>)</li>
<li>Update docs (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/441">https://github.com/facebook/flipper/issues/441</a>)</li>
<li>Bump mocha from 8.1.1 to 8.1.3 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/444">https://github.com/facebook/flipper/issues/444</a>)</li>
<li>Bump tar from 6.0.2 to 6.0.5 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/439">https://github.com/facebook/flipper/issues/439</a>)</li>
<li>Bump mocha from 8.1.0 to 8.1.1 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/437">https://github.com/facebook/flipper/issues/437</a>)</li>
<li>Bump actions/checkout from v2.3.1 to v2.3.2 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/438">https://github.com/facebook/flipper/issues/438</a>)</li>
<li>Bump mocha from 8.0.1 to 8.1.0 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/436">https://github.com/facebook/flipper/issues/436</a>)</li>
<li>Bump actions/setup-node from v2.1.0 to v2.1.1 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/432">https://github.com/facebook/flipper/issues/432</a>)</li>
<li>Bump jsdoc from 3.6.4 to 3.6.5 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/434">https://github.com/facebook/flipper/issues/434</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e34d0a39dd"><code>e34d0a3</code></a> bump version for release</li>
<li><a href="5c1ba713df"><code>5c1ba71</code></a> Force bump tar-stream from 2.1.2 to 2.1.4 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/450">https://github.com/facebook/flipper/issues/450</a>)</li>
<li><a href="cef1ac966e"><code>cef1ac9</code></a> bump version for release</li>
<li><a href="34375b574c"><code>34375b5</code></a> Update release-drafter.yml</li>
<li><a href="e3ec39bacb"><code>e3ec39b</code></a> Bump tar-stream from 2.1.3 to 2.1.4 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/448">https://github.com/facebook/flipper/issues/448</a>)</li>
<li><a href="209b2f6fe5"><code>209b2f6</code></a> Update dependabot.yml</li>
<li><a href="cb02bf1963"><code>cb02bf1</code></a> Update docs (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/441">https://github.com/facebook/flipper/issues/441</a>)</li>
<li><a href="4eba7ae0fd"><code>4eba7ae</code></a> Bump mocha from 8.1.1 to 8.1.3 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/444">https://github.com/facebook/flipper/issues/444</a>)</li>
<li><a href="ebe5593f9d"><code>ebe5593</code></a> Update release-drafter.yml</li>
<li><a href="b7328ba42d"><code>b7328ba</code></a> Bump tar from 6.0.2 to 6.0.5 (<a href="https://github-redirect.dependabot.com/archiverjs/node-archiver/issues/439">https://github.com/facebook/flipper/issues/439</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/archiverjs/node-archiver/compare/5.0.0...5.0.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=archiver&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=5.0.2)](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/1591

Reviewed By: mweststrate

Differential Revision: D24250411

Pulled By: nikoant

fbshipit-source-id: e94e4ea3a002da2e8f83aaa6ff5d9cc07efb3896
2020-10-13 02:56:45 -07:00
generatedunixname89002005306973
ca271dd7c3 Flipper Release: v0.62.0
Summary: Releasing version 0.62.0

Reviewed By: nikoant

Differential Revision: D24248944

fbshipit-source-id: 05742031294f6a77c78c0bdccbdffe7d82427f05
2020-10-12 06:03:03 -07:00
Michel Weststrate
3ba8bbf03c Bump dependencies (attempt 2)
Summary: In D24138822 I basically bumped all desktop deps. That was a bit too much as it affected our build infra and broke it. The problem wasn't easy to bisect so choose a smaller set of deps instead to update; everything transpile & lint related + a few well tested runtime deps.

Reviewed By: cekkaewnumchai

Differential Revision: D24161841

fbshipit-source-id: 67162efeccd05a344b229ce976102cfafe6d1099
2020-10-08 01:49:10 -07:00
Chaiwat Ekkaewnumchai
2b6bac4227 Add Flipper Doctor Component
Summary:
As designed by Vince [here](https://www.figma.com/file/4e6BMdm2SuZ1L7FSuOPQVC/Flipper?node-id=585%3A127550), this diff adds Flipper Doctor into Sandy

Note:
- The dot on Doctor icon will act similarly to `DoctorBar`
- add type to `count` for `LeftRailButton` to act like dot badge
- Get rid of padding in `antd` modal

Reviewed By: nikoant, mweststrate

Differential Revision: D24137349

fbshipit-source-id: 8ce441e0ed96083eba09d98dfd3a45ff9b5be027
2020-10-07 08:47:55 -07:00
Chaiwat Ekkaewnumchai
6d1da5bb42 Add Login Component
Summary:
- Add Sandy renderer for `SignInSheet`
- Change background color for default button

Reviewed By: mweststrate

Differential Revision: D24112100

fbshipit-source-id: a602c920c24dd039697834aaba3c79e79f04481e
2020-10-07 03:12:30 -07:00
Michel Weststrate
02570136ce Fix ANT line-height leaking into legacy design
Summary:
Fixes layout issue that was caused by ANT line-heights leaking into the old design.

Introduced a `.flipperlegacy_design ` class at the `root` element of Flipper, so that it is easier in the future to bail out / add overrides for certain features in the old design.

Reviewed By: priteshrnandgaonkar

Differential Revision: D24135482

fbshipit-source-id: 40091ebbde71662f2ebea66577f7b727009ca9c6
2020-10-06 04:58:18 -07:00
dependabot[bot]
48c0cdeb07 Bump antd from 4.6.3 to 4.6.6 in /desktop (#1557)
Summary:
allow-large-files

Bumps [antd](https://github.com/ant-design/ant-design) from 4.6.3 to 4.6.6.
<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.6.6</h2>
<ul>
<li>{emoji:1f41e} Fix Steps first item shifts in small screen. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26894">#26894</a></li>
<li>{emoji:1f484} Fix Divider border style not work when text is provided. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26863">#26863</a></li>
<li>{emoji:1f41e} Fix Radio.Button validation error highlight. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26849">#26849</a> <a href="https://github.com/dhorelik">dhorelik</a></li>
<li>{emoji:1f484} Fix Typography link-decoration style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26854">#26854</a> <a href="https://github.com/vineetvk01">vineetvk01</a></li>
<li>Locale
<ul>
<li>{emoji:1f310} Add Thai locale support. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26906">#26906</a> <a href="https://github.com/anawinwz">anawinwz</a></li>
</ul>
</li>
<li>TypeScript
<ul>
<li>� Fix message.destroy parameter type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26864">#26864</a> <a href="https://github.com/lihqi">lihqi</a></li>
<li>� Optimize Slider type definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26884">#26884</a></li>
<li>� Form properly export <code>FormListProps</code> type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26831">#26831</a> <a href="https://github.com/mgcrea">mgcrea</a></li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>{emoji:1f41e} 修复 Steps 在小屏幕下第一项偏移的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26894">#26894</a></li>
<li>{emoji:1f484} 修复 Divider 在有文字时,设置边框颜色无效的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26863">#26863</a></li>
<li>{emoji:1f41e} 修复 Radio.Button 错误校验高亮样式的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26849">#26849</a> <a href="https://github.com/dhorelik">dhorelik</a></li>
<li>{emoji:1f484} 修复 Typography 链接下划线样式。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26854">#26854</a> <a href="https://github.com/vineetvk01">vineetvk01</a></li>
<li>国际化
<ul>
<li>{emoji:1f310} 添加泰语支持。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26906">#26906</a> <a href="https://github.com/anawinwz">anawinwz</a></li>
</ul>
</li>
<li>TypeScript
<ul>
<li>� 修复 message.destroy 参数类型错误。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26864">#26864</a> <a href="https://github.com/lihqi">lihqi</a></li>
<li>� 优化 Slider 类型定义。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26884">#26884</a></li>
<li>� 导出 Form 中的 <code>FormListProps</code> 类型。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26831">#26831</a> <a href="https://github.com/mgcrea">mgcrea</a></li>
</ul>
</li>
</ul>
<h2>4.6.5</h2>
<ul>
<li>{emoji:1f484} Fix Descriptions item long text ellipsis issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26820">#26820</a></li>
<li>{emoji:1f41e} Fix Menu unexpected scrollbar when show and hide. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26817">#26817</a></li>
<li>{emoji:1f41e} Fix <code>layout-sider-background</code> cannot set to linear gradient color. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26810">#26810</a></li>
<li>{emoji:1f41e} Fix Select compositing status lost when input first letter in Chinese. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26796">#26796</a></li>
<li>{emoji:1f41e} Fix Table <code>table-sticky-zindex</code> less compile error issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26800">#26800</a> <a href="https://github.com/chimp1nski">chimp1nski</a></li>
<li>Button
<ul>
<li>{emoji:1f484} Fix Button align issue when has icon only. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26785">#26785</a></li>
<li>{emoji:1f41e} Fix Button warning <code>Invalid value for prop navigate</code> when using with react-router. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26740">#26740</a> <a href="https://github.com/knobo">knobo</a></li>
</ul>
</li>
<li>{emoji:1f484} Fix TimePicker column align issue, add <code>picker-time-panel-column-width</code> and <code>picker-time-panel-column-height</code> less variables. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26784">#26784</a></li>
<li>{emoji:1f41e} Fix AutoComplete warning when using <code>placeholder</code> and <code>allowClear</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26765">#26765</a></li>
<li>{emoji:1f41e} Fix Space show items when it's render empty dom. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26721">#26721</a> <a href="https://github.com/knobo">knobo</a></li>
<li>{emoji:1f6e0} Dedupe <code>rc-trigger</code> version to reduce package size. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26803">#26803</a></li>
<li>TypeScript
<ul>
<li>� Cascader add <code>name</code> and <code>id</code> props definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26660">#26660</a> <a href="https://github.com/alwaysloseall">alwaysloseall</a></li>
</ul>
</li>
</ul>
<hr />
<ul>
<li>{emoji:1f484} 修复 Descriptions 长文本溢出的样式问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26820">#26820</a></li>
<li>{emoji:1f41e} 修复 Menu 子菜单展开/收起时会出现滚动条的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26817">#26817</a></li>
<li>{emoji:1f41e} 修复 <code>layout-sider-background</code> 变量不能设置为渐变色的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26810">#26810</a></li>
</ul>

</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.6.6</h2>
<p><code>2020-09-27</code></p>
<ul>
<li>{emoji:1f41e} Fix Steps first item shifts in small screen. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26894">#26894</a></li>
<li>{emoji:1f484} Fix Divider border style not work when text is provided. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26863">#26863</a></li>
<li>{emoji:1f41e} Fix Radio.Button validation error highlight. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26849">#26849</a> <a href="https://github.com/dhorelik">dhorelik</a></li>
<li>{emoji:1f484} Fix Typography link-decoration style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26854">#26854</a> <a href="https://github.com/vineetvk01">vineetvk01</a></li>
<li>Locale
<ul>
<li>{emoji:1f310} Add Thai locale support. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26906">#26906</a> <a href="https://github.com/anawinwz">anawinwz</a></li>
</ul>
</li>
<li>TypeScript
<ul>
<li>� Fix message.destroy parameter type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26864">#26864</a> <a href="https://github.com/lihqi">lihqi</a></li>
<li>� Optimize Slider type definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26884">#26884</a></li>
<li>� Form properly export <code>FormListProps</code> type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26831">#26831</a> <a href="https://github.com/mgcrea">mgcrea</a></li>
</ul>
</li>
</ul>
<h2>4.6.5</h2>
<p><code>2020-09-20</code></p>
<ul>
<li>{emoji:1f484} Fix Descriptions item long text ellipsis issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26820">#26820</a></li>
<li>{emoji:1f41e} Fix Menu unexpected scrollbar when show and hide. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26817">#26817</a></li>
<li>{emoji:1f41e} Fix <code>layout-sider-background</code> cannot set to linear gradient color. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26810">#26810</a></li>
<li>{emoji:1f41e} Fix Select compositing status lost when input first letter in Chinese. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26796">#26796</a></li>
<li>{emoji:1f41e} Fix Table <code>table-sticky-zindex</code> less compile error issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26800">#26800</a> <a href="https://github.com/chimp1nski">chimp1nski</a></li>
<li>Button
<ul>
<li>{emoji:1f484} Fix Button align issue when has icon only. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26785">#26785</a></li>
<li>{emoji:1f41e} Fix Button warning <code>Invalid value for prop navigate</code> when using with react-router. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26740">#26740</a> <a href="https://github.com/knobo">knobo</a></li>
</ul>
</li>
<li>{emoji:1f484} Fix TimePicker column align issue, add <code>picker-time-panel-column-width</code> and <code>picker-time-panel-column-height</code> less variables. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26784">#26784</a></li>
<li>{emoji:1f41e} Fix AutoComplete warning when using <code>placeholder</code> and <code>allowClear</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26765">#26765</a></li>
<li>{emoji:1f41e} Fix Space show items when it's render empty dom. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26721">#26721</a> <a href="https://github.com/knobo">knobo</a></li>
<li>{emoji:1f6e0} Dedupe <code>rc-trigger</code> version to reduce package size. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26803">#26803</a></li>
<li>TypeScript
<ul>
<li>� Cascader add <code>name</code> and <code>id</code> props definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26660">#26660</a> <a href="https://github.com/alwaysloseall">alwaysloseall</a></li>
</ul>
</li>
</ul>
<h2>4.6.4</h2>
<p><code>2020-09-13</code></p>
<ul>
<li>{emoji:1f484} style: Card card image has extra 1px border. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26659">#26659</a></li>
<li>{emoji:1f484} Fix Select <code>placeholder</code> color not same as Input. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26651">#26651</a> <a href="https://github.com/wangcch">wangcch</a></li>
<li>{emoji:1f41e} Fix Menu not support React.Fragment inside. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26656">#26656</a></li>
<li>{emoji:1f41e} Fix TextArea different behavior with Input when set <code>value</code> to <code>undefined</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26652">#26652</a></li>
<li>{emoji:1f41e} Fix Motion related issue like Upload align flash and Form.Item with <code>help</code> ssr issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26628">#26628</a></li>
<li>{emoji:1f41e} Fix Typography.Link warning <code>Invalid value for prop navigate</code> when using with react-router. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26623">#26623</a></li>
<li>{emoji:1f41e} Fix Table pagination missing when is above table. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26618">#26618</a></li>
<li>{emoji:1f41e} Fix Upload in control miss file when upload multiple file in same time. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26612">#26612</a></li>
<li>TypeScript
<ul>
<li>� Fix Table that sorter <code>compare</code> and <code>multiple</code> should be optional. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26686">#26686</a></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="78b7c01048"><code>78b7c01</code></a> chore: version (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26918">#26918</a>)</li>
<li><a href="ab33429bf6"><code>ab33429</code></a> release: 4.6.6 (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26916">#26916</a>)</li>
<li><a href="c7d376001a"><code>c7d3760</code></a> fix({emoji:1f41b}): Steps item shifts in vertical mode (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26894">#26894</a>)</li>
<li><a href="14ef846eb7"><code>14ef846</code></a> change function name correctly in index.js (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26850">#26850</a>)</li>
<li><a href="cc37f7d189"><code>cc37f7d</code></a> fix: fix message.destroy parameter (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26864">#26864</a>)</li>
<li><a href="006abe5e92"><code>006abe5</code></a> chore(slider): optimize type definition (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26884">#26884</a>)</li>
<li><a href="aac1d4e434"><code>aac1d4e</code></a> chore: Add auto close workflow</li>
<li><a href="80d36fb0ae"><code>80d36fb</code></a> docs: Add Form.List deps faq (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26873">#26873</a>)</li>
<li><a href="2775049345"><code>2775049</code></a> docs: Update TreeNode isLeaf desc (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26872">#26872</a>)</li>
<li><a href="1e176ed841"><code>1e176ed</code></a> fix: Divider border style not work on text mode (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/26863">#26863</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/ant-design/ant-design/compare/4.6.3...4.6.6">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.6.3&new-version=4.6.6)](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/1557

Reviewed By: cekkaewnumchai

Differential Revision: D24112926

Pulled By: mweststrate

fbshipit-source-id: 561a7b436c78ef7913876f767b9957a17105159d
2020-10-06 04:23:08 -07:00
dependabot[bot]
dadbdfbfa0 Bump axios from 0.19.2 to 0.20.0 in /desktop (#1558)
Summary:
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p>
<blockquote>
<h2>v0.20.0</h2>
<p>Release of 0.20.0-pre as a full release with no other changes.</p>
<h2>v0.20.0-0</h2>
<h3>0.20.0-pre (July 15, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>)
<ul>
<li>fix: remove byte order marker (UTF-8 BOM) when transform response</li>
<li>fix: remove BOM only utf-8</li>
<li>test: utf-8 BOM</li>
<li>fix: incorrect param name</li>
</ul>
</li>
<li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>)
<ul>
<li>Adding failing test</li>
<li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li>
<li>Adding Concat keys and filter duplicates</li>
<li>Fixed value from CPE</li>
<li>update for review feedbacks</li>
<li>no deepMerge</li>
<li>only merge between plain objects</li>
<li>fix rename</li>
<li>always merge config by mergeConfig</li>
<li>extract function mergeDeepProperties</li>
<li>refactor mergeConfig with all keys, and add special logic for validateStatus</li>
<li>add test for resetting headers</li>
<li>add lots of tests and fix a bug</li>
<li>should not inherit <code>data</code></li>
<li>use simple toString</li>
</ul>
</li>
<li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li>
<li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li>
<li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>)
<ul>
<li>removing @ character from replacement list since it is a reserved character</li>
<li>Updating buildURL test to not include the @ character</li>
<li>Removing console logs</li>
</ul>
</li>
<li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>)
<ul>
<li>Fixing password encoding with special characters in basic authentication</li>
<li>Adding test to check if password with non-Latin1 characters pass</li>
</ul>
</li>
<li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>)
There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li>
<li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li>
<li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>)
<ul>
<li>Fix 'progressEvent' type</li>
<li>Update axios.ts</li>
</ul>
</li>
<li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>)
<ul>
<li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li>
<li>fix Eslint warn</li>
<li>Modify judgment conditions</li>
<li>add unit test</li>
<li>update unit test</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p>
<blockquote>
<h3>0.20.0 (August 20, 2020)</h3>
<p>Release of 0.20.0-pre as a full release with no other changes.</p>
<h3>0.20.0-pre (July 15, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>)
<ul>
<li>fix: remove byte order marker (UTF-8 BOM) when transform response</li>
<li>fix: remove BOM only utf-8</li>
<li>test: utf-8 BOM</li>
<li>fix: incorrect param name</li>
</ul>
</li>
<li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>)
<ul>
<li>Adding failing test</li>
<li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li>
<li>Adding Concat keys and filter duplicates</li>
<li>Fixed value from CPE</li>
<li>update for review feedbacks</li>
<li>no deepMerge</li>
<li>only merge between plain objects</li>
<li>fix rename</li>
<li>always merge config by mergeConfig</li>
<li>extract function mergeDeepProperties</li>
<li>refactor mergeConfig with all keys, and add special logic for validateStatus</li>
<li>add test for resetting headers</li>
<li>add lots of tests and fix a bug</li>
<li>should not inherit <code>data</code></li>
<li>use simple toString</li>
</ul>
</li>
<li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li>
<li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li>
<li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>)
<ul>
<li>removing @ character from replacement list since it is a reserved character</li>
<li>Updating buildURL test to not include the @ character</li>
<li>Removing console logs</li>
</ul>
</li>
<li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>)
<ul>
<li>Fixing password encoding with special characters in basic authentication</li>
<li>Adding test to check if password with non-Latin1 characters pass</li>
</ul>
</li>
<li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>)
There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li>
<li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li>
<li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>)
<ul>
<li>Fix 'progressEvent' type</li>
<li>Update axios.ts</li>
</ul>
</li>
<li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>)
<ul>
<li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li>
<li>fix Eslint warn</li>
<li>Modify judgment conditions</li>
<li>add unit test</li>
<li>update unit test</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0d87655624"><code>0d87655</code></a> Releasing 0.20.0</li>
<li><a href="cd27741ff6"><code>cd27741</code></a> Updating changelog for 0.20.0 release</li>
<li><a href="ffea03453f"><code>ffea034</code></a> Releasing 0.20.0-0</li>
<li><a href="fe147fbd3b"><code>fe147fb</code></a> Updating changlog for 0.20.0 beta release</li>
<li><a href="16aa2ce7fa"><code>16aa2ce</code></a> Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2419">#2419</a>)</li>
<li><a href="c4300a88cf"><code>c4300a8</code></a> Adding support for URLSearchParams in node (<a href="https://github-redirect.dependabot.com/axios/axios/issues/1900">#1900</a>)</li>
<li><a href="bed6783452"><code>bed6783</code></a> add table of content (preview) (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3050">#3050</a>)</li>
<li><a href="c70fab9d56"><code>c70fab9</code></a> Fix stale bot config (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3049">#3049</a>)</li>
<li><a href="5b08fc4ac7"><code>5b08fc4</code></a> Add days and change name to work (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3035">#3035</a>)</li>
<li><a href="1768c23da0"><code>1768c23</code></a> Update close-issues.yml (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3031">#3031</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.19.2...v0.20.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: cekkaewnumchai

Differential Revision: D24112920

Pulled By: mweststrate

fbshipit-source-id: 3e3e21501ac69a72dcdb2655c012c86372d94047
2020-10-06 04:23:08 -07:00
dependabot[bot]
57fe321009 Bump query-string from 6.13.1 to 6.13.3 in /desktop (#1554)
Summary:
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.1 to 6.13.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/query-string/releases">query-string's releases</a>.</em></p>
<blockquote>
<h2>v6.13.3</h2>
<ul>
<li>Fix the TypeScript type for the <code>.stringifyUrl()</code> method  b15f945</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.2...v6.13.3">https://github.com/sindresorhus/query-string/compare/v6.13.2...v6.13.3</a></p>
<h2>v6.13.2</h2>
<ul>
<li>Fix the <code>ParsedQuery</code> TypeScript typ  56d2923</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.1...v6.13.2">https://github.com/sindresorhus/query-string/compare/v6.13.1...v6.13.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="eb769d201d"><code>eb769d2</code></a> 6.13.3</li>
<li><a href="b15f945fc1"><code>b15f945</code></a> Fix the TypeScript type for the <code>.stringifyUrl()</code> method</li>
<li><a href="60802a7697"><code>60802a7</code></a> 6.13.2</li>
<li><a href="56d29234a2"><code>56d2923</code></a> Fix the <code>ParsedQuery</code> TypeScript typ</li>
<li>See full diff in <a href="https://github.com/sindresorhus/query-string/compare/v6.13.1...v6.13.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=query-string&package-manager=npm_and_yarn&previous-version=6.13.1&new-version=6.13.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/1554

Reviewed By: cekkaewnumchai

Differential Revision: D24112939

Pulled By: mweststrate

fbshipit-source-id: 466b391e021369cd5b1e9180e1fd967baef16bca
2020-10-06 04:05:38 -07:00
generatedunixname89002005306973
ad929b23d0 Flipper Release: v0.61.0
Summary: Releasing version 0.61.0

Reviewed By: mweststrate

Differential Revision: D24132584

fbshipit-source-id: 7ae6ad5144561d356effe8eda5eaf472445365e6
2020-10-06 03:43:56 -07:00
Michel Weststrate
17baa3084c Introduce emulatur launch dialog
Summary:
Changelog: Flipper can now launch iOS simulators by using `File > Launch Emulator...`

In the Sandy designs the device selector dropdown no longer shows the option to launch an emulator. So added a button to app inspect and the main menu instead.

I found it always a bit funny that we can launch android emulators, but not iOS emulators. Turns out that launching them is actually not very complex, so added capabilities to launch ios emulators

Reviewed By: jknoxville

Differential Revision: D24021737

fbshipit-source-id: c106cc2246921e008f9c808ebb811d8e333aa93b
2020-10-01 05:35:11 -07:00
Michel Weststrate
4e6ecac43e Load ant theme in classic Flipper as well
Summary: If a new code path uses some Ant design based components in classic flipper, they are unstyled before this diff. By making sure that the ant stylesheet is loaded we can safely 'leak' new UI elements into the old UI. For example when we use toasters, dialogs etc.

Reviewed By: cekkaewnumchai

Differential Revision: D24021751

fbshipit-source-id: 3b42d28f1c75e4df441170660027562264e879dd
2020-10-01 05:35:10 -07:00
Michel Weststrate
650158ca35 Introduce renderReactRoot utility
Summary: This is a small utility to be able to render a react element without giving it a position somewhere in the react render tree, so that dialogs can be triggered and rendered imperatively for example.

Reviewed By: cekkaewnumchai

Differential Revision: D24021752

fbshipit-source-id: 84633624c63c72a38a1b277207efba75af358a03
2020-10-01 05:35:10 -07:00
Michel Weststrate
b105574d00 More shaving on design system
Summary: Added standardized dimensions for padding and gap, to encourage people to build layouts that look consistent, using for example `padv="small"`

Reviewed By: cekkaewnumchai

Differential Revision: D23961386

fbshipit-source-id: 33cd3b8974858e021a8b7d1b32f018fe3f007c63
2020-10-01 05:35:10 -07:00
Michel Weststrate
e8370e9fc1 Introduce Design System Page / Design system improvements
Summary:
This diff introduces:

- ScrollContainer
- Make sure Ant Link components always open URLs externally, to avoid users needing to use electron api's
- Introduce a design systems page where people can find docs on how to organise sandy layout, and it also provides a convenient way to test layout mechanisms.
- Fixed several layout bugs found as a result of adding the design system page

In next diff:
- more convenience around organizing paddings
- making the design system accessible from the menu

Reviewed By: cekkaewnumchai

Differential Revision: D23930274

fbshipit-source-id: 4aab058d15b3391287e0e32513a5d83831448857
2020-10-01 05:35:10 -07:00
Pritesh Nandgaonkar
7358711e07 Enable screenshot for physical devices
Summary: Uses idb to get screenshot for physical devices.

Reviewed By: jknoxville

Differential Revision: D24017656

fbshipit-source-id: 89ffd17259d6f94d03a1442ffb341b79797f260b
2020-09-30 10:10:27 -07:00
generatedunixname89002005306973
8054f6446f Flipper Release: v0.60.0
Summary: Releasing version 0.60.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D24017297

fbshipit-source-id: ff193e95edc7d236c204bddf83aba56a7f009469
2020-09-30 09:28:54 -07:00
Pritesh Nandgaonkar
7574cee733 check for the null
Summary: This fixes the bug mentioned [here](https://fb.workplace.com/groups/flippersupport/permalink/976743249473000/)

Reviewed By: nikoant

Differential Revision: D24016091

fbshipit-source-id: 1ce49d850b6562fb9f09b9e640185316efc927c6
2020-09-30 07:35:28 -07:00
generatedunixname89002005306973
c0e8cef466 Flipper Release: v0.59.0
Summary: Releasing version 0.59.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23985341

fbshipit-source-id: a477f9c05f7a62db3a59758c8c5fe06651ffa6f2
2020-09-29 08:11:39 -07:00
Anton Nikolaev
bc39e72fd9 Automatically select plugin after auto-update
Summary: Select reloaded plugin automatically

Reviewed By: mweststrate

Differential Revision: D23987545

fbshipit-source-id: bf54ca54e4aa46b987d57e76fbc4f3e9e5fc336e
2020-09-29 04:26:25 -07:00
Pascal Hartig
75e80272a6 Remove stray console.log
Summary: Don't think is meant to stick around?

Reviewed By: jknoxville

Differential Revision: D23960901

fbshipit-source-id: 79115c8711745f3cd08dc93c9bb6f03f87154bf3
2020-09-28 07:23:17 -07:00
Anton Nikolaev
80c7c76ef9 Reload single device plugin on auto-update
Summary: The same as D23729972 (0982dc06a0), but now it is also possible to reload device plugins independently.

Reviewed By: jknoxville

Differential Revision: D23960058

fbshipit-source-id: 01e0edb29a62ed173dfe6f5946466269adee453a
2020-09-28 04:47:08 -07:00
Anton Nikolaev
1b4c08b282 Show plugin version as title in sidebar
Summary: Show plugin version on hover to easily check the current version without opening Plugin Manager

Reviewed By: mweststrate

Differential Revision: D23730582

fbshipit-source-id: 580da6ccd38c10b13dd9c438d4cf8d6ba8719644
2020-09-28 02:51:47 -07:00
Anton Nikolaev
0982dc06a0 Reload single plugin on auto-update
Summary: Implemented a way for re-loading single plugin on auto-update. This make it possible to apply update without full Flipper restart.

Reviewed By: mweststrate

Differential Revision: D23729972

fbshipit-source-id: ed30f7cde5a0537945db0b5bb6969ae8fde42cb6
2020-09-28 02:51:47 -07:00
Anna Murawska
5e979403a0 Show FB-internal announcements only in internal changelog (#1544)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1544

Added Facebook changelog file

Reviewed By: nikoant

Differential Revision: D23930322

fbshipit-source-id: bb6be359d36188f142d342604e50010170086610
2020-09-28 02:42:00 -07:00
Michel Weststrate
ecf4cff7cf Fix most lint warnings
Summary:
I noticed that after the typescript upgrade, I got several weird positives from ESLint (like unused parameters in a type definition, which are obviously always unused, e.g. `type onClick = (e: Event) => void`). After some investigation, it turned out these warnings are generated by eslint, but that those rules should be performaned by typescript/eslint instead. For future reference to which rules this applies:

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/README.md#extension-rules

Updated the config, and while at it, fixed all warnings in our codebase, except for `react-hooks/exhaustive-deps` warnings, since those require semantic changes.

This reduces the amount of eslint warnings from 86 to 39.

Reviewed By: passy

Differential Revision: D23905630

fbshipit-source-id: 0557708fd9ec6b17840a3c191e7d3baf225bdf23
2020-09-28 01:42:48 -07:00
Michel Weststrate
aaabe1cc82 Introduce AppInspect
Summary:
This diff introduces the AppInspect pane.

I didn't get very fare, and it is markup only, but while at it made a bunch of other improvement in the component lib, so figured to prematurely submit to don't make the diffs too big.

Improvements
- Separated sidebar and Layout.X, as it was to much responsibility for one component, and made customization hard. Also caused state loss when switching between resizable and not.
- Setup a basic top level selection. Maybe will move it into redux in the future, but for now it suffices.
- Introduced Layout.Horizontal and `Layout.Vertical` as alternative to Ant design's space. The reason is that the latter can't stretching children, which we use quite frequently. (that is because they use wrappers to create spacing, but since we run on Electron, we can use CSS `gap` instead, which handles that much more elegantly).
- Fixed issue where gutter handle could disappear when dragging to far.

Reviewed By: cekkaewnumchai

Differential Revision: D23867265

fbshipit-source-id: e872b7f48b868e255f2c34d45e811b8ed93d0b00
2020-09-28 01:42:48 -07:00
John Knox
2cbcbd1480 Include os version in metrics
Summary: May be useful for stability signals, or general bug correlation down the line.

Reviewed By: nikoant

Differential Revision: D23904843

fbshipit-source-id: ca31722b58d4657a9600fe5ce16ea3b5efd2c870
2020-09-25 09:52:05 -07:00
John Knox
359f7ad639 Fix system app detection regex
Summary:
Previously system apps have given "... is not an application" messages.
But now we can see others: https://android.googlesource.com/platform/system/core/+/master/run-as/run-as.cpp#226

So expanding the regex to catch both.
Context: https://fb.workplace.com/groups/flippersupport/permalink/970770066736985/

Reviewed By: passy

Differential Revision: D23930268

fbshipit-source-id: 1b85018da3e468563198d64af607d1129273c0d6
2020-09-25 06:21:29 -07:00
Michel Weststrate
aea04dd0cf Add Flipper logs to leftrail
Summary:
This adds support for flipper logs in Sandy, including some theme adjustments.

Did remove storage and showing of debug messages, as I noticed it tends to crash Flipper after a while since there are so many. Also added a fixed limit of only remembering last 1000

Also converted Toolbar and button with dropdown items to Sandy.

Reviewed By: cekkaewnumchai

Differential Revision: D23824528

fbshipit-source-id: b89d1182d4f14682251dbb482d93c2c009ddc7a4
2020-09-24 05:58:29 -07:00
Michel Weststrate
191df465b7 Updated to typescript 4
Summary:
allow-large-files

Updated to typescript 4. Note that this is no new major, the way TS numbers is that 4.0 is simply the number after 3.9 (so they refuse to use 3.10).

Primarily reason is that it allows us to use `/** deprecated */`. although there are definitely more interesting improvements

Reviewed By: passy, nikoant

Differential Revision: D23869445

fbshipit-source-id: 54e251b398b8698d9b18898ce66c3203b32aa356
2020-09-24 05:58:29 -07:00
Chaiwat Ekkaewnumchai
bfe76e54fe Introduce Sandy Welcome Screen
Summary:
Per title

~~Note: `useStore.tsx` is copied from D23783500 (e7fdd8332d). This should be merged correctly in case the diff is landed before.~~

Reviewed By: mweststrate

Differential Revision: D23784302

fbshipit-source-id: adb5678c1b2614e3af4278889529c3fa79335bef
2020-09-23 17:59:46 -07:00
Chaiwat Ekkaewnumchai
93c897820b Change Typography Size
Summary:
Typography on Sandy! The designed typography is [here in Figma](https://www.figma.com/file/4e6BMdm2SuZ1L7FSuOPQVC/Flipper?node-id=238%3A172)

Current deflects
- cannot find component for 'body - small' and 'meta'
- don't know how to set 'link secondary hover' as designed

Reviewed By: mweststrate

Differential Revision: D23869256

fbshipit-source-id: efb1475749cebad529b502458d1b15bd445bb346
2020-09-23 17:59:46 -07:00
generatedunixname89002005306973
32315c2d97 Flipper Release: v0.58.0
Summary: Releasing version 0.58.0

Reviewed By: cekkaewnumchai

Differential Revision: D23872448

fbshipit-source-id: b74483db292311719a0231f9b2fed78122e9f339
2020-09-23 12:06:38 -07:00
John Knox
390df577ae Print out CSR mismatches when no matching one can be found
Summary:
We're seeing some CSR mismatches when they aren't expected. Adding logging to print out what is being found, to see if it's any OS-specific encoding issues or something like that, or completely different CSRs, etc.

URL encoded in case there are differences in non printable characters.

Reviewed By: nikoant

Differential Revision: D23867267

fbshipit-source-id: f406a396c808687b6b84561eb1def61b565aee34
2020-09-23 08:39:40 -07:00
Michel Weststrate
a0d46bbb53 Use Ant design for buttons if Sandy is enabled
Summary: The Flipper `Button` component now uses Ant.design under the hood if available. This is detected using context

Reviewed By: cekkaewnumchai

Differential Revision: D23813166

fbshipit-source-id: 489a34d55c0b69d7b5bcd30f4275b89d0bb22c0d
2020-09-22 12:03:40 -07:00
Michel Weststrate
b256bc68fa convert buttons to React hooks
Summary: Converted Buttons to hooks, to make it easier to use context in the future. No further changes.

Reviewed By: cekkaewnumchai

Differential Revision: D23812921

fbshipit-source-id: 3739ad49e734dbe4d903a23d58da7cc267f6e109
2020-09-22 12:03:40 -07:00
Michel Weststrate
fdd2151532 Settings panel
Summary:
This enables opening the settings panel from Sandy. Created a small code switch in layouting to make sure it looks ok in both sandy and native dialog. Inside the settings no new components are used yet, which will be done in next diffs.

Also removed the close button from temporarily titlebar as settings are now accessible from Sandy chrome

Reviewed By: cekkaewnumchai

Differential Revision: D23812321

fbshipit-source-id: f8888373632786bb75f6dad635d300729b5086dc
2020-09-22 12:03:39 -07:00
Michel Weststrate
1c3df6ed8e Copied utilities to temporarily toolbar
Summary: This copies several utilities from the old title bar to the new one. We will have to revisit this in the future as it will eventually disappear. But in the mean time it makes sure version info and performance graphs are shown

Reviewed By: cekkaewnumchai

Differential Revision: D23824366

fbshipit-source-id: 0e495cd6d70db6a38da6df52b47ffee4bcb6f69f
2020-09-22 12:03:39 -07:00
Anton Nikolaev
dfbf66408a Fix search by query in Plugin Manager
Summary: I accidently broke search by query in a previous diff, so fixing it here

Reviewed By: passy

Differential Revision: D23842187

fbshipit-source-id: 9fcc7a46048ff99e1bf26c8a70ef0240b38018cb
2020-09-22 10:35:55 -07:00
Michel Weststrate
e7fdd8332d Made sidebars toggleable
Summary:
Implemented a first button: make main menu collapsible.

Also introduced some additional utilities and hooked up startup performance logging

Reviewed By: cekkaewnumchai

Differential Revision: D23783500

fbshipit-source-id: 2456fd781a52d497facbaccfabe885e4f8c408c5
2020-09-21 11:53:21 -07:00
Michel Weststrate
95638af321 Build main layout
Summary: This diff introduces the. main sections and restyled resizable panes according to the Figma design

Reviewed By: cekkaewnumchai

Differential Revision: D23758349

fbshipit-source-id: 7f09574f6b5fb54551141c13667c664e1769f09a
2020-09-21 11:53:21 -07:00
Pascal Hartig
7aaf5585a2 Fix Android device connection for Kitkat
Summary:
Probably more than just KitKat, but we got a specific report in
https://fburl.com/f88cvz4c for 4.4. ABI lists are not included
in the probs and unfortunately TS doesn't resolve this to a
`string | undefined` as it should.

{F336605489}

Reviewed By: jknoxville

Differential Revision: D23815568

fbshipit-source-id: b6af928f85549d0c973feb0d83a324252ce0f654
2020-09-21 09:24:37 -07:00
Michel Weststrate
54d36876b6 Upgrade to Electron 10 (#1532)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1532

Upgrade to Electron 10, in an attempt to fix random hard Electron crashes. Didn't fix it, but given the changelog of Electron with all the bug fixes, seems to be a good idea nonetheless :)

Changelog: Flipper now uses Electron 10

Reviewed By: nikoant

Differential Revision: D23565000

fbshipit-source-id: 3f07b8cf8c438147bde5314698d20046ac9f94cf
2020-09-17 09:44:27 -07:00
Paco Estevez Garcia
7307ed7014 Add 'Copy expanded child elements' to Layout Inspector
Summary:
As requested in https://fburl.com/dpuz2cew

This diff adds a new popup menu option to copy the info of all the expanded elements in a view/component tree.

It does it by moving the copy function to the layer where all elements are available.

The diff also replaces `Copy` to a call to the same function.

Reviewed By: muraziz

Differential Revision: D23757826

fbshipit-source-id: 3f70c85267f928f7153db75ed8f4eaa3fac669e7
2020-09-17 09:44:27 -07:00
Michel Weststrate
694d4e0e33 Expose theme from JavaScript
Summary:
This diff fixes two problems when further theming Flipper:

1. All shades of gray where defined in terms of black/white + transparency. Converted all colors to non transparent to make sure they stack well.
2. The color theme defined in less aren't available as javascript colors. It is possible to achieve that through setting up a babel parser that parses the less files and exposes them to JS. But since we have modern stack, figured that exposing all theme variables as CSS variables as well is a much simpler setup.

Reviewed By: passy

Differential Revision: D23756558

fbshipit-source-id: e92be1f66b11c2c9c400fc1622cb8a493cc4c2a5
2020-09-17 04:05:09 -07:00
Michel Weststrate
ef4379e847 Implemented basic Flipper theme, [Flipper] Setup initial layout and siderail
Summary:
This setups the first bits of the Sandy Layout, and has a styled siderail according to the design, that does absolutely nothing.

{gif:0sa60r8c}

Reviewed By: cekkaewnumchai

Differential Revision: D23655313

fbshipit-source-id: e30278aeae0913e231ad105a9afb55c74c6a3370
2020-09-17 04:05:09 -07:00
Michel Weststrate
2d2a8bd675 Introduce dark theme
Summary: Adds support for switching dark mode on the fly. Also added the option to apply certain settings without restarting Flipper, as that isn't needed in all cases.

Reviewed By: cekkaewnumchai

Differential Revision: D23625854

fbshipit-source-id: 82175ba10524daf1b48a65feec8c610460df9418
2020-09-17 04:05:09 -07:00
Michel Weststrate
908a8bab1e Setup Ant.design
Summary:
allow-large-files

This makes the Ant.design component library available to Flipper

The CSS setup is unconventional, in the sense that the normal way to do this is to use a webpack loader to dynamically load the right less files, and a babel transform to automatically import the style sheets.

Since we use Metro, which is not very suitable for transforming non-JS(like) files, I figured that the simplest thing is to pre-compile the entire less theme. Which should be fine since we shouldn't be changing the less files very often, and since we don't ship a website, it is probably not too bad to have the full ANT theme for now in there, even though we don't use all components. It is 600 K of css. In the next diff the CSS is loaded conditionally, only if Sandy is enabled.

If the CSS turns out to be too big we can optimise this later to only import CSS for components we use by doing some Metro magic, but it doesn't seem to be trivial (that is, I couldn't get in to work in < 2 hours).

Reviewed By: cekkaewnumchai

Differential Revision: D23625855

fbshipit-source-id: 3ba810b2221dc0c7b719f66310e590c7748cf239
2020-09-17 04:05:08 -07:00