Commit Graph

9266 Commits

Author SHA1 Message Date
dependabot[bot]
1a4c602fd8 Bump serde from 1.0.188 to 1.0.193 in /packer (#5311)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.193.
<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.193</h2>
<ul>
<li>Fix field names used for the deserialization of <code>RangeFrom</code> and <code>RangeTo</code> (<a href="https://redirect.github.com/serde-rs/serde/issues/2653">https://github.com/facebook/flipper/issues/2653</a>, <a href="https://redirect.github.com/serde-rs/serde/issues/2654">https://github.com/facebook/flipper/issues/2654</a>, <a href="https://redirect.github.com/serde-rs/serde/issues/2655">https://github.com/facebook/flipper/issues/2655</a>, thanks <a href="https://github.com/emilbonnek"><code>@​emilbonnek</code></a>)</li>
</ul>
<h2>v1.0.192</h2>
<ul>
<li>Allow internal tag field in untagged variant (<a href="https://redirect.github.com/serde-rs/serde/issues/2646">https://github.com/facebook/flipper/issues/2646</a>, thanks <a href="https://github.com/robsdedude"><code>@​robsdedude</code></a>)</li>
</ul>
<h2>v1.0.191</h2>
<ul>
<li>Documentation improvements</li>
</ul>
<h2>v1.0.190</h2>
<ul>
<li>Preserve NaN sign when deserializing f32 from f64 or vice versa (<a href="https://redirect.github.com/serde-rs/serde/issues/2637">https://github.com/facebook/flipper/issues/2637</a>)</li>
</ul>
<h2>v1.0.189</h2>
<ul>
<li>Fix &quot;cannot infer type&quot; error when internally tagged enum contains untagged variant (<a href="https://redirect.github.com/serde-rs/serde/issues/2613">https://github.com/facebook/flipper/issues/2613</a>, thanks <a href="https://github.com/ahl"><code>@​ahl</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="44613c7d01"><code>44613c7</code></a> Release 1.0.193</li>
<li><a href="c706281df3"><code>c706281</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2655">https://github.com/facebook/flipper/issues/2655</a> from dtolnay/rangestartend</li>
<li><a href="65d75b8fe3"><code>65d75b8</code></a> Add RangeFrom and RangeTo tests</li>
<li><a href="332b0cba40"><code>332b0cb</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2654">https://github.com/facebook/flipper/issues/2654</a> from dtolnay/rangestartend</li>
<li><a href="8c4af41296"><code>8c4af41</code></a> Fix more RangeFrom / RangeEnd mixups</li>
<li><a href="24a78f071b"><code>24a78f0</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2653">https://github.com/facebook/flipper/issues/2653</a> from emilbonnek/fix/range-to-from-de-mixup</li>
<li><a href="c91c33436d"><code>c91c334</code></a> Fix Range{From,To} deserialize mixup</li>
<li><a href="2083f43a28"><code>2083f43</code></a> Update ui test suite to nightly-2023-11-19</li>
<li><a href="4676abdc9e"><code>4676abd</code></a> Release 1.0.192</li>
<li><a href="35700eb23e"><code>35700eb</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2646">https://github.com/facebook/flipper/issues/2646</a> from robsdedude/fix/2643/allow-tag-field-in-untagged</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.193">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.188&new-version=1.0.193)](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/5311

Reviewed By: mweststrate

Differential Revision: D51588875

Pulled By: passy

fbshipit-source-id: 14d7861ca16790b353f4a9d3bfd09750366080ea
2023-11-28 03:47:27 -08:00
Anton Kastritskiy
3b1763bd7d explicit instructions for idb
Summary: Add explicit instructions how to install idb internally

Reviewed By: LukeDefeo

Differential Revision: D51600754

fbshipit-source-id: c40d5d07c4cb570a7c51699ce0e4b8a67c506147
2023-11-28 03:40:23 -08:00
Anton Kastritskiy
4e10bb1b43 Back out "remove shortcuts"
Summary:
Original commit changeset: fbb59b416f92

Original Phabricator Diff: D51159922

Reviewed By: lblasa

Differential Revision: D51586735

fbshipit-source-id: 3317b590ec72e0040a67be41e74ddb5a72722598
2023-11-27 15:33:57 -08:00
Anton Kastritskiy
d8f507dba0 Back out "remove all mentions of metro from flipper-ui-core"
Summary:
Original commit changeset: edc33c2b989e

Original Phabricator Diff: D51200129

Reviewed By: lblasa

Differential Revision: D51586736

fbshipit-source-id: e81355f7a0f0533ebc47f4cfc6c40af4865dbad0
2023-11-27 15:33:57 -08:00
Anton Kastritskiy
244573abe3 Back out "remove metro button"
Summary:
Original commit changeset: ebd844a57b0b

Original Phabricator Diff: D51199560

Reviewed By: lblasa

Differential Revision: D51586734

fbshipit-source-id: dfb37d4a6f6bd03da96ab17cd4af8e43de2b0f07
2023-11-27 15:33:57 -08:00
Pascal Hartig
a9c5dd746a Store plugin ID
Summary:
We need the build ID from GraphQL to fetch the download VPN off-VPN.

Changelog: Plugin Marketplace now stores a unique ID per build

Reviewed By: LukeDefeo

Differential Revision: D51525419

fbshipit-source-id: d6740b3c4724d15cc996155b6e7581b0f16a9da6
2023-11-27 09:04:07 -08:00
Anton Kastritskiy
ce5527513e only simulators in "Virtual device"
Summary: Currently if you plug in a physical iOS device via USB, flipper will show it to you in "Virtual device menu". See "ak iphone mini" in the test plan. This diff ensures that we only show virtual device in this menu.

Reviewed By: lblasa

Differential Revision: D51588117

fbshipit-source-id: e2853a6b34ed3fe6d821a9c504b9ffd19e4074fa
2023-11-27 08:42:12 -08:00
Lorenzo Blasa
2318bffd07 Built artifact is already universal, no architecture is needed
Summary: ^

Reviewed By: antonk52

Differential Revision: D51568857

fbshipit-source-id: 124d77e4dd175a13f491f8242b3a28a898ff5670
2023-11-27 06:23:06 -08:00
Lorenzo Blasa
5e26d863f1 Packaging changes
Summary:
This change has a few changes in the way our MacOS app was built and packaged.

- Instead of placing the Node binary inside the MacOS folder, place it inside the Resources folder. This is more in compliance with how an app is bundled. Also, with the added benefit of making it a resource which makes it eligible for code signing.
- Both, Node binary and server bundle are placed in the right location before building the MacOS app. By doing this, we ensure the app is not modified after the built process which messes up with code signing, if in place.

Reviewed By: antonk52

Differential Revision: D51568778

fbshipit-source-id: 0b1b0ad9947550ddf0f6d4b04e5aff41f7edcdee
2023-11-27 04:55:05 -08:00
Lorenzo Blasa
d22d362c31 Codesign capabilities
Summary:
Add codesign capabilities to Flipper Server Cocoa app.

Also, push the version to the build step instead of overriding once built. Otherwise, the Info.plist will be marked as 'being tampered with'.

Note: we are still not using the signing, but the capability is there.

Reviewed By: antonk52

Differential Revision: D51547008

fbshipit-source-id: 33abcd2fce33a7daf2ae8941b54989dba82fc0e3
2023-11-27 04:55:05 -08:00
Andrey Goncharov
72a92e1380 Shutdown Flipper when new version is downloaded
Reviewed By: passy

Differential Revision: D51527986

fbshipit-source-id: d4cf1ec82070821afff5c9cdee5a85cb1421a7ef
2023-11-23 04:08:07 -08:00
Andrey Goncharov
685a0e53d7 Add command to fetch new Flipper version
Summary: It is a copy-paste of what we have in jest-e2e

Reviewed By: passy

Differential Revision: D51527040

fbshipit-source-id: 36b62edee006580023e9ce2cd309dddfd0dbce84
2023-11-23 04:08:07 -08:00
Anton Kastritskiy
4477f3b550 Update esbuild
Summary:
Update esbuild to the latest version that is backward compatible to the current version.

Specifically I was looking for a version that adds support for the typescript's `satisfies` feature [0.15.3](https://github.com/evanw/esbuild/releases/tag/v0.15.13)

Reviewed By: passy

Differential Revision: D51537364

fbshipit-source-id: 6fb8f01ee7b4d19db048d03277be6b6642124002
2023-11-23 02:56:07 -08:00
dependabot[bot]
b908ab50ac Bump com.google.protobuf:protobuf-java from 3.23.4 to 3.25.1 (#5300)
Summary:
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.23.4 to 3.25.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="7f94235e55"><code>7f94235</code></a> Updating version.json and repo version numbers to: 25.1</li>
<li><a href="e4b00c75ec"><code>e4b00c7</code></a> Add support for extensions in CRuby, JRuby, and FFI Ruby (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14703">#14703</a>) (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14756">#14756</a>)</li>
<li><a href="2495d4f96b"><code>2495d4f</code></a> Add support for options in CRuby, JRuby and FFI (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14594">#14594</a>) (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14739">#14739</a>)</li>
<li><a href="a29f47df0f"><code>a29f47d</code></a> Bump mac PHP version to 8.2 to fix non-hermetic breakages. (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14741">#14741</a>)</li>
<li><a href="f36432a6d1"><code>f36432a</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14674">#14674</a> from anandolee/25.x</li>
<li><a href="74f5cf4106"><code>74f5cf4</code></a> Raise warnings for python syntax usages</li>
<li><a href="edb1afd049"><code>edb1afd</code></a> Move python/BUILD to python/BUILD.bazel (<a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14658">#14658</a>)</li>
<li><a href="666689e0f7"><code>666689e</code></a> Merge pull request <a href="https://redirect.github.com/protocolbuffers/protobuf/issues/14620">#14620</a> from protocolbuffers/win2019-25.x</li>
<li><a href="1577c305cf"><code>1577c30</code></a> Error on staleness failure</li>
<li><a href="1155c804ef"><code>1155c80</code></a> Update <code>cc_file_list_aspect</code> to handle targets with missing <code>hdrs/textual_hdrs</code></li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.23.4...v3.25.1">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.23.4&new-version=3.25.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 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/5300

Reviewed By: antonk52

Differential Revision: D51525558

Pulled By: passy

fbshipit-source-id: df9f980c75af74e622cc3a899c5a53684ffd8b90
2023-11-22 07:05:56 -08:00
Andrey Goncharov
5693ac7205 Disconnect all mobile clients when all UI clients leave
Summary: Context https://fb.workplace.com/groups/flippersupport/permalink/1730762380737746/

Reviewed By: lblasa

Differential Revision: D51510348

fbshipit-source-id: afafcdd6b89bf1038fec65a7c3e8c2dd9cfd0768
2023-11-22 02:59:27 -08:00
Andrey Goncharov
1c706b52bc Add an empty line for a term finder only when it is absolutely necessary
Reviewed By: mweststrate

Differential Revision: D51507094

fbshipit-source-id: cb5e18ab702f60ebbf2e5573180fd21299371139
2023-11-21 12:48:27 -08:00
Andrey Goncharov
88d8567310 Align buttons to the top
Reviewed By: mweststrate

Differential Revision: D51506570

fbshipit-source-id: 5fc52b214eb61f5da0c3417016e87a79866d4506
2023-11-21 12:48:27 -08:00
Andrey Goncharov
0425dfd4e5 Add vertical spacing in multiline mode
Reviewed By: mweststrate

Differential Revision: D51505906

fbshipit-source-id: 6cbf94173d404077de1f8d7c764d91799e25404c
2023-11-21 12:48:27 -08:00
Andrey Goncharov
202e6b6148 Fix autocomplete for Logs plugin
Summary: It was a typo before

Reviewed By: passy

Differential Revision: D51502529

fbshipit-source-id: c4ed789b382301ba9e183e5dd7a491592efd22dd
2023-11-21 11:40:23 -08:00
Andrey Goncharov
294f39eceb Allow freeform entries for enum terms
Summary: Solves https://fb.workplace.com/groups/flippersupport/posts/1726178417862809/?comment_id=1726429847837666&reply_comment_id=1730206487460002

Reviewed By: passy

Differential Revision: D51497924

fbshipit-source-id: d0737b2b82f29ff8ae654e7cad2ef1daa8244756
2023-11-21 11:40:23 -08:00
Pascal Hartig
864e296f35 Recover from corrupted config.json
Summary: This has caused a few tasks to be raised. We do replace broken configs with a fresh template elsewhere, but we shouldn't throw in this place since we have a fallback.

Reviewed By: antonk52

Differential Revision: D51393314

fbshipit-source-id: 8c04946c5b0e74f5f0d42c9492aa381aa608fd35
2023-11-21 10:30:06 -08:00
Andrey Goncharov
877253191d Support multi-line wrapping for long queries / small screens
Reviewed By: antonk52

Differential Revision: D51497340

fbshipit-source-id: 23bcc9a69c3e59e17ee9505c954c955f2a1c9e5f
2023-11-21 07:56:19 -08:00
Andrey Goncharov
7e2508f045 Fix server dummy timeout value
Summary: It has to fit in 32 bit int

Reviewed By: lblasa

Differential Revision: D51478071

fbshipit-source-id: c4512e946c3e47bc235920b133d9f6c739c5ac76
2023-11-21 04:13:12 -08:00
Andrey Goncharov
fb37f27ff5 Suport device-open-app command
Summary: It is an escape hatch for testing iOS Sample app if `navigate('/')` cannot be made to work easily (D51394323)

Reviewed By: lblasa

Differential Revision: D51466697

fbshipit-source-id: fd6c2f37504807b4b634b85cb10e837523dadba8
2023-11-20 07:14:09 -08:00
Anton Kastritskiy
387d546e77 inconsistent right padding
Summary: There is too much padding on the right wether right sidebar open or not, this fixes it

Reviewed By: lblasa

Differential Revision: D51428892

fbshipit-source-id: 6fa9b0c06ddf32c32d162a7fd2bd765e8996c00a
2023-11-17 10:06:47 -08:00
Lorenzo Blasa
ec9bc8a29f Avoid template copy
Summary:
As mentioned on the previous diff, we no longer use a pre-built template when creating a release build.

This change moves the built binary directly into place instead of updating the existing template after which it was moved to its final destination.

Reviewed By: antonk52

Differential Revision: D51424944

fbshipit-source-id: 284fb53bb5f00f92b3ca9db3b28cfd1e4dacfa19
2023-11-17 05:51:47 -08:00
Lorenzo Blasa
e3038a3393 MacOS app to be built on each release build
Summary:
So far we have used a 'template' approach, in which the release build script will copy and use to create the final deliverable.

The template itself was updated locally by running:
    cd ~/fbsource/xplat/sonar/facebook/flipper-server
    yarn start

This would:
- Build the MacOS app for all supported architectures: x64 and arm64
- Update the template found on the static directory

After the update, we would just commit the changes to the repo.

## About this change
Instead, build the MacOS app when the release script is used. This is leaves way less margin for error as we have removed all the manual steps that had to be done as listed above.

Reviewed By: antonk52

Differential Revision: D51397661

fbshipit-source-id: 2234c9996fa98f32db244764acf3e35dc9a388c9
2023-11-17 05:51:47 -08:00
Andrey Goncharov
b9fa86e77f Fix filter from selection
Reviewed By: LukeDefeo

Differential Revision: D51425090

fbshipit-source-id: 53dda8f65d2e8d17468903c20e88d45038e65be1
2023-11-17 05:31:25 -08:00
Luke De Feo
bf67b19c4a Allow searching on inline attribute keys
Summary: useful for bloks debugging

Reviewed By: lblasa

Differential Revision: D51349211

fbshipit-source-id: a11eca19bdecf989ceb6a95e9a3cb504020c7467
2023-11-17 04:18:41 -08:00
Luke De Feo
288e8e2d48 Make search expand relevant nodes
Summary:
Previously we were searching the tree nodes which did not include all nodes since if a not was not expanded it isnt in the tree node list, so now we expand first then find the first tree node that matches

changelog: UIDebugger search now expands matching elements

Reviewed By: lblasa

Differential Revision: D51349213

fbshipit-source-id: 4eef436781ed6ec23187d1aec7633ee4b959d3fa
2023-11-17 04:18:41 -08:00
Luke De Feo
dd9279bf7a Bloks debugger state deeplink from UIDebugger
Summary:
This adds a deeplink into bloks debugger from uidebugger for state events

changelog: UIDebugger - show bloks state & deeplink to bloks debugger

Reviewed By: lblasa

Differential Revision: D51349212

fbshipit-source-id: 6f7ca826228ce11a01fe5eb197f6ce092d2757a9
2023-11-17 04:18:41 -08:00
Andrey Goncharov
e225d9e1c3 Bring back RatingButton
Summary: Removed previously during redesign by mistake

Reviewed By: antonk52

Differential Revision: D51347837

fbshipit-source-id: d634ad4c8983271a3936f458cabb63f006a4bb0a
2023-11-17 03:34:58 -08:00
generatedunixname89002005306973
ace3626938 Flipper Snapshot Bump: v0.239.1-SNAPSHOT
Summary: Releasing snapshot version 0.239.1-SNAPSHOT

Reviewed By: aigoncharov

Differential Revision: D51393963

fbshipit-source-id: 96a5ffd64465c0391694707fb8d5d14992807ea1
2023-11-16 05:36:45 -08:00
generatedunixname89002005306973
7fa24636ca Flipper Release: v0.239.0
Summary: Releasing version 0.239.0

Reviewed By: aigoncharov

Differential Revision: D51393961

fbshipit-source-id: ce286c17042b59b227396bbd2c22f0d0257edcd2
2023-11-16 05:36:45 -08:00
Andrey Goncharov
d515342526 Add FlipperServerDisconnectedError to prevent excessive error logging
Reviewed By: passy

Differential Revision: D51393196

fbshipit-source-id: f49857b397a3fb629ad44f89a4c59b12ba2f67c4
2023-11-16 04:18:41 -08:00
Andrey Goncharov
7c972a982a Fix plugin backward compatibility
Reviewed By: lblasa

Differential Revision: D51391318

fbshipit-source-id: f4cd42077bbd358bda30860659e845fa0ee8e845
2023-11-16 03:14:11 -08:00
Andrey Goncharov
edc46dc2b1 Fix resetFilters not resetting power search
Reviewed By: antonk52

Differential Revision: D51351225

fbshipit-source-id: 4f0406b047ed1cc44d7de54976db2a422b07b7c0
2023-11-15 07:30:47 -08:00
Luke De Feo
39d84e3bfc Fix occasional scrollbars
Summary:
Sometimes after a while scroll bars woudl start to appear in the text areas like so
{F1150744703}

Its hard to repro but seemed to be after flipper was open for a long period. Playing with chrome dev tools setting overflow: hidden makes the problem go away

changelog: UIDebugger fix issue with scrollbars sometimes appearing in sidebar

Reviewed By: antonk52

Differential Revision: D51346366

fbshipit-source-id: 2d9218ac582164c9726a92c3c0c99567382f8929
2023-11-15 05:09:56 -08:00
Andrey Goncharov
bfc4e959bc Export power search enabled components and types by default
Summary: Provides power search typings to all users by default

Reviewed By: LukeDefeo

Differential Revision: D51306600

fbshipit-source-id: c1f0d318d8b6953dd02af16d2c51abbf0e6e9590
2023-11-15 05:00:21 -08:00
Andrey Goncharov
b34718ac32 Extend docs
Reviewed By: antonk52

Differential Revision: D51305961

fbshipit-source-id: a4ca7365def6ebf43b84668f63887cc81f82fb36
2023-11-15 05:00:21 -08:00
Andrey Goncharov
f01568bf59 Prevent duplicate browser connection reporting
Reviewed By: lblasa

Differential Revision: D51347107

fbshipit-source-id: 14f4507835794d76b17f9a6891f22dbc0cc1a8f7
2023-11-15 04:22:11 -08:00
Andrey Goncharov
ed7a7f7bd0 Fix processExit
Summary: setTimeout should terminate process if graceful termination takes too long. Before, we scheduled the timer only *after* the graceful termination completes which does not make any sense

Reviewed By: lblasa

Differential Revision: D51346673

fbshipit-source-id: b5adadbcf474a8c66839e1fc70bcc6482c47635e
2023-11-15 03:46:46 -08:00
Lorenzo Blasa
6ccae92918 PWA for development
Summary: This was not possible in the past because the entry points for dev and production were different. This is no longer the case.

Reviewed By: antonk52

Differential Revision: D51346250

fbshipit-source-id: fc482a9d90352ea4e897092e7670920f148fa274
2023-11-15 03:45:25 -08:00
Lorenzo Blasa
6b54bd3173 Remove no longer needed index.web.dev.html
Summary: This is a duplicate, is not needed, causes confusion.

Reviewed By: aigoncharov

Differential Revision: D51307091

fbshipit-source-id: 4d55d727ea5f20100ecd15ad6e23aa0c01722524
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
f1b35ca592 Make HTML entry points identical
Summary: Make both prod and dev HTML entry points identical.

Reviewed By: aigoncharov

Differential Revision: D51307116

fbshipit-source-id: 5aea8e455d623aba260e3e37a2c549ebc67dd3b0
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
65d2ce7ed5 Move dev socket
Summary: Not entirely sure what the use of this socket is, but it can definitely be defined inside flipper-ui-browser instead.

Reviewed By: aigoncharov

Differential Revision: D51307090

fbshipit-source-id: 36eb336536e8672fb0b2bcf12dad31c7fbc00a39
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
af3f11521b Remove probably duplicated logs
Summary: These logs only available on debug but we already have these logs coming from the actual used socket, so remove.

Reviewed By: aigoncharov

Differential Revision: D51307089

fbshipit-source-id: 32e3eada42fa54b429df0bfcdd936d24cebaf0cb
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
067693f3c8 Standard message between prod and dev
Summary: These two texts were different, they should be the same for consistency.

Reviewed By: aigoncharov

Differential Revision: D51307086

fbshipit-source-id: a71fb7e6cf072df73e7f9fb386245f266984900b
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
11ec4c3107 Remove unused css
Summary: This CSS was unused, so remove.

Reviewed By: aigoncharov

Differential Revision: D51307093

fbshipit-source-id: a978d76fca7cfb07c96180c4ece0b1bdf1087894
2023-11-14 10:53:09 -08:00
Lorenzo Blasa
7de92cb34a Config set from server
Summary: Instead of having duplicate configs defined on our HTML. Move the config definition to the server.

Reviewed By: aigoncharov

Differential Revision: D51307092

fbshipit-source-id: 68f4afc918cf191b3a15b3981429c5a05d5df8df
2023-11-14 10:53:09 -08:00