Commit Graph

8378 Commits

Author SHA1 Message Date
Lorenzo Blasa
e272705af3 Add button to attempt start Flipper server
Summary: If Flipper server is not running, the offline landing site will offer an option to start it by trying to open 'start-server' under the `flipper-launcher://` scheme.

Reviewed By: mweststrate

Differential Revision: D45950872

fbshipit-source-id: 0d4e22c8474413e914c3c7b4fc9154ae628a8b42
2023-05-17 11:01:37 -07:00
Lorenzo Blasa
5d40b5fedd Lock manifest.json
Summary:
The PWA manifest is very unlikely to change at the same frequency that tokens get generated and injected here.

Add it to .gitignore so that these changes are, well, ignored.

Reviewed By: antonk52

Differential Revision: D45950055

fbshipit-source-id: bd082f3bf005c7746c7dd3682b4ebde039633398
2023-05-17 09:33:45 -07:00
Lorenzo Blasa
1a6fac2a50 Only show PWA wizard in production
Summary: ^

Reviewed By: antonk52

Differential Revision: D45942615

fbshipit-source-id: e759da943396d85cd68169f79818d7037f5a940b
2023-05-17 03:50:40 -07:00
dependabot[bot]
6f36108ca2 Bump serde from 1.0.160 to 1.0.163 in /packer (#4736)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.163.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.163</h2>
<ul>
<li>Eliminate build script from serde_derive crate to slightly reduce build time (<a href="https://redirect.github.com/serde-rs/serde/issues/2442">https://github.com/facebook/flipper/issues/2442</a>, thanks <a href="https://github.com/taiki-e"><code>@​taiki-e</code></a>)</li>
</ul>
<h2>v1.0.162</h2>
<ul>
<li>
<p>Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the <code>csv</code> crate (<a href="https://redirect.github.com/serde-rs/serde/issues/2377">https://github.com/facebook/flipper/issues/2377</a>, thanks <a href="https://github.com/mfro"><code>@​mfro</code></a>)</p>
<pre lang="rust"><code>#[derive(Deserialize)]
pub struct Record {
    common: u64,
    #[serde(flatten)]
    kind: Kind,
}
<p>#[derive(Deserialize)]
#[serde(tag = &quot;kind&quot;, content = &quot;parameter&quot;, rename_all = &quot;lowercase&quot;)]
enum Kind {
Foo(u64),
Bar(bool),
}
</code></pre></p>
<pre lang="csv"><code>common,kind,parameter
1,foo,42
2,bar,true
</code></pre>
</li>
</ul>
<h2>v1.0.161</h2>
<ul>
<li>Improve error messages produced by serde_test on test failure (<a href="https://redirect.github.com/serde-rs/serde/issues/2435">https://github.com/facebook/flipper/issues/2435</a>, thanks <a href="https://github.com/Mingun"><code>@​Mingun</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fccb9499bc"><code>fccb949</code></a> Release 1.0.163</li>
<li><a href="a139ab2572"><code>a139ab2</code></a> Adjust PR 2446 with less overgeneralized name</li>
<li><a href="1d910a484c"><code>1d910a4</code></a> Format with rustfmt 1.5.2-nightly</li>
<li><a href="ee9166ec97"><code>ee9166e</code></a> Revise comments on the FlatMapDeserializer entry taker</li>
<li><a href="b5a9eff32e"><code>b5a9eff</code></a> Resolve while_let_on_iterator clippy lint</li>
<li><a href="9441a29663"><code>9441a29</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2446">https://github.com/facebook/flipper/issues/2446</a> from Mingun/dedup2</li>
<li><a href="ab6588ef74"><code>ab6588e</code></a> Extract duplicated code into a function</li>
<li><a href="1d11f03449"><code>1d11f03</code></a> Extract logic of taking flattened fields into a function</li>
<li><a href="e11d01fe1d"><code>e11d01f</code></a> Remove constructors for FlatMapAccess and FlatStructAccess</li>
<li><a href="a901f50850"><code>a901f50</code></a> FlatMapAccess and FlatStructAccess does not need to be public</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.163">compare view</a></li>
</ul>
</details>
<br />

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: ivanmisuno

Differential Revision: D45917748

Pulled By: passy

fbshipit-source-id: 86fbf6ffa9a52f6af3c1e5e2ce39aca04e23a788
2023-05-17 02:39:09 -07:00
dependabot[bot]
6674a6ab0e Bump org.robolectric:robolectric from 4.10 to 4.10.2 (#4724)
Summary:
Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.10 to 4.10.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">org.robolectric:robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.10.2 is a minor release that fixes an issue related to re-instrumenting classes that have already been instrumented with Jacoco (1c22a484c39711d4f7270585130bb15990f3cc85).</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10.1...robolectric-4.10.2">https://github.com/robolectric/robolectric/compare/robolectric-4.10.1...robolectric-4.10.2</a></p>
<p>Robolectric 4.10.1 is a minor release that fixes several issues:</p>
<ul>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8163">robolectric/robolectric#8163</a>, which involve ICU extensions in SQLite (9551b04602985795ef7667a3f6238e989bdba765)</li>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8137">robolectric/robolectric#8137</a>, ShadowVibrator APIs on older SDK levels (5127cefaddbb58c3e64423ee13cf4031ce531ec3), thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a></li>
<li>Fixes issue <a href="https://redirect.github.com/robolectric/robolectric/issues/8160">robolectric/robolectric#8160</a>, where an obscure exception would be thrown in resetters (866dacc37308c4b5381d7f01d5c56193f643b412).</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.1">https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="24d5efd568"><code>24d5efd</code></a> Bump version to 4.10.2.</li>
<li><a href="3ffdaf7847"><code>3ffdaf7</code></a> Fix another edge case in Jacoco instrumentation detection</li>
<li><a href="348443c128"><code>348443c</code></a> Bump version to 4.10.1.</li>
<li><a href="5127cefadd"><code>5127cef</code></a> Make ShdadowVibrator compatible with SDK 28+</li>
<li><a href="866dacc373"><code>866dacc</code></a> Remove precondition check in ShadowActivityThread resetter</li>
<li><a href="9551b04602"><code>9551b04</code></a> Add support for SQLite 'regexp' methods</li>
<li>See full diff in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.10...robolectric-4.10.2">compare view</a></li>
</ul>
</details>
<br />

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: ivanmisuno

Differential Revision: D45917753

Pulled By: passy

fbshipit-source-id: e81a646ad1834d64f2ed79c73cf34d7ecb6c2943
2023-05-17 02:36:07 -07:00
Nikita Lutsenko
b66bff3837 sonar | Replace global static variables within jni/sonar.cpp with local static.
Summary: Replacing global static varaibles with local static. No cost at startup time, and also fixes any potential static initialization order fiasco.

Differential Revision: D45900844

fbshipit-source-id: 4ff05cbefe2f0c00199f40b9127e28c355d1819e
2023-05-16 18:56:17 -07:00
Nikita Lutsenko
0069155b1e flipper | Replace global static variables in FlipperSocketProvider with local static.
Summary: Replacing global static varaibles with local static. No cost at startup time, and also fixes any potential static initialization order fiasco.

Differential Revision: D45900297

fbshipit-source-id: 80e3ffb6527f7f7b6b08de4a6209f0f8298f7bf5
2023-05-16 14:15:04 -07:00
Lorenzo Blasa
7386608a53 Track token validation
Summary: ^

Reviewed By: antonk52

Differential Revision: D45864358

fbshipit-source-id: c043555c5dd3050503115a22982162ec16aba40f
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
5830333e0d PWA installation wizard usage tracking
Summary: Get some metrics from the PWA installation wizard.

Reviewed By: antonk52

Differential Revision: D45863352

fbshipit-source-id: 1cf8912a47c749b3b2c2e573796ee1935ea172c9
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
c6d5eb3334 Flipper as PWA
Summary:
^

Reference: https://docs.google.com/document/d/1flQJUzTe4AuQz3QCpvbloQycenHsu7ZxbKScov7K7ao

Reviewed By: passy

Differential Revision: D45693382

fbshipit-source-id: 5a2e6c213a7e7e2cf9cd5f3033cff3e5291a2a92
2023-05-16 04:32:47 -07:00
Lorenzo Blasa
47a4c10c67 Improve error logs readability
Summary:
Setting the background to red for error logs has a lot of implications for all text colouring inside of its container.

Instead, set the error border to red, which gives a clear error indication whilst making things easier to read.

changelog: Improve console error logs readability

Reviewed By: mweststrate

Differential Revision: D45861604

fbshipit-source-id: 51f557451ac16269b69ff830a26328552e134ee5
2023-05-15 05:35:32 -07:00
Luke De Feo
cd67ce59f7 Improve selection / hovered state of visualiser
Summary:
Previously we used an overlay to indicated selected but this was kind of hard to see due to <1 opacity. I think this approach where we enchance the border is clearer.

Also we used border colour earlier to indicate type of node which i think was never obvious to the user. Given that nodes heavily overlap we should remove this design language

changelog: UIDebugger, improve selected and hover state of the visualiser

Reviewed By: antonk52

Differential Revision: D45737758

fbshipit-source-id: 5299043656787d6479cff6ec2b38cebe8417fd53
2023-05-11 08:15:19 -07:00
Andrey Goncharov
33ae7f23db Fix column sorting not visible
Summary: Fixes a regression from D45394048. It "sortable" as a nullable column prop. When it is undefined it should be treated as true.

Reviewed By: LukeDefeo

Differential Revision: D45776216

fbshipit-source-id: dcd8ce97217086deab7b2b1852837fbfa7437d13
2023-05-11 08:14:05 -07:00
Anton Kastritskiy
94482f9782 limit vscode code action apply to eslint only
Summary:
I accidentally used vscode. I acctidentally used an await keyword in a sync funciton. typescript has an codeaction to add an async to the function which was out of my screen. This changed the function return type to promise which caused other errors around the codebase and it took me a while to figure out where the error was coming from.

All eslint code actions are safe to apply which is not the case with typescript. Thus making this change.

Reviewed By: lblasa

Differential Revision: D45773531

fbshipit-source-id: 1f8835c442d7703644b1af729ab55fcef7d5be73
2023-05-11 07:30:07 -07:00
Anton Kastritskiy
4ad54db723 eslint warn on non null assertions
Summary:
Let's ban the non null assertion syntax `maybeNull!` as it is unsafe and can cause unexpected behavior. Ideally this should be an error or require a comment explaining why the value cannot be nullish. Though, there are 468 occurrences around the codebase and it is not worth it to manually go around fixing it now. Thus I used a warn to still warn developers to avoid the use where possible.

Last week I spend over an hour on debugging something where the code was null-asserted as the developer thought the value could never be null while in reallity it could. Adding a runtime check in this case sounds reasonable.

rule docs
https://typescript-eslint.io/rules/no-non-null-assertion/

Reviewed By: nikoant

Differential Revision: D45773327

fbshipit-source-id: 9e8a40af353ce979f469ffaedd8e777d72500dab
2023-05-11 07:30:07 -07:00
Lorenzo Blasa
a96caacb2b EnvironmentInfo as argument to start server
Summary:
Clean initialisation by passing down the environment info to start server.

(Also rename dir to path as that's the name used in other places)

Reviewed By: passy

Differential Revision: D45731751

fbshipit-source-id: a60fdd49c567fc312d1f8da72db3a46a0828c140
2023-05-11 04:10:16 -07:00
Luke De Feo
0f9eeda2dd Remove ctrl to stop drawing children
Summary: This feature is annoying and useless

Reviewed By: antonk52

Differential Revision: D45696921

fbshipit-source-id: 01c007d3e196a7511b940b7973bb8e6a880e27e5
2023-05-10 09:14:47 -07:00
Luke De Feo
da268f0095 Bump mock-fs
Summary: various tests failing due to this dep

Reviewed By: antonk52

Differential Revision: D45731274

fbshipit-source-id: cb79199c15a8973f50e5075dab16605d0120b30c
2023-05-10 07:47:19 -07:00
Szu-Kai Hsu
10f967fe60 feat: Update paste argument schema to support specified programming language (#4732)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4732

This diff adds a `language` field into `CreatePasteArgs` type to potentially specify programming language in the paste service

Reviewed By: mweststrate

Differential Revision: D45701098

fbshipit-source-id: 080d76e5ff332518881e9c6b84aa47aaea680309
2023-05-10 07:36:49 -07:00
Luke De Feo
23ebd8b865 Change logic for generating debug wrapper for nodes
Summary:
Previously we would only generate debug wrapper for render core layout result when uidebugger was currently connected.

This meant if you navigate to a bloks screen *before* having the ui debugger open at render time it would read ui debugger as disconnected since the ui debugger is not a background plugin. The result is the user would see the native nodes instead of the bound tree, it was extra confusing since the layout result was cached so going forward and back doesnt solve it.

The ideal solution would be to have a global flipper is connected on the client but this isnt available yet, lorenzo said he would work on it later.

As a work around we use the fact that the uidebugger has ever been connected in this session.

It can still be confusing since the initial load of a bloks screen migt not generate the debug nodes until you navigate to the plugin once. I will add a note to the docs so say that you need to have open the uidebugger once before nodes will appear

Reviewed By: mweststrate

Differential Revision: D45605120

fbshipit-source-id: 970943b9f8f98221b7fc5e20bb1caf18c2266474
2023-05-10 05:05:34 -07:00
Lorenzo Blasa
fdd1a9e887 Use different location for token depending on build type
Summary:
For Electron builds, use the same directory as certificates and keys.

For headless builds, then use the static directory.

Reviewed By: antonk52

Differential Revision: D45728515

fbshipit-source-id: 55a3b143a9289fed23e57cbf6b701a5e48d27332
2023-05-10 04:35:17 -07:00
Lorenzo Blasa
b94f6b6152 Set the right environment info for headless builds
Summary: The isHeadlessBuild flag was not properly set.

Reviewed By: antonk52

Differential Revision: D45728435

fbshipit-source-id: 3616c4358114d4f3d96372766dabf48b27b44333
2023-05-10 04:35:17 -07:00
Ruslan Lesiutin
1086e05ba0 upgrade react-devtools to v4.27.7 in fbsource (#4706)
Summary:
X-link: https://github.com/facebook/react-native/pull/37146

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

Changelog: [Internal]

Updating react-devtools-* packages to v4.27.7

Reviewed By: jacdebug

Differential Revision: D45317588

fbshipit-source-id: 5625f654feffced92ca933796e90ac10fc4801ff
2023-05-09 07:13:39 -07:00
Lorenzo Blasa
133ea43f7d Add auth.token to .gitignore
Summary:
Bit annoying if everytime we run it we have to manually delete/discard file.

So, add to gitignore.

Reviewed By: LukeDefeo, passy

Differential Revision: D45688164

fbshipit-source-id: 6ae2b570f571a3d44b0c75bb3d614887e4943e5b
2023-05-09 03:12:35 -07:00
Lorenzo Blasa
238f40f55d Mandate auth token to connect over TCP
Summary:
Until now, launching flipper-server with TCP would accept any incoming connection as long as it comes from the same origin (localhost) using web socket host origin verification.

This is not entirely secure as origin can be spoofed with tools like curl.

Our team created a security review and a proposal was written:
https://docs.google.com/document/d/16iXypCQibPiner061SoaQUFUY9tLVAEpkKfV_hUXI7c/

Effectively, Flipper can generate a token which is then used by the client to authenticate.

This diff contains the changes required to generate, obtain, and validate authentication tokens from clients connecting to flipper over TCP connections.

The token itself is a JWT token. JWT was chosen because it is a simple industry standard which offers three features which can immediately benefit us:

- Expiration handling. No need for Flipper to store this information anywhere.
- Payload. Payload can be used to push any data we deem relevant i.e. unix username.
- Signing. Signed and verified using the same server key pair which is already in place for certificate exchange.

Additionally, the token is stored in the Flipper static folder. This ensures that the browser and PWA clients have access to it.

Reviewed By: mweststrate

Differential Revision: D45179654

fbshipit-source-id: 6761bcb24f4ba30b67d1511cde8fe875158d78af
2023-05-05 07:52:13 -07:00
Luke De Feo
70cdc9bedc Android start sending frame scan event instead of subtree update
Summary: Cosmetic change to make the events more inline with what they are

Reviewed By: lblasa

Differential Revision: D42999134

fbshipit-source-id: e026e38da7e50e8f5520271246f9627eb22e8965
2023-05-04 04:12:01 -07:00
Luke De Feo
98b94d62cf Add bloks integration infra + Layout result wrapper
Summary:
This adds the base infra for the UIDebugger bloks integration as well as an implementation for the Layout result wrapper for bloks. When theUIDebugger is connected we wrap the original layout result with a debug varient that delegates all methods to the original layout result but also provides access to the bloks model.

This allows the UIDebugger to inspect the Layout result and bloks model together

Reviewed By: pasqualeanatriello

Differential Revision: D43444444

fbshipit-source-id: ac531a0c7491c05db1d6f7671e3ab09c73c213b9
2023-05-03 07:51:29 -07:00
Luke De Feo
42320e1c09 Remove focus mode when frame no longer contains previously focused mode
Summary:
The logic was a little outdated to when we were accumulating subtrees, now its much simpler, if the previously focused id is not in the new frame, remove focus

Changelog: UIDebugger, fix focus mode behaviour

Reviewed By: mweststrate

Differential Revision: D45523026

fbshipit-source-id: 894a85df21cc27eb57dbef411ae57743d0c4f753
2023-05-03 06:24:07 -07:00
dependabot[bot]
f4e02f04ca Bump anyhow from 1.0.70 to 1.0.71 in /packer (#4707)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.71</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8b4fc43429"><code>8b4fc43</code></a> Release 1.0.71</li>
<li><a href="3c33b4b072"><code>3c33b4b</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/anyhow/issues/306">#306</a> from dtolnay/noinline</li>
<li><a href="d491b88840"><code>d491b88</code></a> Mark format_err macro as doc(no_inline)</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71">compare view</a></li>
</ul>
</details>
<br />

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: antonk52

Differential Revision: D45484397

Pulled By: passy

fbshipit-source-id: 4c960ef862e882789a6a1ff94aafb5b62ffb5058
2023-05-02 09:12:26 -07:00
dependabot[bot]
ec22a81e4a Bump org.mockito:mockito-core from 5.2.0 to 5.3.1 (#4685)
Summary:
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.2.0 to 5.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">org.mockito:mockito-core's releases</a>.</em></p>
<blockquote>
<h2>v5.3.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>5.3.1</h4>
<ul>
<li>2023-04-21 - <a href="https://github.com/mockito/mockito/compare/v5.3.0...v5.3.1">2 commit(s)</a> by Rafael Winterhalter, jfrantzius</li>
<li>Fixes 2972: Weakens visibility constraint [(<a href="https://redirect.github.com/mockito/mockito/issues/2983">https://github.com/facebook/flipper/issues/2983</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2983">mockito/mockito#2983</a>)</li>
<li>Bugfix 2974 fix npe [(<a href="https://redirect.github.com/mockito/mockito/issues/2976">https://github.com/facebook/flipper/issues/2976</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2976">mockito/mockito#2976</a>)</li>
<li>Fix for <a href="https://redirect.github.com/mockito/mockito/issues/2958">https://github.com/facebook/flipper/issues/2958</a> eliminates CCE but leads to NPE [(<a href="https://redirect.github.com/mockito/mockito/issues/2974">https://github.com/facebook/flipper/issues/2974</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2974">mockito/mockito#2974</a>)</li>
<li>Spying objects not working properly since 5.3.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/2972">https://github.com/facebook/flipper/issues/2972</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2972">mockito/mockito#2972</a>)</li>
</ul>
<h2>v5.3.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>5.3.0</h4>
<ul>
<li>2023-04-11 - <a href="https://github.com/mockito/mockito/compare/v5.2.0...v5.3.0">14 commit(s)</a> by Krzysztof Krasoń, Maciej Walkowiak, Rafael Winterhalter, Wesley Tsai, dependabot[bot], jfrantzius</li>
<li>Bump com.diffplug.spotless from 6.17.0 to 6.18.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/2967">https://github.com/facebook/flipper/issues/2967</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2967">mockito/mockito#2967</a>)</li>
<li>Bump versions.bytebuddy from 1.14.3 to 1.14.4 [(<a href="https://redirect.github.com/mockito/mockito/issues/2966">https://github.com/facebook/flipper/issues/2966</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2966">mockito/mockito#2966</a>)</li>
<li>Adds  <code>withoutAnnotations</code> parameter to <code>Mock</code> [(<a href="https://redirect.github.com/mockito/mockito/issues/2965">https://github.com/facebook/flipper/issues/2965</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2965">mockito/mockito#2965</a>)</li>
<li>Fix ClassCastException [(<a href="https://redirect.github.com/mockito/mockito/issues/2962">https://github.com/facebook/flipper/issues/2962</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2962">mockito/mockito#2962</a>)</li>
<li>Bump org.codehaus.groovy:groovy from 3.0.16 to 3.0.17 [(<a href="https://redirect.github.com/mockito/mockito/issues/2959">https://github.com/facebook/flipper/issues/2959</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2959">mockito/mockito#2959</a>)</li>
<li>ClassCastException when combining InjectMocks with generified Mock field [(<a href="https://redirect.github.com/mockito/mockito/issues/2958">https://github.com/facebook/flipper/issues/2958</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2958">mockito/mockito#2958</a>)</li>
<li>Bump versions.bytebuddy from 1.14.2 to 1.14.3 [(<a href="https://redirect.github.com/mockito/mockito/issues/2950">#2950</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2950">mockito/mockito#2950</a>)</li>
<li>Add <code>ArgumentMatchers#assertArg</code> method. [(<a href="https://redirect.github.com/mockito/mockito/issues/2949">https://github.com/facebook/flipper/issues/2949</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2949">mockito/mockito#2949</a>)</li>
<li>Fixes 2947: correct visibility check to respect nestmates [(<a href="https://redirect.github.com/mockito/mockito/issues/2948">https://github.com/facebook/flipper/issues/2948</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2948">mockito/mockito#2948</a>)</li>
<li>spy does not initialize objects fully with InstrumentationMemberAccessor [(<a href="https://redirect.github.com/mockito/mockito/issues/2947">https://github.com/facebook/flipper/issues/2947</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2947">mockito/mockito#2947</a>)</li>
<li>Fixes <a href="https://redirect.github.com/mockito/mockito/issues/2877">https://github.com/facebook/flipper/issues/2877</a>: removed mockito-inline as subproject and actual subproject [(<a href="https://redirect.github.com/mockito/mockito/issues/2945">https://github.com/facebook/flipper/issues/2945</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2945">mockito/mockito#2945</a>)</li>
<li><a href="https://redirect.github.com/mockito/mockito/issues/2934">https://github.com/facebook/flipper/issues/2934</a> throw exception on multiple matches by type if cannot be reduce… [(<a href="https://redirect.github.com/mockito/mockito/issues/2942">https://github.com/facebook/flipper/issues/2942</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2942">mockito/mockito#2942</a>)</li>
<li>Bump org.eclipse.platform:org.eclipse.osgi from 3.18.200 to 3.18.300 [(<a href="https://redirect.github.com/mockito/mockito/issues/2941">https://github.com/facebook/flipper/issues/2941</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2941">mockito/mockito#2941</a>)</li>
<li>Bump com.diffplug.spotless from 6.16.0 to 6.17.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/2940">https://github.com/facebook/flipper/issues/2940</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2940">mockito/mockito#2940</a>)</li>
<li>Bump org.codehaus.groovy:groovy from 3.0.15 to 3.0.16 [(<a href="https://redirect.github.com/mockito/mockito/issues/2939">https://github.com/facebook/flipper/issues/2939</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2939">mockito/mockito#2939</a>)</li>
<li>Bump versions.bytebuddy from 1.14.1 to 1.14.2 [(<a href="https://redirect.github.com/mockito/mockito/issues/2938">https://github.com/facebook/flipper/issues/2938</a>)](<a href="https://redirect.github.com/mockito/mockito/pull/2938">mockito/mockito#2938</a>)</li>
<li>Feature suggestion: TerminalMockCandidateFilter should report error when more than one candidate left [(<a href="https://redirect.github.com/mockito/mockito/issues/2934">https://github.com/facebook/flipper/issues/2934</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2934">mockito/mockito#2934</a>)</li>
<li>Mockito-inline dependency after upgrade 5.0.0 [(<a href="https://redirect.github.com/mockito/mockito/issues/2877">https://github.com/facebook/flipper/issues/2877</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2877">mockito/mockito#2877</a>)</li>
<li>Assertions on parameters during verification [(<a href="https://redirect.github.com/mockito/mockito/issues/2285">https://github.com/facebook/flipper/issues/2285</a>)](<a href="https://redirect.github.com/mockito/mockito/issues/2285">mockito/mockito#2285</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="baf59c48ea"><code>baf59c4</code></a> Weakens visibility constraint for spy constructors (<a href="https://redirect.github.com/mockito/mockito/issues/2983">https://github.com/facebook/flipper/issues/2983</a>)</li>
<li><a href="02b9634b74"><code>02b9634</code></a> Fix NPE for handling <code>Object</code> (<a href="https://redirect.github.com/mockito/mockito/issues/2976">https://github.com/facebook/flipper/issues/2976</a>)</li>
<li><a href="6ffd23e1bf"><code>6ffd23e</code></a> Add <code>ArgumentMatchers#assertArg</code> method (<a href="https://redirect.github.com/mockito/mockito/issues/2949">https://github.com/facebook/flipper/issues/2949</a>)</li>
<li><a href="203132db49"><code>203132d</code></a> Add  <code>withoutAnnotations</code> parameter to <code>Mock</code> (<a href="https://redirect.github.com/mockito/mockito/issues/2965">https://github.com/facebook/flipper/issues/2965</a>)</li>
<li><a href="84a5eee1ce"><code>84a5eee</code></a> Fix ClassCastException regression with parameterized types with InjectMocks (...</li>
<li><a href="d65bba7e6a"><code>d65bba7</code></a> Bump versions.bytebuddy from 1.14.3 to 1.14.4 (<a href="https://redirect.github.com/mockito/mockito/issues/2966">https://github.com/facebook/flipper/issues/2966</a>)</li>
<li><a href="600eaa06f4"><code>600eaa0</code></a> Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (<a href="https://redirect.github.com/mockito/mockito/issues/2967">https://github.com/facebook/flipper/issues/2967</a>)</li>
<li><a href="f9fbf50bd6"><code>f9fbf50</code></a> Bump org.codehaus.groovy:groovy from 3.0.16 to 3.0.17 (<a href="https://redirect.github.com/mockito/mockito/issues/2959">https://github.com/facebook/flipper/issues/2959</a>)</li>
<li><a href="0b8685c37b"><code>0b8685c</code></a> Bump versions.bytebuddy from 1.14.2 to 1.14.3 (<a href="https://redirect.github.com/mockito/mockito/issues/2950">#2950</a>)</li>
<li><a href="5486617f7a"><code>5486617</code></a> Correct visibility check to respect nestmates (<a href="https://redirect.github.com/mockito/mockito/issues/2948">https://github.com/facebook/flipper/issues/2948</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v5.2.0...v5.3.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=5.2.0&new-version=5.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: lblasa

Differential Revision: D45350822

Pulled By: passy

fbshipit-source-id: 964ade81d6f6bf6d01233428705ec8a24bc9101d
2023-05-02 03:35:08 -07:00
Andrey Goncharov
78b650dbe0 Make fliters non-exclusive
Summary:
Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit

Also, sync quick filters with the internal filter state of the table

Reviewed By: antonk52

Differential Revision: D45396180

fbshipit-source-id: 6a8ef4ac61a49ec7af71ae9e26f20f395fb34cef
2023-04-28 12:19:45 -07:00
Andrey Goncharov
65daaf80f1 Expose table state from table manager
Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit

Reviewed By: antonk52

Differential Revision: D45395107

fbshipit-source-id: 8ca3639a109e40b26acead8bb4b0eace68ac9bce
2023-04-28 12:19:45 -07:00
Andrey Goncharov
424985a75a Expose removing filters programatically
Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit

Reviewed By: antonk52

Differential Revision: D45394864

fbshipit-source-id: d2c140d542eaee157cbad5b6a0f29fc62f73a18b
2023-04-28 12:19:45 -07:00
Andrey Goncharov
647bc06f3a Make filtered state of columns more apparent
Summary: People complained about barely noticeable filtered state indication multiple times

Reviewed By: antonk52

Differential Revision: D45394233

fbshipit-source-id: 60a3531b1808ae8f95ce8cd405a20b74bad0ed46
2023-04-28 12:19:45 -07:00
Andrey Goncharov
9d2de05723 Allow to disable column sorting
Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit#

Reviewed By: antonk52

Differential Revision: D45394048

fbshipit-source-id: 4255777d477f8240f52b5f82c28e922ef1011989
2023-04-28 12:19:45 -07:00
Andrey Goncharov
a819c77f18 Expose addColumnFilter from DataTable
Summary:
Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit#

Used to set filters externally in next diff

Reviewed By: antonk52

Differential Revision: D45393487

fbshipit-source-id: 15c1186292f45de455ebbcbfced7a63c824a6c19
2023-04-28 12:19:45 -07:00
Andrey Goncharov
27eb5978a9 Pass TableManager instance to Details sidebar of any MasterDetail table
Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit#

Reviewed By: passy

Differential Revision: D45354900

fbshipit-source-id: 7f968c9d235f5d8bb23e59e50e39fc1e9f498f46
2023-04-28 12:19:45 -07:00
Andrey Goncharov
423a8d1935 Revamp newScript detailed view
Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit#

Reviewed By: antonk52

Differential Revision: D45353402

fbshipit-source-id: 88cc26f9886fd7b2cdcd5ca3d021790d8669c140
2023-04-28 12:19:45 -07:00
dependabot[bot]
4d390d0906 Bump com.squareup.okhttp3:okhttp from 4.9.3 to 4.11.0 (#4688)
Summary:
Bumps [com.squareup.okhttp3:okhttp](https://github.com/square/okhttp) from 4.9.3 to 4.11.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="68a106d326"><code>68a106d</code></a> Prepare for release 4.11.0.</li>
<li><a href="19c634f32d"><code>19c634f</code></a> Build the 4x branch like it's master (<a href="https://redirect.github.com/square/okhttp/issues/7780">#7780</a>)</li>
<li><a href="40cb04338d"><code>40cb043</code></a> [4.x] Public suffix import (<a href="https://redirect.github.com/square/okhttp/issues/7701">#7701</a>)</li>
<li><a href="cbcf4f32ff"><code>cbcf4f3</code></a> Add a Kotlin dependency to work around CVE-2022-24329 (<a href="https://redirect.github.com/square/okhttp/issues/7660">#7660</a>)</li>
<li><a href="8eddd1d6b8"><code>8eddd1d</code></a> [4.x] Cherry pick: fix DoH error when using ip address as hostname (<a href="https://redirect.github.com/square/okhttp/issues/7648">#7648</a>)</li>
<li><a href="949262e9fb"><code>949262e</code></a> [4.x] Backport 1XX handling from master (<a href="https://redirect.github.com/square/okhttp/issues/7634">#7634</a>)</li>
<li><a href="81d34114e2"><code>81d3411</code></a> [4.x] Update Okio to 3.2.0 (<a href="https://redirect.github.com/square/okhttp/issues/7591">#7591</a>)</li>
<li><a href="e46a200fce"><code>e46a200</code></a> Read the response even if writing the request fails (<a href="https://redirect.github.com/square/okhttp/issues/6295">#6295</a>) (<a href="https://redirect.github.com/square/okhttp/issues/7453">#7453</a>)</li>
<li><a href="cf088f852e"><code>cf088f8</code></a> Extend Proguard Rules (<a href="https://redirect.github.com/square/okhttp/issues/6792">#6792</a>) (<a href="https://redirect.github.com/square/okhttp/issues/7471">#7471</a>)</li>
<li><a href="d2d251ccaa"><code>d2d251c</code></a> Reinstane builds on 4.10.x (<a href="https://redirect.github.com/square/okhttp/issues/7454">#7454</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/square/okhttp/compare/parent-4.9.3...parent-4.11.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=gradle&previous-version=4.9.3&new-version=4.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: mweststrate

Differential Revision: D45390718

Pulled By: passy

fbshipit-source-id: d4118719fa309859ca8fdc59770980a93dd7d61d
2023-04-28 10:06:43 -07:00
dependabot[bot]
8a50364652 Bump react-native-flipper from 0.184.0 to 0.190.0 in /react-native/ReactNativeFlipperExample (#4702)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.184.0 to 0.190.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.190.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.189.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.188.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.187.1</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.187.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.186.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.185.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f8ca1551d7"><code>f8ca155</code></a> Flipper Release: v0.190.0</li>
<li><a href="2583a076c0"><code>2583a07</code></a> Delete unused code</li>
<li><a href="8657bcba64"><code>8657bcb</code></a> Report payload size</li>
<li><a href="8cd2bb97bf"><code>8cd2bb9</code></a> Add payload size to performance stats event</li>
<li><a href="22e28a4f3e"><code>22e28a4</code></a> Bump prettier from 2.6.2 to 2.8.7 in /desktop</li>
<li><a href="53aca9a661"><code>53aca9a</code></a> Hidden attributes</li>
<li><a href="c2fc54057a"><code>c2fc540</code></a> Make metadata tags a map and rename to custom attributes</li>
<li><a href="eee74044ff"><code>eee7404</code></a> Start sending parent id</li>
<li><a href="3cec113b0e"><code>3cec113</code></a> Bump serde from 1.0.158 to 1.0.160 in /packer (<a href="https://redirect.github.com/facebook/flipper/issues/4675">https://github.com/facebook/flipper/issues/4675</a>)</li>
<li><a href="489d9ba3e0"><code>489d9ba</code></a> Bump com.vanniktech:gradle-maven-publish-plugin from 0.24.0 to 0.25.2 (<a href="https://redirect.github.com/facebook/flipper/issues/4679">https://github.com/facebook/flipper/issues/4679</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.184.0...v0.190.0">compare view</a></li>
</ul>
</details>
<br />

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: mweststrate

Differential Revision: D45390721

Pulled By: passy

fbshipit-source-id: 2fede4ada395eb620a3c9a39d623634676b54f47
2023-04-28 08:51:33 -07:00
dependabot[bot]
e909f8c8e7 Bump org.robolectric:robolectric from 4.9.2 to 4.10 (#4687)
Summary:
Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.9.2 to 4.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">org.robolectric:robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.10 adds support for native Android graphics. It is currently disabled by default and can be enabled using <code>GraphicsMode(NATIVE)</code>. When native graphics is enabled, interactions with Android graphics classes use real native Android graphics code and are much higher fidelity.</p>
<h2>Behavior changes</h2>
<p>In Robolectric 4.10, <code>ReflectionHelpers.setStaticField</code> no longer removes the <code>final</code> keyword from static fields. This is because removing <code>final</code> using reflection stops working in JDK 18 due to <a href="https://openjdk.java.net/jeps/416">https://openjdk.java.net/jeps/416</a>. To remove <code>final</code> from static fields, consider using some instrumentation-based approach, such as mockito-inline.</p>
<h2>What's Changed</h2>
<ul>
<li>Remove dead code that uses Plan based instrumentation (ClassHandler.Plan) <a href="https://redirect.github.com/robolectric/robolectric/pull/7610">robolectric/robolectric#7610</a></li>
<li>Run SDK 33 tests on CI by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7613">robolectric/robolectric#7613</a></li>
<li>Bump maximum API for GMD to SDK 33 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7614">robolectric/robolectric#7614</a></li>
<li>Remove use-sdk from androidx_test/sharedTest/AndroidManifest.xml by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7615">robolectric/robolectric#7615</a></li>
<li>[Warning] Eliminated AnnotateFormatMethod warnings by <a href="https://github.com/hellosagar"><code>@​hellosagar</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7353">robolectric/robolectric#7353</a></li>
<li>Remove 0x prefix for string format log by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7617">robolectric/robolectric#7617</a></li>
<li>Bump compile/targetSdk to 33 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7616">robolectric/robolectric#7616</a></li>
<li>Remove unused Exception for ShadowActivityTest by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7618">robolectric/robolectric#7618</a></li>
<li>Support Activity setShowWhenLocked() and setTurnScreenOn() by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7438">robolectric/robolectric#7438</a></li>
<li>Exclude kotlin-stdlib dependency from utils generated .pom by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7607">robolectric/robolectric#7607</a></li>
<li>Move dependencies of shadows/framework to gradle.properties by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7627">robolectric/robolectric#7627</a></li>
<li>Bump ASM to 9.3 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7626">robolectric/robolectric#7626</a></li>
<li>Add the ability to deploy specific preinstrumented jars to maven by <a href="https://github.com/hoisie"><code>@​hoisie</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7602">robolectric/robolectric#7602</a></li>
<li>Combine exceptions for ReflectionHelpers#getDeclaredField by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7634">robolectric/robolectric#7634</a></li>
<li>Clean up ShadowAccountManager by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7636">robolectric/robolectric#7636</a></li>
<li>Migrate Gradle dependencies to dependencies.gradle by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7635">robolectric/robolectric#7635</a></li>
<li>Add alternative to Unsafe.defineAnonymousClass by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7633">robolectric/robolectric#7633</a></li>
<li>Support all authentication results for BiometricManager by <a href="https://github.com/charlesng"><code>@​charlesng</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7427">robolectric/robolectric#7427</a></li>
<li>Bump bcprov-jdk15on from 1.68 to 1.70 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7638">robolectric/robolectric#7638</a></li>
<li>Bump constraintlayout from 2.1.3 to 2.1.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7640">robolectric/robolectric#7640</a></li>
<li>Reuse bytecode of ClassWriter for ProxyMaker by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7643">robolectric/robolectric#7643</a></li>
<li>Migrate instance calling in ReflectionHelpers to lambda by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7644">robolectric/robolectric#7644</a></li>
<li>Bump compile-testing from 0.18 to 0.19 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7645">robolectric/robolectric#7645</a></li>
<li>Bump apiCompatVersion from 4.7 to 4.8.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7647">robolectric/robolectric#7647</a></li>
<li>Bump gson from 2.8.6 to 2.9.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7646">robolectric/robolectric#7646</a></li>
<li>Bump core from 1.5.0 to 1.9.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7649">robolectric/robolectric#7649</a></li>
<li>Clean up unused code for ShadowDisplayManagerTest by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7662">robolectric/robolectric#7662</a></li>
<li>Remove unused shadows ShadowCornerPathEffect and ShadowLinearGradient <a href="https://redirect.github.com/robolectric/robolectric/pull/7668">robolectric/robolectric#7668</a></li>
<li>Bump apiCompatVersion from 4.8.2 to 4.9 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7672">robolectric/robolectric#7672</a></li>
<li>Add call to $$robo$init for Jacoco-instrumented constructors <a href="https://redirect.github.com/robolectric/robolectric/pull/7677">robolectric/robolectric#7677</a></li>
<li>Respect ShadowProvider priority when populating the ShadowPicker map <a href="https://redirect.github.com/robolectric/robolectric/pull/7686">robolectric/robolectric#7686</a></li>
<li>Properly parse &amp; populate process information from the manifest. ServiceInfo.processName and ActivityInfo.processName will now correctly reflect the value of the process attribute from their respective manifest entry. <a href="https://redirect.github.com/robolectric/robolectric/pull/7690">robolectric/robolectric#7690</a></li>
<li>Bump autoServiceVersion from 1.0-rc6 to 1.0.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7674">robolectric/robolectric#7674</a></li>
<li>Create an activity context for activities. <a href="https://redirect.github.com/robolectric/robolectric/pull/6481">robolectric/robolectric#6481</a></li>
<li>Remove deprecated Utils#intArrayToList by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7687">robolectric/robolectric#7687</a></li>
<li>Fix configuration/resource handling in activity contexts <a href="https://redirect.github.com/robolectric/robolectric/pull/7692">robolectric/robolectric#7692</a></li>
<li>Add Java source &amp; target compatibility config for preinstrumented by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7664">robolectric/robolectric#7664</a></li>
<li>Update the <code>ResourcesManager</code> configuration when applying qualifiers <a href="https://redirect.github.com/robolectric/robolectric/pull/7697">robolectric/robolectric#7697</a></li>
<li>Replace Config with Implementation <a href="https://redirect.github.com/robolectric/robolectric/pull/7710">robolectric/robolectric#7710</a></li>
<li>Switch to ubuntu-20.04 for GitHub Actions by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7716">robolectric/robolectric#7716</a></li>
<li>Bump errorproneVersion from 2.9.0 to 2.16 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7715">robolectric/robolectric#7715</a></li>
<li>Bump Kotlin to 1.7.10 by <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7497">robolectric/robolectric#7497</a></li>
<li>Upgrade androidx.test and androidx.fragment versions to latest. by <a href="https://github.com/brettchabot"><code>@​brettchabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7683">robolectric/robolectric#7683</a></li>
<li>Bump kotlinVersion from 1.5.20 to 1.7.20 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/robolectric/robolectric/pull/7694">robolectric/robolectric#7694</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="245c8f6405"><code>245c8f6</code></a> Bump version to 4.10.</li>
<li><a href="732290ae0a"><code>732290a</code></a> Merge branch 'google' into 'master'</li>
<li><a href="301c15872c"><code>301c158</code></a> Fix doc typo for ShadowWebview</li>
<li><a href="f8cfc865ab"><code>f8cfc86</code></a> Remove executable flag for some Java files</li>
<li><a href="d2340ee846"><code>d2340ee</code></a> Support partial AppComponentFactory in Robolectric</li>
<li><a href="1d3cdabd68"><code>1d3cdab</code></a> Adjust to future platform changes.</li>
<li><a href="877eb6af09"><code>877eb6a</code></a> Migrate task definations to task.register</li>
<li><a href="45cb893459"><code>45cb893</code></a> Add basic implementation for LocationManager.requestFlush().</li>
<li><a href="40c16eaac4"><code>40c16ea</code></a> Remove unnecessary logic to transform broadcast receiver class names</li>
<li><a href="adb2d07ea0"><code>adb2d07</code></a> Fix AssetManagerTest on android U</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9.2...robolectric-4.10">compare view</a></li>
</ul>
</details>
<br />

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: lblasa

Differential Revision: D45350804

Pulled By: passy

fbshipit-source-id: c3de6d41ec56a52ca76964f0744388d4b84c346d
2023-04-28 03:35:40 -07:00
dependabot[bot]
bbfaae3c09 Bump com.google.protobuf:protobuf-java from 3.21.12 to 3.22.3 (#4686)
Summary:
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.21.12 to 3.22.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="482156c0f9"><code>482156c</code></a> Updating version.json and repo version numbers to: 22.3</li>
<li><a href="69776b0b0e"><code>69776b0</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12457">#12457</a> from deannagarcia/updateDep</li>
<li><a href="553422572d"><code>5534225</code></a> Update UPB dep</li>
<li><a href="21b4fd581f"><code>21b4fd5</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12453">#12453</a> from protocolbuffers/deannagarcia-patch-5</li>
<li><a href="f51da1fe66"><code>f51da1f</code></a> Fix .gitmodules to use the correct absl branch</li>
<li><a href="5ddb1fc609"><code>5ddb1fc</code></a> Remove ODR violation from WKT codegen (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12406">#12406</a>) (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12419">#12419</a>)</li>
<li><a href="f1c7820c9b"><code>f1c7820</code></a> Suppress -Wunused-parameter warning for GCC and clang. (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12355">#12355</a>)</li>
<li><a href="58ecf38aa5"><code>58ecf38</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12303">#12303</a> from protocolbuffers/deannagarcia-patch-4</li>
<li><a href="cb009b29fa"><code>cb009b2</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/12301">#12301</a> from mkruskal-google/cmake-fix</li>
<li><a href="6e624e4f6b"><code>6e624e4</code></a> Add codespell exceptions</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.21.12...v3.22.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.21.12&new-version=3.22.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: lblasa

Differential Revision: D45350815

Pulled By: passy

fbshipit-source-id: d9e74f07e71a031562eac21176027c80b949003c
2023-04-28 03:30:50 -07:00
Pascal Hartig
0afdfdea63 Set up sha256 validation for wrapper (#4704)
Summary:
Just to make sure that nobody injects something in our build chain. Checksum taken from the official website: https://gradle.org/release-checksums/

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

Reviewed By: antonk52

Differential Revision: D45320680

fbshipit-source-id: 2a489264f3c377ef2c6bb4557cb788b4ab19bcc5
2023-04-27 07:42:23 -07:00
Luke De Feo
862592e03d Account for race conditions with stream intercetor
Summary:
Given that stream interceptor is async the folling race conditino could occur.

Frame at time t=0 comes in, we yeild to the event loop while fetching metadata, fetch takes 5 ticks

Frame at time t=1 comes in, we yeild to the event loop but fetch takes 1 tick

At time t=2 the second frame is augmented  and display

At time t=5 the first fetch returns and we display and older frame

This is a simple check to avoid this.

Reviewed By: aigoncharov

Differential Revision: D45314013

fbshipit-source-id: 054e7e6beb52dfbfd94bc9f8ee3d0a758a669f66
2023-04-27 07:28:41 -07:00
Luke De Feo
7ce19f4359 Add static attributes from reduction trace
Summary:
In order to support this the stream inceptor transform nodes now is able to return a list of new meta enties, since these are new attributes we try to mimic what would have happened if they were generated on the client. This makes the rest of the logic downstream simpler

Introduced metadata register, same idea as on the clients.
The attributes available are a mixed bag, will work with blok server to imporove

Reviewed By: antonk52

Differential Revision: D45177781

fbshipit-source-id: 9d761b2f682e7e0fd4710f5b2e9d9d6ff26741fc
2023-04-27 07:28:41 -07:00
Luke De Feo
42963b16ab Subtree Update => Framescan
Summary: This is purely a cosmetic change but more accurately reflects the nature of how we send data from device to desktop. Ie its always an entire frame rather than subtrees. This helps with correctness great Both ios and android are like this and have been for a while.

Reviewed By: lblasa

Differential Revision: D45080088

fbshipit-source-id: 8f68047056c4825b0b1dd89f26c7fa462e2ecb1b
2023-04-27 07:28:41 -07:00
Luke De Feo
47fe0641aa Add error handling for reduciton trace and remove redundent memoization
Summary: We were memoizing the reduction trace fetch in the stream interceptor but this was redundant. We let the library handle that. Also pulled the calls into the uidebugger so we have more control over the retry behaviour

Reviewed By: mweststrate

Differential Revision: D45079132

fbshipit-source-id: 7354fce0fddbebdb0b027dade03398a36adc5e9a
2023-04-27 07:28:41 -07:00
Luke De Feo
4fdfbdc8df Open in IDE for bloks derived components
Summary:
* Added line number as an attribute to node, in theory we could get it from the device in the case of compose
* dont need to use miles as have the file already
* cleaned up naming in ide file resolver so its clear its the qualified name we are talking about

Reviewed By: lblasa

Differential Revision: D45079135

fbshipit-source-id: 24f2d5814800a4a404b680599d307cc750758fcd
2023-04-27 07:28:41 -07:00
Luke De Feo
7cc1a1246e Process Bloks derived components
Reviewed By: lblasa

Differential Revision: D45079131

fbshipit-source-id: 363f5ed2fedc6183130ef0185f8ff5bf58579c10
2023-04-27 07:28:41 -07:00
Luke De Feo
e34f3f4883 Process Bloks Bound tree
Summary:
1. Need to unminify the names from something call the minification map
2. Bloks attributes themselves are already minified. However the uidebugger also has a similar concept in its own metadata so the data we get off the device has been minified twice. To fix this we remap the metadata off the device using the minification map. In order to find the correct entry we need to get the style id of the bloks model parent. this is sent as a metadata custom attribute

Reviewed By: lblasa

Differential Revision: D45079136

fbshipit-source-id: bb448d81918c0b8c9e8ac87c4390b46a8a374d78
2023-04-27 07:28:41 -07:00