Commit Graph

8771 Commits

Author SHA1 Message Date
generatedunixname89002005306973
b30449af40 Flipper Release: v0.215.1
Summary: Releasing version 0.215.1

Reviewed By: aigoncharov

Differential Revision: D48911165

fbshipit-source-id: 1ca438b9c49c5cfb707b603f42d5b6fc8fb140b7
2023-09-01 11:16:02 -07:00
Andrey Goncharov
d80a7a45b6 Fix growing tab height
Reviewed By: antonk52

Differential Revision: D48908996

fbshipit-source-id: 6eb0a53f32d0130661c3e2c161063e87ab3ff884
2023-09-01 10:08:04 -07:00
Andrey Goncharov
93e19aba40 Fix growing Tabs
Reviewed By: antonk52

Differential Revision: D48908704

fbshipit-source-id: b5f761ef2c3b81f0c7e4a36a8122a10957a96ebd
2023-09-01 10:08:04 -07:00
Andrey Goncharov
0ce8fe6625 Fix Tabs
Reviewed By: lblasa

Differential Revision: D48908416

fbshipit-source-id: 1e8b0d84b313fe10629d6ff16162294fa5cb395c
2023-09-01 10:08:04 -07:00
Anton Kastritskiy
806d684ddc Script to verify @types/* versions
Summary:
We recently raised a concern that for some packages types/* version is different than the package we are using. This can cause runtime errors as typescript can suggest usage that no longer reflects current API of a library. To combat this issue we decided to add a CI check to verify that major versions of types and a libriary match.

This script will be refined if in the next few diffs

Reviewed By: LukeDefeo

Differential Revision: D48779652

fbshipit-source-id: 2a826ba9d00565563553f04cd809ae0638db6282
2023-09-01 09:54:49 -07:00
Pascal Hartig
42b95c21eb Disable Fresco integration for now (#5101)
Summary:
[android][sample] Disable Fresco integration for now
There's currently a startup crash

https://gist.github.com/passy/3f6b5935d8f9171ea0d3d915857b9786

We'll need to wait for a new Fresco release. In the meantime, let's comment this out so we can still use the rest of the app.

 ---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/5101).
* __->__ https://github.com/facebook/flipper/issues/5101
* https://github.com/facebook/flipper/issues/5100

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

Reviewed By: lblasa

Differential Revision: D48863903

Pulled By: passy

fbshipit-source-id: 0cb9c6050cf70a989b11ca60b3019ebab104279f
2023-09-01 09:43:21 -07:00
Anton Kastritskiy
38e64156a8 new antd tabs API
Reviewed By: lblasa

Differential Revision: D48902684

fbshipit-source-id: 73a7b80b6b223067a7e79d2b6f4cab18943b8214
2023-09-01 04:54:35 -07:00
Lorenzo Blasa
819c75c126 Verify server certificates before returning existing token
Summary:
If the server certificates have expired, then the returned token will no longer be valid as soon as the certificates are renewed.

So, validate this before returning any existing token.

This was not an issue before, as launching used to be the last step during bootstrapping.

Reviewed By: antonk52

Differential Revision: D48902334

fbshipit-source-id: 2458aa0df806db245994ee742f42bff47a533e23
2023-09-01 04:52:09 -07:00
Lorenzo Blasa
4e7a6a70cc Server shutdown only if no errors
Summary:
The socket will close as the endpoint is terminating the connection.

Status code 1000 and 1001 are used for normal closures. Either the connection is no longer needed or the endpoint is going away i.e. browser navigating away from the current page.

WS RFC: https://www.rfc-editor.org/rfc/rfc6455

Reviewed By: LukeDefeo

Differential Revision: D48896696

fbshipit-source-id: 22070ae34b7f35d35589db06108feb718e73e866
2023-09-01 03:25:26 -07:00
generatedunixname89002005306973
43c549ee74 Flipper Snapshot Bump: v0.215.1-SNAPSHOT
Summary: Releasing snapshot version 0.215.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D48865066

fbshipit-source-id: a9e6ff63d93229bf23a2ca8e5b94ac6238f80ee8
2023-08-31 06:35:49 -07:00
generatedunixname89002005306973
20ecc02c79 Flipper Release: v0.215.0
Summary: Releasing version 0.215.0

Reviewed By: lblasa

Differential Revision: D48865068

fbshipit-source-id: a6e37bdc5790e0e1de64c2b467f02df9ec18bfd6
2023-08-31 06:35:49 -07:00
Lorenzo Blasa
aec376a09a Open an existing window if there is one
Summary:
Before this change, opening deep-links or importing files would open new windows.

Instead, just use an existing window if there is one.

Documentation: https://developer.chrome.com/docs/web-platform/launch-handler/

Reviewed By: lawrencelomax

Differential Revision: D48865950

fbshipit-source-id: 80c3fb58f1fcc3b8ace00fd9241bf1e374c8345e
2023-08-31 06:04:32 -07:00
Lorenzo Blasa
cc9b62ec47 Need to copy loading.html
Summary: Need to copy this resource too from the static directory.

Reviewed By: aigoncharov

Differential Revision: D48864174

fbshipit-source-id: 0f3bfe9608bb9d48ec1cfb7243b3f0701d2fd8cf
2023-08-31 03:59:24 -07:00
Pascal Hartig
e4f480236e Bump litho to 0.48.0 (#5100)
Summary:
[android] Bump litho to 0.48.0

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

Reviewed By: adityasharat

Differential Revision: D48863388

Pulled By: passy

fbshipit-source-id: 29daa1edbe1887429b2014543e5a7c99bd76cb47
2023-08-31 03:25:06 -07:00
generatedunixname89002005306973
108204ae31 Flipper Snapshot Bump: v0.214.1-SNAPSHOT
Summary: Releasing snapshot version 0.214.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D48834385

fbshipit-source-id: 7c5905c7ca716c0abe0b37cc3668de4e1adb16d8
2023-08-30 13:29:50 -07:00
generatedunixname89002005306973
43db3d561d Flipper Release: v0.214.0
Summary: Releasing version 0.214.0

Reviewed By: lblasa

Differential Revision: D48834386

fbshipit-source-id: 74c46a0b57ae6dbf1a17fd7b9d958709868ee13a
2023-08-30 13:29:50 -07:00
Lorenzo Blasa
457767c7cc Ready needs to be able to handle asynchronous code
Summary:
A previous diff introduced the isReady state as to make it possible to serve HTML content sooner than we are ready.

This worked great on debugging. As I was testing a release, it was discovered that there was a race condition and the server was not ready when it was already handling upgrade events.

To solve this, I've added another state flag in the form of a promise.

This one, can be waited on. This is used then during upgrade events as we can safely wait until the server is ready to accept incoming connections before proceeding with the upgrade.

Problem is shown below:

{F1080003241}
{F1080003356}

Reviewed By: passy

Differential Revision: D48829453

fbshipit-source-id: e148a392bbe66dd91710e32871e270c8950e25c2
2023-08-30 09:52:00 -07:00
Pascal Hartig
072d618681 Use String.prototype.replaceAll in sourcemap removal script
Summary: Apply suggestion from D48605129 to have access to "modern" `replaceAll`.

Reviewed By: lblasa

Differential Revision: D48642120

fbshipit-source-id: 1e273fe5590e7b4a48c9176ef5f1afdab688b7d6
2023-08-30 09:14:07 -07:00
Andrey Goncharov
caf55f5b12 Support STRING_SET operator type
Summary:
Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Data table integration comes later

Reviewed By: lblasa

Differential Revision: D48648822

fbshipit-source-id: 74f92c0e818c4507fd6575f6a122d107373cfe0c
2023-08-30 07:26:35 -07:00
Andrey Goncharov
2affcbdfb1 Support ENUM_SET operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48648499

fbshipit-source-id: ee24ae15c1e6533398db0af79597388e473f97e7
2023-08-30 07:26:35 -07:00
Andrey Goncharov
e5147784a9 Polish spacing
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48644764

fbshipit-source-id: 1da41635f349da1d320c25175dd9a8d2b82d3c73
2023-08-30 07:26:35 -07:00
Andrey Goncharov
cb6dd36dc1 Support absolute date operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48644510

fbshipit-source-id: 0a1a382f3052c0e1e1f78ad6e8c51211fb78f9ce
2023-08-30 07:26:35 -07:00
Andrey Goncharov
7b9ddb617f Remove last search term on backspace press when term finder is empty
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48637890

fbshipit-source-id: fb952ffe1ab1a94d2bc465b89be6c62a71be9b9f
2023-08-30 07:26:35 -07:00
Andrey Goncharov
52a4051b15 Refine NO_VALUE renderer
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48637454

fbshipit-source-id: acc1926036e981c28ad678c2a3c1b7f0d5b9f992
2023-08-30 07:26:35 -07:00
Andrey Goncharov
857e2d2ead Support enum operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48605906

fbshipit-source-id: d81243fbc8b33e366e9207f282ba42808cfab533
2023-08-30 07:26:35 -07:00
Andrey Goncharov
f9d5d713ef Support no_value operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48605550

fbshipit-source-id: 3c555c5cf2928e2a87686dff4c68516338203197
2023-08-30 07:26:35 -07:00
Andrey Goncharov
f16ff8ade4 Remove extra operators
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48605289

fbshipit-source-id: f3168a8db4532ddd368a96f013749e4abc627e0f
2023-08-30 07:26:35 -07:00
Andrey Goncharov
9bca358ab2 Support float operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48605219

fbshipit-source-id: 9b919fe59278f77cdbbc036948eb04d585b25baa
2023-08-30 07:26:35 -07:00
Andrey Goncharov
143dce85f1 Support integer operator type
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48605154

fbshipit-source-id: 4662b61b217568e593f6b65c8b4dd1d99ea5606a
2023-08-30 07:26:35 -07:00
Andrey Goncharov
a9fb5d9863 Extract PowerSearchStringTerm
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48601912

fbshipit-source-id: 90f67f1ea19ef6ae8b5d92f26894af2ab20fa821
2023-08-30 07:26:35 -07:00
Andrey Goncharov
380e99400f Simplify config
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48600255

fbshipit-source-id: a57504519000fce4544f6875b2933cd5bcaedba3
2023-08-30 07:26:35 -07:00
Andrey Goncharov
e87ec62552 Remove ordering support for mvp
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48600046

fbshipit-source-id: 9ded79616a822759f0c74dd1e5c6ce6c120b8350
2023-08-30 07:26:35 -07:00
Andrey Goncharov
bee42f442e Expose external API
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48599785

fbshipit-source-id: ae5835ece1299d26dcaeb3cb66668aa919900a85
2023-08-30 07:26:35 -07:00
Andrey Goncharov
a492b32bd3 Extract PowerSearchTermFinder
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48599226

fbshipit-source-id: 29c5a8182312e5f8c09d78d5cc223ef65cfc841d
2023-08-30 07:26:35 -07:00
Andrey Goncharov
c9ab951e84 Extract PowerSearchTerm
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48599166

fbshipit-source-id: 13b447b55408a8673928489312c4d22cf864c232
2023-08-30 07:26:35 -07:00
Andrey Goncharov
2c5bcb373d Extract container
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: LukeDefeo

Differential Revision: D48560381

fbshipit-source-id: ecdc6bb95514faf913b23239bbd40113b8e0f57b
2023-08-30 07:26:35 -07:00
Andrey Goncharov
729c60f711 Shift focus to entering next search term when finish editing the curretn one
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48559678

fbshipit-source-id: 88075c473f8296a6d734116e9f2b02e941b3d7c7
2023-08-30 07:26:35 -07:00
Andrey Goncharov
194c08a12c Support keyboard
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48559580

fbshipit-source-id: 683969879c213b869faadc60c6caab8f716b8688
2023-08-30 07:26:35 -07:00
Andrey Goncharov
0633658cee Filter power search term options
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48558180

fbshipit-source-id: 311d5ed1859d0a31f85942772a956c46f58be46e
2023-08-30 07:26:35 -07:00
Andrey Goncharov
44c3f53905 Support removing search terms
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48557277

fbshipit-source-id: edaa5e8806538fa308d43c364e4f68967c1bf2ac
2023-08-30 07:26:35 -07:00
Andrey Goncharov
7061de44fe Support entering freeform search values
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48556764

fbshipit-source-id: aa2d77ce111e33ebe5d936c30d23ed78ca0e2c2e
2023-08-30 07:26:35 -07:00
Andrey Goncharov
c091067902 Update antd
Summary:
Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Required to get `Space.Compact`

allow-large-files

Reviewed By: passy

Differential Revision: D48520383

fbshipit-source-id: 000a5c16c00541455dc4a31c4fddb2c4c252a89e
2023-08-30 07:26:35 -07:00
Andrey Goncharov
795d02d00c Separate search term parts
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48520106

fbshipit-source-id: 2a544230f182bd82023310ea88742fab44e2df9b
2023-08-30 07:26:35 -07:00
Andrey Goncharov
c746a11dc6 Allow multiple search terms
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48519758

fbshipit-source-id: d691a26ebed9f7797516386b8fb9d4457b870a3e
2023-08-30 07:26:35 -07:00
Andrey Goncharov
9cdf944716 Compute Autocomplete options from config
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48518324

fbshipit-source-id: 5abee77cca10f03b2d9fa5b62802a5000152248e
2023-08-30 07:26:35 -07:00
Andrey Goncharov
b780dc0598 Add basic Autocomplete
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48517919

fbshipit-source-id: ec6e723a595862b61722db9c5afd96138264dfdc
2023-08-30 07:26:35 -07:00
Andrey Goncharov
839653c8fa Add PowerSearch example config
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48468962

fbshipit-source-id: e86be373be324b44656f2ed0d9f66bf969d47a6b
2023-08-30 07:26:35 -07:00
Andrey Goncharov
d54bd8938a Add PowerSearch basic types
Summary: Project doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU

Reviewed By: lblasa

Differential Revision: D48467956

fbshipit-source-id: 7f5303d981831c261bf5e4fe0027883fd1e7d873
2023-08-30 07:26:35 -07:00
Lorenzo Blasa
3bfe9a1f98 Remove not needed 'then' clause
Summary: ^

Reviewed By: antonk52

Differential Revision: D48826887

fbshipit-source-id: 3ecc77d326bd7ddfa5e9f125012d6854f1692010
2023-08-30 06:47:48 -07:00
Lorenzo Blasa
2858259497 Launch early, even if not ready
Summary:
Flipper Launcher downloads, unpacks, launches Flipper, and closes itself.

This is fine except for the fact that Flipper may be initiating and thus there's a gap of a few seconds until engineers see the main Flipper UI.

This change improves this by launching earlier, even if just showing a loading page until Flipper is actually ready.

Reviewed By: passy, aigoncharov

Differential Revision: D48824479

fbshipit-source-id: aa6147a09f313d80592c9b08d089660ba73773a4
2023-08-30 05:08:26 -07:00