20185f37abcd515e1a9eeb11d57d40607ae0968e
1842 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
20185f37ab |
Init and error logging
Summary: Set up some basic logging for deep link usage at the entry point and error cases. More granular logging coming up next. Reviewed By: nikoant Differential Revision: D31337822 fbshipit-source-id: 171eae68fb3d9a11aa155087baf6f8309bbd7295 |
||
|
|
672cfad7d6 |
Flipper Release: v0.113.0
Summary: Releasing version 0.113.0 Reviewed By: jknoxville Differential Revision: D31264525 fbshipit-source-id: 400ff8a08dd0671d780e5663b0538fe7e970b237 |
||
|
|
9ce424adf7 |
Allowlist some remote usages
Summary: Some drive-by changes as I'm working on other stuff. Reviewed By: mweststrate Differential Revision: D31337500 fbshipit-source-id: 8f348af06b7c4b159703d7adf160a7380ba57b22 |
||
|
|
7dd9cce9f2 |
Wire up logger
Summary: Splitting this up into the wiring and the actual usage. This just ensures we have a logger in place for handling deeplinks. Reviewed By: mweststrate Differential Revision: D31337457 fbshipit-source-id: b088a7396e38554a87502ba7d5669dbef1b398d7 |
||
|
|
4aa7439fbf |
Fix Flipper lints #10
Summary: Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that. A few promise cleanups Reviewed By: aigoncharov Differential Revision: D31323610 fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089 |
||
|
|
fe3eda024b |
Replace promisify(child_process.*)
Summary: Promisify leads to weird types and sometimes unexpected runtime behaviour. Replacing it with the dep we use everywhere. It's just really annoying that `stdout` is here explicitly `| null` which isn't the case in the default types. Reviewed By: timur-valiev Differential Revision: D31278303 fbshipit-source-id: eadbc49b287704e71a5ecba0d9a311eac91dc6f8 |
||
|
|
7706b26d7a |
Exclusively use idb or xcrun for querying devices
Summary: Simplifies the logic by only using idb when available to query *both* simulators and physical devices. Changelog: Prefer idb for device listing when available. Reviewed By: mweststrate Differential Revision: D31271539 fbshipit-source-id: ac5b73ca5b00b7707bf87cd4d3a6af6e0c0ae214 |
||
|
|
27938a7e96 |
Bump @testing-library/dom from 8.2.0 to 8.6.0 in /desktop (#2914)
Summary: Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.2.0 to 8.6.0. <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>v8.6.0</h2> <h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.5.0...v8.6.0">8.6.0</a> (2021-09-22)</h1> <h3>Features</h3> <ul> <li>Add support for firing all transition events (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1036">https://github.com/facebook/flipper/issues/1036</a>) (<a href=" |
||
|
|
1e80107048 |
Bump js-base64 from 3.7.0 to 3.7.2 in /desktop (#2917)
Summary: Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.7.0 to 3.7.2. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
1945b4e9d0 |
Bump @testing-library/react from 12.0.0 to 12.1.1 in /desktop (#2916)
Summary: Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@testing-library/react</code>'s releases</a>.</em></p> <blockquote> <h2>v12.1.1</h2> <h2><a href="https://github.com/testing-library/react-testing-library/compare/v12.1.0...v12.1.1">12.1.1</a> (2021-09-27)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>TS:</strong> make wrapper allow a simple function comp (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/966">https://github.com/facebook/flipper/issues/966</a>) (<a href=" |
||
|
|
5bc1971368 |
Revert app-builder-lib bump (#2927)
Summary: This should fix the build failures due to old node versions. Pull Request resolved: https://github.com/facebook/flipper/pull/2927 Reviewed By: timur-valiev Differential Revision: D31311267 Pulled By: passy fbshipit-source-id: 336138c0bd57fbc9f72f5694a258279245b8a30d |
||
|
|
3a93d48e05 |
Disable sync rules for sub-projects
Summary: This is from a larger lint task but I'm pulling this out separately. Sync only matters to us in the context of UI where it can block the main loop. Here it's fine. Reviewed By: timur-valiev Differential Revision: D31290130 fbshipit-source-id: 9a156ce549a1249b2b08f16e3afef6e5cd1e5441 |
||
|
|
ed80dcf26c |
Fetch logs to create paste and autofill them
Summary: Added fetching logs for flipper and autofilling them too with the create paste link in the description of the support form. Changed the on click load form function to async to handle this as createPaste returns a promise and not the URL directly. Reviewed By: mweststrate Differential Revision: D31268006 fbshipit-source-id: 2a9ee08948198781adadd2b3b9c447f179db7d5c |
||
|
|
b8236f1b3a |
Don't leave rejection unhandled if node fetching fails
Summary: Fix potentially unhandled promise rejection in Layout inspector. Not really reproducible, and probably originating from old Flipper versions (no trace is available either), since we have a lot of connection check in place. Just in case still handled the exception, for example if something goes wrong on client side Reviewed By: passy Differential Revision: D31267465 fbshipit-source-id: d1b384db7bb010af8d2aa12ae29110f343fb14af |
||
|
|
8fd012a8a3 |
Autofill title and description in the support form
Summary: Added autofill for title and description. Description are the list of steps users have taken to troubleshoot. Reviewed By: mweststrate Differential Revision: D31263065 fbshipit-source-id: 932e6cb42438cd2da0d7e8686f0f7e0fa69ee586 |
||
|
|
ef6e802244 |
Some Client related cleanups
Summary: Client up `client.device` (which had no code references anymore) / `client.deviceSync`. Cleaned up feature code for old SDKs (pre 2, which is 3 years old). This makes decapitating Client a little simpler in the rest of the stack. Reviewed By: passy Differential Revision: D31235436 fbshipit-source-id: 919679c1830e2b9368d0787d7b363c090305edb8 |
||
|
|
906578cc01 |
Remove flipper_frozen_data GK
Summary: Removed an old GK that has been 100% for all employees for months. Reviewed By: passy Differential Revision: D31233413 fbshipit-source-id: ce7d871c5c4f46e9264fdc1c2e4042f0362464f1 |
||
|
|
e32a377c65 |
Fix eagerly rejection ADB spawn error
Summary: Fix unnecessary unhandled promise rejection. Reviewed By: passy Differential Revision: D31267305 fbshipit-source-id: 90b22fdfa1721f10ad92dbeca74c2ee1988ac15c |
||
|
|
816720d708 |
Stop reporting 'Failed to fetch' errors
Summary: Failed to fetch promise rejections should not be reported Reviewed By: passy Differential Revision: D31266851 fbshipit-source-id: ce3c15db5504c01d66b44e032c2b7fb752ec2ec3 |
||
|
|
42374cb10d |
Bump glob from 7.1.7 to 7.2.0 in /desktop (#2918)
Summary: Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
d5057aaf04 |
Bump @babel/plugin-proposal-object-rest-spread from 7.14.7 to 7.15.6 in /desktop (#2858)
Summary: Bumps [babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-object-rest-spread) from 7.14.7 to 7.15.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/plugin-proposal-object-rest-spread</code>'s releases</a>.</em></p> <blockquote> <h2>v7.15.6 (2021-09-09)</h2> <p>Thanks <a href="https://github.com/dan-kez"><code>@dan-kez</code></a>, <a href="https://github.com/fyzhu"><code>@fyzhu</code></a> and <a href="https://github.com/wafuwafu13"><code>@wafuwafu13</code></a> for your first PRs!</p> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-object-rest-spread</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13711">#13711</a> fix: Duplicate function call in variable destructuring (<a href="https://github.com/dan-kez"><code>@dan-kez</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13733">#13733</a> id in import attributes should not be referenced (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13731">#13731</a> fix(babel-parser): Fix end of <code>range</code> of <code>SequenceExpression</code> (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-helper-transform-fixture-test-runner</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13738">#13738</a> Use <code>types/node</code> for <code>vm</code> module (<a href="https://github.com/wafuwafu13"><code>@wafuwafu13</code></a>)</li> </ul> </li> <li><code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13737">#13737</a> Remove duplicate <code>dependency</code> and <code>devDependency</code> in preset-env (<a href="https://github.com/fyzhu"><code>@fyzhu</code></a>)</li> </ul> </li> </ul> <h4>Committers: 6</h4> <ul> <li>Daniel Kezerashvili (<a href="https://github.com/dan-kez"><code>@dan-kez</code></a>)</li> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li>Sosuke Suzuki (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> <li>TagawaHirotaka (<a href="https://github.com/wafuwafu13"><code>@wafuwafu13</code></a>)</li> <li>Yvan Zhu (<a href="https://github.com/fyzhu"><code>@fyzhu</code></a>)</li> </ul> <h2>v7.15.5 (2021-09-04)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>↩️ Revert</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert "fix: non breaking align options naming" (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h4>Committers: 3</h4> <ul> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@babel-bot</code></a>)</li> <li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> <h2>v7.15.4 (2021-09-02)</h2> <p>Thanks <a href="https://github.com/flyinox"><code>@flyinox</code></a>, <a href="https://github.com/komyg"><code>@komyg</code></a>, and <a href="https://github.com/meskill"><code>@meskill</code></a> for your first PRs!</p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/plugin-proposal-object-rest-spread</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.15.6 (2021-09-09)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-object-rest-spread</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13711">#13711</a> fix: Duplicate function call in variable destructuring (<a href="https://github.com/dan-kez"><code>@dan-kez</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13733">#13733</a> id in import attributes should not be referenced (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13731">#13731</a> fix(babel-parser): Fix end of <code>range</code> of <code>SequenceExpression</code> (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-helper-transform-fixture-test-runner</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13738">#13738</a> Use <code>types/node</code> for <code>vm</code> module (<a href="https://github.com/wafuwafu13"><code>@wafuwafu13</code></a>)</li> </ul> </li> <li><code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13737">#13737</a> Remove duplicate <code>dependency</code> and <code>devDependency</code> in preset-env (<a href="https://github.com/fyzhu"><code>@fyzhu</code></a>)</li> </ul> </li> </ul> <h2>v7.15.5 (2021-09-04)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>↩️ Revert</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert "fix: non breaking align options naming" (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h2>v7.15.4 (2021-09-02)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@komyg</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>"latest"</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helper-compilation-targets</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@meskill</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@colinaaa</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
f5e4d27bc4 |
Bump pretty-format from 27.1.0 to 27.2.0 in /desktop (#2861)
Summary: Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.1.0 to 27.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p> <blockquote> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> <h2>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p> <blockquote> <h2>27.2.0</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li> <li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li> <li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li> </ul> <h2>27.1.1</h2> <h3>Features</h3> <ul> <li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li> <li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
49e6cfe08d |
Bump app-builder-lib from 22.11.1 to 22.14.2 in /desktop (#2845)
Summary: allow-large-files Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) from 22.11.1 to 22.14.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">app-builder-lib's releases</a>.</em></p> <blockquote> <h2>22.14.2</h2> <h1><a href="https://github.com/electron-userland/electron-builder/compare/v22.13.1...v22.14.2">electron-builder@22.14.2</a> (2021-09-10)</h1> <h3>Bug Fixes</h3> <ul> <li>(mac) Fix intel mac upgrade flow when both x64 and arm64 published (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6212">#6212</a>) (<a href=" |
||
|
|
b150367830 |
Bump eslint-plugin-flowtype from 5.9.2 to 5.10.0 in /desktop (#2919)
Summary: Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 5.9.2 to 5.10.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gajus/eslint-plugin-flowtype/releases">eslint-plugin-flowtype's releases</a>.</em></p> <blockquote> <h2>v5.10.0</h2> <h1><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.9.2...v5.10.0">5.10.0</a> (2021-09-14)</h1> <h3>Features</h3> <ul> <li>add new rule sort-type-union-intersection-members (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/501">https://github.com/facebook/flipper/issues/501</a>) (<a href=" |
||
|
|
e974b28c8f |
Add no device found error msg to guide
Summary: Added noDeviceErrorMsg as a JSX.Element that will display 'No device found' if there are no devices detected. It is an empty JSX.Element otherwise and nothing is displayed as shown in the video. I am using a JS variable as a JSX element in this diff. This simplifies the if else checks needed inside return, and reused the same styling we have. Reviewed By: mweststrate Differential Revision: D31193647 fbshipit-source-id: dea96232785c9e2987be1513fa3462452c996e66 |
||
|
|
c2848df7f2 |
Update instruments check
Summary: We no longer need to check for instruments but it's useful to check if we have xctrace as it was added somewhat recently to xcrun. Reviewed By: mweststrate Differential Revision: D31232872 fbshipit-source-id: 0f496c56520bf752cf7dbd5005c7832c80c2bc26 |
||
|
|
795a3d30a0 |
Migrate away from deprecated instruments utility (#2903)
Summary: The "instruments" utility was deprecated in Xcode 12 and removed now from Xcode 13, causing all the iOS 15 / Xcode 13 builds to fail to work with Flipper. See deprecation notice here: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes > The instruments command is now deprecated in favor of its replacement: xctrace. Use xctrace to record, import, and export data from Instruments .trace files. (36641078) The corresponding bug was reported here: https://github.com/facebook/flipper/issues/2896 That call should be replaced with `xcrun xctrace` run and that is what we are doing here. IMPORTANT: There was a workaround on killing the stale `instruments` proceses and that utility function is removed as part of this PR, as `instruments` were slow and inefficient, marked for deprecation more than a year ago. `xctrace` should not have that kind of issue and it doesn't make sense to keep this workaround now. ## Changelog The "instruments" call replaced with `xcrun xctrace` use, to align with deprecation introduced in Xcode 12 and offer Xcode 13 compatibility. Pull Request resolved: https://github.com/facebook/flipper/pull/2903 Test Plan: In order to test this we should run the Flipper desktop app and make sure it connects to the Simulator started out of Xcode 13 It fails to do so in `master` version right now, see https://github.com/facebook/flipper/issues/2896 Reviewed By: mweststrate Differential Revision: D31150276 Pulled By: passy fbshipit-source-id: 0b45ae23c15a8481a91b1effe814176b04adbf3e |
||
|
|
18fbde50f2 |
Bump @babel/core from 7.14.8 to 7.15.5 in /desktop (#2888)
Summary: Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.8 to 7.15.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/core</code>'s releases</a>.</em></p> <blockquote> <h2>v7.15.5 (2021-09-04)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>↩️ Revert</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert "fix: non breaking align options naming" (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h4>Committers: 3</h4> <ul> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@babel-bot</code></a>)</li> <li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> <h2>v7.15.4 (2021-09-02)</h2> <p>Thanks <a href="https://github.com/flyinox"><code>@flyinox</code></a>, <a href="https://github.com/komyg"><code>@komyg</code></a>, and <a href="https://github.com/meskill"><code>@meskill</code></a> for your first PRs!</p> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@komyg</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>"latest"</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helper-compilation-targets</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@meskill</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@colinaaa</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13695">#13695</a> fix: assure left bracket is not consumed after dot (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13532">#13532</a> fix: non breaking align options naming (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h4>📝 Documentation</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13691">#13691</a> add missing ExportNamespaceSpecifier in spec.md (<a href="https://github.com/flyinox"><code>@flyinox</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-syntax-class-static-block</code>, <code>babel-plugin-syntax-private-property-in-object</code>, <code>babel-plugin-syntax-top-level-await</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13717">#13717</a> archive stage 4 parser plugins (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🏃♀️ Performance</h4> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/core</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.15.5 (2021-09-04)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>↩️ Revert</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert "fix: non breaking align options naming" (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h2>v7.15.4 (2021-09-02)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@komyg</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>"latest"</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helper-compilation-targets</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@meskill</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@colinaaa</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13695">#13695</a> fix: assure left bracket is not consumed after dot (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13532">#13532</a> fix: non breaking align options naming (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h4>📝 Documentation</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13691">#13691</a> add missing ExportNamespaceSpecifier in spec.md (<a href="https://github.com/flyinox"><code>@flyinox</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-syntax-class-static-block</code>, <code>babel-plugin-syntax-private-property-in-object</code>, <code>babel-plugin-syntax-top-level-await</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-preset-env</code>, <code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13717">#13717</a> archive stage 4 parser plugins (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🏃♀️ Performance</h4> <ul> <li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-helper-annotate-as-pure</code>, <code>babel-helper-builder-binary-assignment-operator-visitor</code>, <code>babel-helper-builder-react-jsx</code>, <code>babel-helper-define-map</code>, <code>babel-helper-explode-assignable-expression</code>, <code>babel-helper-function-name</code>, <code>babel-helper-get-function-arity</code>, <code>babel-helper-hoist-variables</code>, <code>babel-helper-member-expression-to-functions</code>, <code>babel-helper-module-imports</code>, <code>babel-helper-module-transforms</code>, <code>babel-helper-optimise-call-expression</code>, <code>babel-helper-remap-async-to-generator</code>, <code>babel-helper-replace-supers</code>, <code>babel-helper-simple-access</code>, <code>babel-helper-skip-transparent-expression-wrappers</code>, <code>babel-helper-split-export-declaration</code>, <code>babel-helper-wrap-function</code>, <code>babel-helpers</code>, <code>babel-preset-env</code>, <code>babel-template</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13685">#13685</a> Use named imports for babel types (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-cli</code>, <code>babel-helper-define-map</code>, <code>babel-helpers</code>, <code>babel-node</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-for-of</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13609">#13609</a> perf: partially replace <code>.concat</code> with <code>.push</code> (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h2>v7.15.3 (2021-08-11)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-helpers</code>, <code>babel-plugin-transform-classes</code></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
28ce9097f2 |
Bump inquirer from 8.1.2 to 8.1.5 in /desktop (#2889)
Summary: Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.1.2 to 8.1.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases">inquirer's releases</a>.</em></p> <blockquote> <h2>inquirer@8.1.5</h2> <p>Fix older Node version compatibility issue.</p> <h2>inquirer@8.1.4</h2> <ul> <li>Fix an error being thrown inside the <code>rawlist</code> prompt</li> </ul> <h2>inquirer@8.1.3</h2> <h3>Bug Fixes</h3> <ul> <li>Fix password prompt appearing when doing async filtering/validation</li> <li>User being prompted a question even though it was answered when using nested answer object format.</li> <li>Fix extra space appearing when using custom prefix.</li> </ul> <p>And bump of all dependencies.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
169feb6dc6 |
Bump @testing-library/react from 12.0.0 to 12.1.0 in /desktop (#2887)
Summary: Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@testing-library/react</code>'s releases</a>.</em></p> <blockquote> <h2>v12.1.0</h2> <h1><a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0">12.1.0</a> (2021-09-11)</h1> <h3>Features</h3> <ul> <li>improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>) (<a href=" |
||
|
|
f98526a2c9 |
Added unit tests to protect against broken startup sequence
Summary: Add unit tests to test errors thrown from plugins during initialisation, as follow up for D31127969 (
|
||
|
|
f6af85ee7e |
Upgrade prettier rules
Summary: The jsx specific one was deprecated in favour of the more generic `bracketSameLine`. Reviewed By: mweststrate Differential Revision: D31204490 fbshipit-source-id: 28e5c9b583e57bef7f348c7f06605d4180ef18cf |
||
|
|
5d910f662a |
Bump prettier from 2.3.2 to 2.4.1 in /desktop (#2892)
Summary: Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.1. <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.4.1</h2> <p>{emoji:1f517} <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#241">Changelog</a></p> <h2>2.4.0</h2> <p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p> <p><a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release note</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.4.1</h1> <p><a href="https://github.com/prettier/prettier/compare/2.4.0...2.4.1">diff</a></p> <h4>Fix wildcard syntax in <code>forward</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11482">#11482</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11487">#11487</a> by <a href="https://github.com/niksy"><code>@niksy</code></a>)</h4> <pre lang="scss"><code>// Input forward "library" as btn-*; <p>// Prettier 2.4.0 <a href="https://github.com/forward"><code>@forward</code></a> "library" as btn- *;</p> <p>// Prettier 2.4.1 <a href="https://github.com/forward"><code>@forward</code></a> "library" as btn-*; </code></pre></p> <h4>Add new CLI option <code>debug-print-ast</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11514">#11514</a> by <a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</h4> <p>A new <code>--debug-print-ast</code> CLI flag for debugging.</p> <h1>2.4.0</h1> <p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p> <p>{emoji:1f517} <a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release Notes</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
89435533a1 |
Bump babel deps
Summary: Only patch ones to be safe. Reviewed By: nikoant Differential Revision: D31203884 fbshipit-source-id: c81787a6a4d7f711a6928e0cfaa16a226eeede29 |
||
|
|
b539f4d870 |
Fix startLogging / stopLogging for ArchivedDevice
Summary: Unit test would fail on trying to emit server commands when creating a ArchivedDevice. But archived devices can silently ignore log start commands, which fixes the failing test as well. Example failing run: https://github.com/facebook/flipper/runs/3685776120 I'm not sure why the test wasn't _always_ failing Reviewed By: lblasa Differential Revision: D31142584 fbshipit-source-id: 57106ecdace9f72444eaf68ee9fa024c84556a1c |
||
|
|
987755bb09 |
Improve device destruction code [8/n]
Summary: Some cleanup in device destruction code. This diff wraps up the stack that decouples device management from the UI. Next steps are client management, and system management (file access / command execution) Reviewed By: passy Differential Revision: D31084036 fbshipit-source-id: 93efee7dba2193589d3c08c51128ce03de5eff7f |
||
|
|
597cb6b1da |
Flipper Release: v0.112.0
Summary: Releasing version 0.112.0 Reviewed By: nikoant Differential Revision: D31140851 fbshipit-source-id: 18106a3f0c0383f8f32a7abf30866d9a72c912a4 |
||
|
|
a72e46c792 |
Fix error handling in plugin loading
Summary: If a device plugin throw an error in it's initialization, it would prevent the device itself from being registered. This fixes that. As shown in the comments of for example: https://fb.workplace.com/groups/flippersupport/permalink/1218627761951213/ Reviewed By: ananyaarun Differential Revision: D31127969 fbshipit-source-id: 9824d23b275f1f9e866f841035961e4707ff8e04 |
||
|
|
40f20f6785 |
Introduce an internal FDS Flipper plugin
Summary: Adding a Flipper plugin that is isolated to design systems engineering / FDS. This is essentially our dumping grounds of useful utilities for FDS. The first thing I've added is the ability to dump / view the ui tracker hierarchy, which will be useful for development / debugging. Differential Revision: D31076277 fbshipit-source-id: 5aff639368945796dc3ebab603dadb8d43d7b699 |
||
|
|
2fc156c15a |
Flipper Release: v0.111.0
Summary: Releasing version 0.111.0 Reviewed By: nikoant Differential Revision: D31107620 fbshipit-source-id: 3651b4e38c4311d895af411a15925eb99bef1382 |
||
|
|
3882357579 |
Factor out realDevice [7/n]
Summary: `device.realDevice` was the escape hatch used in Sandy plugins to give access to device specific features like taking screenshots, clearing logs or accessing `adb`. Since in decapitated Flipper that won't be possible anymore (since plugins run in the client but device implementations on the server), all escape hatches have been bridged in this stack, and we can get of the `realDevice` interaction, by explicitly exposing those cases, which makes it type safe as well. Reviewed By: passy Differential Revision: D31079509 fbshipit-source-id: c9ec2e044d0dec0ccb1de287cf424907b198f818 |
||
|
|
11a27f9e1a |
Support forward command [6/n]
Summary: Support the adb forward command Reviewed By: jameslawson Differential Revision: D31055957 fbshipit-source-id: bc0593320d0e187ddfc8120c1684746f9e9c4cf5 |
||
|
|
8cf182cc26 |
Restore adb executeShell [5/n]
Summary: Expose executeShell explicitly through the device interface Reviewed By: jameslawson Differential Revision: D31055959 fbshipit-source-id: b14395d0783ede265c6ae39c397ea93a85a78336 |
||
|
|
4463e7ede2 |
Restore metro functionality [4/n]
Summary: Restored Metro functionality; progress reports, metro logs, RN/Hermes debugging, reload / dev menu button Reviewed By: passy Differential Revision: D31055958 fbshipit-source-id: c243035c343c14718a9afe275c8f5f36a1aa3a94 |
||
|
|
3428ce2968 |
Restore device icons [3/n]
Summary: Restored support for device icons which was disabled in previous diff Reviewed By: passy Differential Revision: D31054802 fbshipit-source-id: 107a53f06159211534cb9a2316340af7a7ca530a |
||
|
|
2d838efd4d |
Separate device in server and client version [2/n]
Summary:
This stack takes care of handling care of moving all device interactions over the (possible) async channel FlipperServer. The FlipperServer interface (see previous diff) allows listening to specific server events using `on`, and emit commands to be executed by the server by using `exec` (e.g. `exec('take-screenshot', serial) => Promise<buffer>`).
FlipperServerImpl implements this interface on the server side.
The device implementations are split as follows
```
server / backend process:
ServerDevice
- iOSDevice
- AndroidDevice
- MetroDevice
- DummyDevice
- Mac/Windows Device
frontend / ui:
BaseDevice: a normal connected, device, implements device apis as they already existed
- ArchivedDevice (note that this doesn't have a server counterpart)
- TestDevice (for unit tests, with stubbed backend communication)
```
All features of devices are for simplicity unified (since the deviations are small), where specific device types might not implement certain features like taking screenshots or running shell commands.
To avoid making this diff unnecessarily big, some open Todo's will be addressed later in this stack, and it shouldn't be landed alone.
Reviewed By: timur-valiev
Differential Revision: D30909346
fbshipit-source-id: cce0bee94fdd5db59bebe3577a6084219a038719
|
||
|
|
845d0755f1 |
Move common types to flipper-plugin [1/n]
Summary: This is the first diff in a stack of many where server and UI logic is further decoupled to be only communication through an event listener / emitting commands, where all data going over these media is json serializable. In this diff we extract the common interfaces that are to be used by both server and UI layer. Reviewed By: passy Differential Revision: D30899609 fbshipit-source-id: dc3c783707d47671f1d0f5dbf99cde17a8f69062 |
||
|
|
d5aaa0034d |
Improve UI when no devices connected
Summary: Remove empty dropdown when no devices connected. Show 'No devices available' test instead. Reviewed By: passy Differential Revision: D31088007 fbshipit-source-id: 8a3bf0e8fbff04c7dfe2581f95576b3ab5ed4bcb |
||
|
|
5252dac50a |
Revert globby upgrade (#2868)
Summary: Fixes https://github.com/facebook/flipper/issues/2710 Pull Request resolved: https://github.com/facebook/flipper/pull/2868 Test Plan: cd pkg; yarn && yarn run run help No longer shows ESM error. Reviewed By: lblasa Differential Revision: D31027581 Pulled By: mweststrate fbshipit-source-id: 04d669df3645c5b3ae727d521243a82dea701152 |
||
|
|
4244563b67 |
fix take screenshot button state
Summary: Take screenshot button state is not reset after screenshot taken. So Flipper can only take 1 screenshot per session. Reviewed By: mweststrate Differential Revision: D31018526 fbshipit-source-id: dc7b00f26c77ec94a8a15047f5ae835acdb710c7 |