Commit Graph

9078 Commits

Author SHA1 Message Date
Andrey Goncharov
c4fbd10e68 Allow handling arbitrary text
Summary:
When a user enters any arbitrary text, we will treat as an input for the search through the entire row.
Based on feedback from https://fb.workplace.com/groups/flippersupport/permalink/1703929480087703/

Reviewed By: lblasa

Differential Revision: D49911868

fbshipit-source-id: 4c569e4b01e468f0ca112ea4b00fe143b30bed2a
2023-10-05 03:54:29 -07:00
Andrey Goncharov
0346dc1120 Add an predicate to search a whole row
Summary:
Allow users to search through the entire row.
Based on feedback from https://fb.workplace.com/groups/flippersupport/permalink/1703929480087703/

Reviewed By: lblasa

Differential Revision: D49911869

fbshipit-source-id: 7bb9816c91b9168d657314b289e3ecc3c237c8d8
2023-10-05 03:54:29 -07:00
Lorenzo Blasa
53eb06a781 Exit if unable to listen at port
Summary: If we are unable to bind to the specified port, exit process.

Reviewed By: passy

Differential Revision: D49908107

fbshipit-source-id: 6d76f3d661ec61867be5307c756e372a7b20a9f6
2023-10-04 05:37:12 -07:00
Lorenzo Blasa
40939e1ae5 Get MacOS dock icon
Summary:
The icon was not shown in the past as it was indefinitely bouncing on the dock.

This is fixed now by asynchronously initiating the Node server process and then waiting until it becomes ready.

Reviewed By: passy

Differential Revision: D49907976

fbshipit-source-id: cdeaa578be42d9f5308e2e0df50872858b8248c3
2023-10-04 05:37:12 -07:00
Lorenzo Blasa
34304300c8 Improved shutdown console log
Summary: One log was misplaced, also added another one.

Reviewed By: passy

Differential Revision: D49873310

fbshipit-source-id: b391e2be600070eb96e6cd53846f5665f8400edc
2023-10-04 05:37:12 -07:00
Pascal Hartig
33f7b976f5 Add migration docs
Summary:
Metamate says:

This diff adds documentation for VPN-less Interngraph requests in Flipper. The changes include adding a new file to the Flipper documentation with information on how to use VPN-less Interngraph requests and updating the sidebar to include the new documentation.

Reviewed By: lblasa

Differential Revision: D49907281

fbshipit-source-id: 9e541e0c6e64215db1c3b899df45d5f9fbdaa0da
2023-10-04 05:14:38 -07:00
Pascal Hartig
4905446697 Update deps
Summary: Update a few selected patch-level deps.

Reviewed By: antonk52

Differential Revision: D49779877

fbshipit-source-id: 5f8da30a3802f4ca516ad20ac223cafce5120ba0
2023-10-03 10:58:10 -07:00
Andrey Goncharov
1e81fe636a Add extraActions fallback to MasterDetai and DataTable
Summary: Old MasterDetail and DataTable (pre-power search) are using `extraActions` prop which no longer exists in teh new components. This diff adds a fallback.

Reviewed By: ivanmisuno

Differential Revision: D49869730

fbshipit-source-id: 4c1a658aa94acc770836f9bf296a3df7d6cdcb3e
2023-10-03 09:13:02 -07:00
generatedunixname89002005306973
9d83697168 Flipper Snapshot Bump: v0.223.1-SNAPSHOT
Summary: Releasing snapshot version 0.223.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D49836322

fbshipit-source-id: beaf064a93887dc97e151279602650898dbbf58a
2023-10-03 03:40:34 -07:00
generatedunixname89002005306973
893584a5d3 Flipper Release: v0.223.0
Summary: Releasing version 0.223.0

Reviewed By: lblasa

Differential Revision: D49836323

fbshipit-source-id: 7f68b7e9716403a664a3839762ea05b7a583920c
2023-10-03 03:40:34 -07:00
Pascal Hartig
5df61010bf Back out "Bump clap from 3.2.25 to 4.4.5 in /packer"
Summary:
Original commit changeset: 9d09d9660dfa

This breaks the build on GitHub.

Original Phabricator Diff: D49772851

Reviewed By: antonk52

Differential Revision: D49829328

fbshipit-source-id: 88f4a29abe148b1427ed9af5bd8b6d0c14066343
2023-10-02 11:05:10 -07:00
Lorenzo Blasa
4d9fb9170d Log endpoint consumption
Summary: ^

Reviewed By: antonk52

Differential Revision: D49830704

fbshipit-source-id: ebec670f85d69abfdc3ff291ba587925f92fcdcf
2023-10-02 10:46:53 -07:00
Lorenzo Blasa
9c80324f5c Fallback port in use
Summary:
If no version information is obtained, check if port is in use.

This is for the cases in which an older server which may not have implemented this endpoint fails to return version information.

In this case, send the shutdown command.

Reviewed By: antonk52

Differential Revision: D49830759

fbshipit-source-id: 6c9763d01f335ecc8a28df3b90d319f98016c2da
2023-10-02 10:46:53 -07:00
Lorenzo Blasa
3c73074e29 Log client disconnect code
Summary: Useful to troubleshoot client disconnections

Reviewed By: antonk52

Differential Revision: D49828632

fbshipit-source-id: 55c7d9e212637cac73bf64e6f3e7516778036015
2023-10-02 08:52:40 -07:00
Lorenzo Blasa
1f2a7f9391 Log HTTP server errors
Summary: Currently, we are not interested in these errors. Let's add some logging as a way of knowing if they take place and why.

Reviewed By: antonk52

Differential Revision: D49828378

fbshipit-source-id: f741a45e1ba9892aa54dca85f97bcc419e0b5e25
2023-10-02 08:52:40 -07:00
Andrey Goncharov
72e6ba2705 Add dedicated operators to handle seriazable objects
Reviewed By: lblasa

Differential Revision: D49828114

fbshipit-source-id: 6846ce7360697806a6a770c1c6f864d162eee528
2023-10-02 08:27:37 -07:00
Andrey Goncharov
010de365fa Allow using whole row for power search
Reviewed By: lblasa

Differential Revision: D49827828

fbshipit-source-id: 93219146ba59074be305eb9a963550223a5abd18
2023-10-02 08:27:37 -07:00
Andrey Goncharov
c27f9c7916 Fallback for empty titles
Summary: Some columns set title to an empty string

Reviewed By: lblasa

Differential Revision: D49826852

fbshipit-source-id: 3661394323dade813295420a1186d9297a8be153
2023-10-02 08:27:37 -07:00
Andrey Goncharov
3c09ac8b2b Enable power search as default experience for users passing GK
Reviewed By: antonk52

Differential Revision: D49822508

fbshipit-source-id: f280f0032a6292fbc8c73a36a8b47e35ffb4e7fd
2023-10-02 08:27:37 -07:00
Andrey Goncharov
84bb47655e Hide unknown value processing behind a GK
Reviewed By: antonk52

Differential Revision: D49822509

fbshipit-source-id: 2228883f8ef16013a63c0d6d69697e32b55cec68
2023-10-02 08:27:37 -07:00
Andrey Goncharov
76918ae4fe Handle unknown values when adding power search to unconfigured columns
Reviewed By: antonk52

Differential Revision: D49822513

fbshipit-source-id: a9c5c6ddc91ac6e7284af045ec673144d9c64906
2023-10-02 08:27:37 -07:00
Andrey Goncharov
4165a1b272 Handle unknown values in string operators
Reviewed By: antonk52

Differential Revision: D49822510

fbshipit-source-id: 4fc22df7af282e93af28bb0e69f70acd805e620b
2023-10-02 08:27:37 -07:00
Andrey Goncharov
8a591a7855 Support handleUnknownValues in default operators
Summary: We treat every column without the power search config as if it contains strings. Sometimes that might bite us, for instance, when the column contains an object.

Reviewed By: lblasa

Differential Revision: D49822511

fbshipit-source-id: 18dadb5abe624fae510663fc26668b2b594899c3
2023-10-02 08:27:37 -07:00
Andrey Goncharov
446147b9fe Split SimpleOperatorConfig
Reviewed By: lblasa

Differential Revision: D49822512

fbshipit-source-id: 82fc6a72cd5ff3b5f9d577baea49367b4f2521fd
2023-10-02 08:27:37 -07:00
Lorenzo Blasa
b4b2f93662 Use RN-only icon on Welcome screen
Summary: ^

Reviewed By: antonk52

Differential Revision: D49827650

fbshipit-source-id: 82e202137dd3e8365c4898e583226410b8ea3645
2023-10-02 08:14:41 -07:00
Lorenzo Blasa
526112a795 Update RN-only icon
Summary: Update asset

Reviewed By: antonk52

Differential Revision: D49827100

fbshipit-source-id: ead5774a3628a5ce2e5ac5d29ec3837386d8758e
2023-10-02 08:14:41 -07:00
Lorenzo Blasa
026d28944c Set RN-only icon for Electron build
Summary:
^

Use this icon for release builds.

Reviewed By: antonk52

Differential Revision: D49823791

fbshipit-source-id: 49bd64e2a630a9ae8bd4c9bf35809526863df202
2023-10-02 05:06:03 -07:00
Lorenzo Blasa
9b283bc729 Add RN-only icon
Summary: Not in use in this diff, but it will be for next diffs.

Reviewed By: antonk52

Differential Revision: D49823258

fbshipit-source-id: 364414d7c37a14c6a166b33b9229e6f874f7f146
2023-10-02 05:06:03 -07:00
Lorenzo Blasa
0d4c9030ff Unsupported modal
Summary: Show an unsupported modal for Electron builds (FB employees only)

Reviewed By: antonk52

Differential Revision: D49770083

fbshipit-source-id: 3616dce3206e976f2fdccd834b2c57748f19fcb0
2023-10-02 05:06:03 -07:00
Lorenzo Blasa
58fe45fc23 No update checkes
Summary: No need to check for updates on Electron builds.

Reviewed By: antonk52

Differential Revision: D49821903

fbshipit-source-id: d836e4254bbe793921bb4a627220fee961c1c402
2023-10-02 05:06:03 -07:00
Lorenzo Blasa
df8a68b7f1 Do not delegate to Launcher
Summary: For the last stable Electron version, do not delegate to Launcher.

Reviewed By: antonk52

Differential Revision: D49821835

fbshipit-source-id: 0a80627cd1da312447b7d98d0351aa8faf2bae89
2023-10-02 05:06:03 -07:00
dependabot[bot]
dbe07b80ad Bump clap from 3.2.25 to 4.4.5 in /packer (#5180)
Summary:
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.25 to 4.4.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p>
<blockquote>
<h2>v4.4.5</h2>
<h2>[4.4.5] - 2023-09-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> When inferring subcommand <code>name</code> or <code>long_flag</code>, allow ambiguous-looking matches that unambiguously map back to the same command</li>
<li><em>(parser)</em> When inferring subcommand <code>long_flag</code>, don't panic</li>
<li><em>(assert)</em> Clarify what action is causing a positional that doesn't set values which is especially useful for derive users</li>
</ul>
<h2>v4.4.4</h2>
<h2>[4.4.4] - 2023-09-18</h2>
<h3>Internal</h3>
<ul>
<li>Update <code>terminal_size</code> to 0.3</li>
</ul>
<h2>v4.4.3</h2>
<h2>[4.4.3] - 2023-09-12</h2>
<h3>Documentation</h3>
<ul>
<li><em>(derive)</em> Clarify use of attributes within the tutorial</li>
<li>Split sections in the builder and derive tutorials into separate modules</li>
</ul>
<h2>v4.4.2</h2>
<h2>[4.4.2] - 2023-08-31</h2>
<h3>Performance</h3>
<ul>
<li>Improve build times by removing <code>once_cell</code> dependency</li>
</ul>
<h2>v4.4.1</h2>
<h2>[4.4.1] - 2023-08-28</h2>
<h3>Features</h3>
<ul>
<li>Stabilize <code>Command::styles</code></li>
</ul>
<h2>v4.3.24</h2>
<h2>[4.3.24] - 2023-08-23</h2>
<h3>Fixes</h3>
<ul>
<li>Ensure column padding is preserved in <code>--help</code> with custom templates</li>
</ul>
<h2>v4.3.23</h2>
<h2>[4.3.23] - 2023-08-18</h2>
<h3>Fixes</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p>
<blockquote>
<h2>[4.4.5] - 2023-09-25</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> When inferring subcommand <code>name</code> or <code>long_flag</code>, allow ambiguous-looking matches that unambiguously map back to the same command</li>
<li><em>(parser)</em> When inferring subcommand <code>long_flag</code>, don't panic</li>
<li><em>(assert)</em> Clarify what action is causing a positional that doesn't set values which is especially useful for derive users</li>
</ul>
<h2>[4.4.4] - 2023-09-18</h2>
<h3>Internal</h3>
<ul>
<li>Update <code>terminal_size</code> to 0.3</li>
</ul>
<h2>[4.4.3] - 2023-09-12</h2>
<h3>Documentation</h3>
<ul>
<li><em>(derive)</em> Clarify use of attributes within the tutorial</li>
<li>Split sections in the builder and derive tutorials into separate modules</li>
</ul>
<h2>[4.4.2] - 2023-08-31</h2>
<h3>Performance</h3>
<ul>
<li>Improve build times by removing <code>once_cell</code> dependency</li>
</ul>
<h2>[4.4.1] - 2023-08-28</h2>
<h3>Features</h3>
<ul>
<li>Stabilize <code>Command::styles</code></li>
</ul>
<h2>[4.4.0] - 2023-08-24</h2>
<h3>Compatibility</h3>
<ul>
<li>Update MSRV to 1.70.0</li>
</ul>
<h2>[4.3.24] - 2023-08-23</h2>
<h3>Fixes</h3>
<ul>
<li>Ensure column padding is preserved in <code>--help</code> with custom templates</li>
</ul>
<h2>[4.3.23] - 2023-08-18</h2>
<h3>Fixes</h3>
<ul>
<li>Fixed <code>UnknownArgumentValueParser</code> to not error on flag's absence</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c298f6a52c"><code>c298f6a</code></a> chore: Release</li>
<li><a href="463d6c52af"><code>463d6c5</code></a> docs: Update changelog</li>
<li><a href="3ac44040ef"><code>3ac4404</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5025">https://github.com/facebook/flipper/issues/5025</a> from SUPERCILEX/resolve-alias-conflicts</li>
<li><a href="a76789eb8b"><code>a76789e</code></a> fix: Make long subcommand flag inference consistent</li>
<li><a href="c2b8ec3bd3"><code>c2b8ec3</code></a> fix: Resolve conflicting name inference if from aliases</li>
<li><a href="e5c6993cca"><code>e5c6993</code></a> test: Long flags inference</li>
<li><a href="0d9b14fa6e"><code>0d9b14f</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5136">https://github.com/facebook/flipper/issues/5136</a> from epage/panic</li>
<li><a href="221177b9cb"><code>221177b</code></a> fix(assert): Call out the action in positional assert</li>
<li><a href="cb2d2bcf07"><code>cb2d2bc</code></a> chore: Update from '_rust/main'</li>
<li><a href="4173c8f476"><code>4173c8f</code></a> chore(ci): Don't set patch for MSRV</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.2.25...v4.4.5">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `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/5180

Reviewed By: lawrencelomax

Differential Revision: D49772851

Pulled By: passy

fbshipit-source-id: 9d09d9660dfac85a5246817e412eba164c34f81d
2023-09-29 11:48:12 -07:00
Luke De Feo
4d7b017430 Use antd icon
Summary:
the glyph isnt working and need to get it fixed asap

changelog: UIDebugger fix icon for litho event timeline tab

Reviewed By: ivanmisuno

Differential Revision: D49780805

fbshipit-source-id: 832746237a43552171cd8e0bd3063318159279dd
2023-09-29 11:21:05 -07:00
Lorenzo Blasa
896c001711 Add a new asset that can be used as the main Flipper screenshot
Summary:
^

Currently, it is a duplicate of the ui-debugger documentation image. The idea is creating this asset, for which we can obtain a URL, which can then be freely updated as we see fit.

Reviewed By: passy

Differential Revision: D49770514

fbshipit-source-id: 77a891c92e6aa803ad08a9b909ffd23d6a61c5a0
2023-09-29 09:13:17 -07:00
Lorenzo Blasa
e38f94d254 Update docs image
Summary: ^

Reviewed By: LukeDefeo

Differential Revision: D49770479

fbshipit-source-id: 1810e2c123f16dc79123f4bd9229404351d23407
2023-09-29 09:13:17 -07:00
Luke De Feo
a748a1c2a2 Accessibility mode tweaks
Summary:
The run through indexes could be cut off when they were elements that touched the left edge of the screen.

If label was complete obscured when it was on the top left

Also index 0 was missing

changelog: UIDebugger: improvements to iOS Accessibility mode

Reviewed By: zats

Differential Revision: D49704398

fbshipit-source-id: cb069857a9175f2c1a8157f41fe6d83fb96f795d
2023-09-29 09:03:38 -07:00
github-actions[bot]
62c2814c88 Automated: Update Podfile.lock (#5179)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

Reviewed By: lblasa

Differential Revision: D49641870

Pulled By: passy

fbshipit-source-id: 2b5ce1a42cac07d5cdc454a411ebea851d63bba8
2023-09-28 08:54:58 -07:00
dependabot[bot]
88c9203bce Bump serde_json from 1.0.106 to 1.0.107 in /packer (#5154)
Summary:
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.106 to 1.0.107.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.107</h2>
<ul>
<li>impl IntoDeserializer for &amp;RawValue (<a href="https://redirect.github.com/serde-rs/json/issues/1071">https://github.com/facebook/flipper/issues/1071</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b6e113f203"><code>b6e113f</code></a> Release 1.0.107</li>
<li><a href="00626a0a95"><code>00626a0</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1073">https://github.com/facebook/flipper/issues/1073</a> from dtolnay/rawvalue</li>
<li><a href="b9d296f87d"><code>b9d296f</code></a> IntoDeserializer for &amp;RawValue</li>
<li><a href="4ea34a2566"><code>4ea34a2</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1072">https://github.com/facebook/flipper/issues/1072</a> from dtolnay/rawvalue</li>
<li><a href="fe30766ae5"><code>fe30766</code></a> Support deserializing from &amp;RawValue</li>
<li><a href="2c22077f0e"><code>2c22077</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/json/issues/1062">https://github.com/facebook/flipper/issues/1062</a> from osiewicz/remove_build_rs</li>
<li><a href="04f7758b6e"><code>04f7758</code></a> fixup! chore: Remove no_btreemap_get_key_value and no_btreemap_remove_entry.</li>
<li><a href="83bdc5fd42"><code>83bdc5f</code></a> Omit return keyword in <code>remove_entry</code></li>
<li><a href="89a2741956"><code>89a2741</code></a> Revert &quot;Remove limb_width32 and limb_width64 features&quot;</li>
<li><a href="16e04ceedd"><code>16e04ce</code></a> fixup! Remove limb_width32 and limb_width64 features</li>
<li>See full diff in <a href="https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.106&new-version=1.0.107)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `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/5154

Reviewed By: ivanmisuno

Differential Revision: D49641876

Pulled By: passy

fbshipit-source-id: 0c5a3ed4b3ed10fd5d52ecbd8f885166d568d513
2023-09-28 08:17:05 -07:00
dependabot[bot]
cc656a3ee0 Bump rayon from 1.7.0 to 1.8.0 in /packer (#5172)
Summary:
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.8.0 / rayon-core 1.12.0 (2023-09-20)</h1>
<ul>
<li>The minimum supported <code>rustc</code> is now 1.63.</li>
<li>Added <code>ThreadPoolBuilder::use_current_thread</code> to use the builder thread as
part of the new thread pool. That thread does not run the pool's main loop,
but it may participate in work-stealing if it yields to rayon in some way.</li>
<li>Implemented <code>FromParallelIterator&lt;T&gt;</code> for <code>Box&lt;[T]&gt;</code>, <code>Rc&lt;[T]&gt;</code>, and
<code>Arc&lt;[T]&gt;</code>, as well as <code>FromParallelIterator&lt;Box&lt;str&gt;&gt;</code> and
<code>ParallelExtend&lt;Box&lt;str&gt;&gt;</code> for <code>String</code>.</li>
<li><code>ThreadPoolBuilder::build_scoped</code> now uses <code>std::thread::scope</code>.</li>
<li>The default number of threads is now determined using
<code>std::thread::available_parallelism</code> instead of the <code>num_cpus</code> crate.</li>
<li>The internal logging facility has been removed, reducing bloat for all users.</li>
<li>Many smaller performance tweaks and documentation updates.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21e1ae1e12"><code>21e1ae1</code></a> Release rayon 1.4.0 / rayon-core 1.8.0</li>
<li><a href="a0e5833b76"><code>a0e5833</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/785">https://github.com/facebook/flipper/issues/785</a> <a href="https://redirect.github.com/rayon-rs/rayon/issues/790">https://github.com/facebook/flipper/issues/790</a> <a href="https://redirect.github.com/rayon-rs/rayon/issues/791">https://github.com/facebook/flipper/issues/791</a></li>
<li><a href="9f7357befb"><code>9f7357b</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/792">https://github.com/facebook/flipper/issues/792</a></li>
<li><a href="998f134242"><code>998f134</code></a> Removed outdated documentation</li>
<li><a href="c7d963a9c2"><code>c7d963a</code></a> Use crossbeam_deque::Injector instead of crossbeam_queue::SegQueue</li>
<li><a href="2e889293a8"><code>2e88929</code></a> Micro-optimize the WorkerThread::steal loop</li>
<li><a href="66559fe9ce"><code>66559fe</code></a> Remove the lifetime constraint from the scope OP</li>
<li><a href="09428ec11d"><code>09428ec</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/746">https://github.com/facebook/flipper/issues/746</a></li>
<li><a href="ed6a5f75c4"><code>ed6a5f7</code></a> Update ci/compat-Cargo.lock</li>
<li><a href="96ba9ef188"><code>96ba9ef</code></a> inline more Counter methods</li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon&package-manager=cargo&previous-version=1.7.0&new-version=1.8.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `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/5172

Reviewed By: lblasa

Differential Revision: D49725788

Pulled By: passy

fbshipit-source-id: 5798c7c8bd831acd2291fc07628cc3005ab8f703
2023-09-28 04:57:21 -07:00
dependabot[bot]
9144b18e50 Bump indicatif from 0.17.6 to 0.17.7 in /packer (#5173)
Summary:
Bumps [indicatif](https://github.com/console-rs/indicatif) from 0.17.6 to 0.17.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/console-rs/indicatif/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=indicatif&package-manager=cargo&previous-version=0.17.6&new-version=0.17.7)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `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/5173

Reviewed By: lblasa

Differential Revision: D49725790

Pulled By: passy

fbshipit-source-id: e9fea2896eb6fc927d1493ae017404e6fbd1e9f9
2023-09-28 04:54:02 -07:00
Sash Zats
d46a301929 Add custom actions to flipper inspector
Summary:
Now when we are simulating device running in VoiceOver mode while showing accessiblity hierarchy in flipper, we are getting correct hierarchy + getting production-like custom actions,

Instagram + Facebook feed is a good example of using accessiblity actions to avoid exposing individual buttons

Reviewed By: lblasa

Differential Revision: D49641875

fbshipit-source-id: 1153ec3bffc7110c4bfe702cbb5a6b729d91b9a3
2023-09-27 07:38:38 -07:00
Lorenzo Blasa
cb86f0f90b Log download/unpack errors
Summary: ^

Reviewed By: ivanmisuno

Differential Revision: D49637030

fbshipit-source-id: 0e9925bd435e7843a57d6a8917f8da4e5e35640c
2023-09-27 03:34:01 -07:00
Luke De Feo
708db9003a Fix broken icon
Summary: it isnt showing up in prod,

Reviewed By: lblasa

Differential Revision: D49639706

fbshipit-source-id: 952a4580ecb102f8a765d63c702e80ae384b88a7
2023-09-26 09:38:07 -07:00
Lorenzo Blasa
7048c470b2 Add flipper-server tag to log
Summary: ^

Reviewed By: passy

Differential Revision: D49594331

fbshipit-source-id: 9bf8c65274a92d6f505c92572135b5f803b4a336
2023-09-26 08:47:43 -07:00
Lorenzo Blasa
d971820609 Improve node export
Summary: ^

Reviewed By: antonk52

Differential Revision: D49634301

fbshipit-source-id: a7e27d3f370a17f5eb3740772f572135e586e0c7
2023-09-26 04:38:59 -07:00
Lorenzo Blasa
6e97e73cf1 Better shutdown
Summary: ^

Reviewed By: ivanmisuno

Differential Revision: D49593599

fbshipit-source-id: 196e98653cc0cdda4fdf11e366e5d3ab5debe6e2
2023-09-25 09:59:24 -07:00
Lorenzo Blasa
1c4224d716 Running/shutdown utilities
Summary: Create utilities to check for existing running instances and shutdown.

Reviewed By: ivanmisuno

Differential Revision: D49593321

fbshipit-source-id: 10acdb4f340f2f24f9ebd3203153906b34623178
2023-09-25 08:46:43 -07:00
Lorenzo Blasa
c1b0d9d753 Export node as JSON
Summary:
There has been multiple requests to incorporate an export to plain text functionality for a while.

This diff adds it.

It will export a node and optionally its chidren as JSON.

Reviewed By: antonk52

Differential Revision: D49596476

fbshipit-source-id: 3681bc0c2d02e1ea64ff589e0e272f6d54ad0524
2023-09-25 08:44:37 -07:00
generatedunixname89002005306973
5accf039c9 Flipper Snapshot Bump: v0.222.1-SNAPSHOT
Summary: Releasing snapshot version 0.222.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D49593014

fbshipit-source-id: 2a0be972b3e216c0fece50fadc6b63817063564c
2023-09-25 06:30:50 -07:00
generatedunixname89002005306973
6b9adfe130 Flipper Release: v0.222.0
Summary: Releasing version 0.222.0

Reviewed By: lblasa

Differential Revision: D49593015

fbshipit-source-id: 9fd4b4f42134f2fb244ddeabff6b83748151e36a
2023-09-25 06:30:50 -07:00