Commit Graph

528 Commits

Author SHA1 Message Date
John Knox
b6fc2f0651 Fix duplicate route to setup/leak-canary-plugin
Summary:
Noticed this when building the site. Shame it only warns and doesn't fail the build.
Just fixing it while I'm here.

{F479009268}

Reviewed By: nikoant

Differential Revision: D26911725

fbshipit-source-id: 6440a4b8aee4a6bc053ae771a3b148fd70ffc298
2021-03-09 05:43:29 -08:00
John Knox
11879c127b Add portal troubleshooting instructions
Summary: Adds an internal section for portal troubleshooting

Reviewed By: passy

Differential Revision: D26847795

fbshipit-source-id: b12bef20b2f832c4264cfd5cafcced414575b82b
2021-03-05 10:32:35 -08:00
generatedunixname89002005306973
b95058421d Flipper Snapshot Bump: v0.79.2-SNAPSHOT
Summary: Releasing snapshot version 0.79.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D26820463

fbshipit-source-id: 9edf2e986fb69db4448a3edad7740b6daf3630b7
2021-03-04 12:03:50 -08:00
generatedunixname89002005306973
85e5c33265 Flipper Release: v0.79.1
Summary: Releasing version 0.79.1

Reviewed By: passy

Differential Revision: D26820464

fbshipit-source-id: 8ca29bca6b011159e158c43806760f2a2056fc0b
2021-03-04 12:03:50 -08:00
Pascal Hartig
a4e457306c Add note about duplicate FBJNI classes
Summary:
Not sure if I made this clearer or even more confusing,
but it's a try.

Reviewed By: mweststrate

Differential Revision: D26781610

fbshipit-source-id: d68b30ffe6b24d537473c2d85b2b74f425068a96
2021-03-03 10:33:01 -08:00
Michel Weststrate
4799ea4f09 Documented how to opt out from flipper on iOS
Summary: More docs. Addresses https://github.com/facebook/flipper/issues/1326, https://github.com/facebook/flipper/issues/1215 and probably more

Reviewed By: jknoxville

Differential Revision: D26778514

fbshipit-source-id: dcadbad8f53f483d14e7fc54199756a697095309
2021-03-03 07:23:12 -08:00
generatedunixname89002005306973
ae59333c0e Flipper Snapshot Bump: v0.79.1-SNAPSHOT
Summary: Releasing snapshot version 0.79.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D26776797

fbshipit-source-id: 15e1312c28a5a62264088217947fe88413cad4f0
2021-03-03 06:12:35 -08:00
generatedunixname89002005306973
47ff03fb96 Flipper Release: v0.79.0
Summary: Releasing version 0.79.0

Reviewed By: nikoant

Differential Revision: D26776798

fbshipit-source-id: 0e85fbad5024c7a794af71098a6b7d4953f4de34
2021-03-03 06:12:35 -08:00
Michel Weststrate
effd334f98 Improve iOS troubleshooting guide
Summary: Added some pointers for everyone who is as iOS noobish as me.

Reviewed By: priteshrnandgaonkar

Differential Revision: D26777687

fbshipit-source-id: 1ba3bb08b5a7b3a3ba937176d4c4c9b5e765a977
2021-03-03 05:05:05 -08:00
Harold Martin
4d8be35d1a Add plugin for LeakCanary 2 (#1959)
Summary:
Add plugin for LeakCanary 2 as requested various times: https://github.com/facebook/flipper/issues/1379 https://github.com/facebook/flipper/issues/832  https://github.com/square/leakcanary/issues/1777

## Changelog

* Adds a leakcanary2 plugin for Android
* Adds support for leakcanary2 to existing desktop plugin

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

Test Plan:
* Docs updated to show new implementation
* Should old leakcanary plugin in sample be replaced?

Reviewed By: mweststrate

Differential Revision: D26691637

Pulled By: passy

fbshipit-source-id: 5e236fa6cc124f0720a6b21b5ee7c117ccf96fbf
2021-03-01 09:11:37 -08:00
generatedunixname89002005306973
7f975b82bd Flipper Snapshot Bump: v0.78.1-SNAPSHOT
Summary: Releasing snapshot version 0.78.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D26692600

fbshipit-source-id: a000de95171db28f86896b11ab02446450e1b0a5
2021-02-26 13:15:34 -08:00
generatedunixname89002005306973
31d0acc4b5 Flipper Release: v0.78.0
Summary: Releasing version 0.78.0

Reviewed By: mweststrate

Differential Revision: D26692601

fbshipit-source-id: edc7e1c91f613344e02772cf53c8868aa3a8cf4a
2021-02-26 13:15:34 -08:00
generatedunixname89002005306973
2253d158f3 Flipper Snapshot Bump: v0.77.1-SNAPSHOT
Summary: Releasing snapshot version 0.77.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D26632433

fbshipit-source-id: e3698caee5f58e919a10d1683c1074e6b8028629
2021-02-25 01:37:17 -08:00
generatedunixname89002005306973
5591d2c1d6 Flipper Release: v0.77.0
Summary: Releasing version 0.77.0

Reviewed By: mweststrate

Differential Revision: D26632434

fbshipit-source-id: 8448cb3257c23ca2a79728349f8d5af93ec4788c
2021-02-25 01:37:17 -08:00
Pascal Hartig
d7e584627a Update testing-rn instructions
Summary: `install` is now ambiguous because of some new plugins we've added.

Reviewed By: mweststrate

Differential Revision: D26633940

fbshipit-source-id: 62369ba76cced905350e62b7782619811b7284a0
2021-02-24 07:29:30 -08:00
John Knox
08b594db5c Upgrade static docs plugin
Summary:
Upgrade the static docs plugin.

You no longer need to import OssOnly and FbInternalOnly in markdown files, so removed those imports too.

Reviewed By: passy

Differential Revision: D26580059

fbshipit-source-id: 2763de2f5fbef41ec2ac7f7bdd147418badb78b6
2021-02-22 09:17:44 -08:00
Anton Nikolaev
1433dd4b73 Flipper Snapshot Bump: v0.76.1-SNAPSHOT
Summary: Releasing snapshot version 0.76.1-SNAPSHOT

Reviewed By: muraziz

Differential Revision: D26515192

fbshipit-source-id: aca77266825bbe5dffcc2642ad4ee563104e1653
2021-02-19 02:58:32 -08:00
Anton Nikolaev
208e899b4f Flipper Release: v0.76.0
Summary: Releasing version 0.76.0

Reviewed By: jknoxville

Differential Revision: D26515193

fbshipit-source-id: 38d547195a2d1e214e6f31a990c1d9e3f7869869
2021-02-19 02:58:32 -08:00
Anton Nikolaev
1c898bd2da Device plugin management (5/n): Docs
Summary: Updated docs to mention the new way of specifying device plugins compatibility metadata.

Reviewed By: mweststrate

Differential Revision: D26424203

fbshipit-source-id: 313e15ee54a8877c95850a37a13c5684b3c165f0
2021-02-16 10:50:19 -08:00
generatedunixname89002005306973
11548c9cd6 Flipper Snapshot Bump: v0.75.2-SNAPSHOT
Summary: Releasing snapshot version 0.75.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D26422940

fbshipit-source-id: 00bb4b5cc947679acf4dbfd7556984653c806891
2021-02-12 05:14:57 -08:00
generatedunixname89002005306973
0633e5bfd7 Flipper Release: v0.75.1
Summary: Releasing version 0.75.1

Reviewed By: passy

Differential Revision: D26422941

fbshipit-source-id: 655a898289c877b44a9c7bd3e359dcf045688988
2021-02-12 05:14:57 -08:00
Pascal Hartig
061ca274fd Add docs for new Android release
Summary:
Tried to give as much context here not just for how it works but also
how to set it up. For other projects and if we need to redo something.

Reviewed By: mweststrate

Differential Revision: D26400452

fbshipit-source-id: 9b41fd1a36c45554c7a7b562b73b4b9753f7ecfe
2021-02-12 04:36:10 -08:00
Pascal Hartig
af9475bca1 Update JCenter reference in the docs
Summary: Still need to update the actual release doc. That's next.

Reviewed By: mweststrate

Differential Revision: D26399883

fbshipit-source-id: 87c27b254f4def07810a99fd0e1c817b6afb967e
2021-02-12 04:36:10 -08:00
generatedunixname89002005306973
eb95708acd Flipper Snapshot Bump: v0.75.1-SNAPSHOT
Summary: Releasing snapshot version 0.75.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D26368797

fbshipit-source-id: 8d24b0099fcd967bea8dab7728c6263358b2c995
2021-02-10 08:16:13 -08:00
generatedunixname89002005306973
48a6235d26 Flipper Release: v0.75.0
Summary: Releasing version 0.75.0

Reviewed By: passy

Differential Revision: D26368798

fbshipit-source-id: e0d1d23023c6f0fb66ff675ccd61758722e4ebd7
2021-02-10 08:16:13 -08:00
Michel Weststrate
bb529411b5 Expose current connection status to Sandy plugins
Summary:
Introduced `isConnected` flag on device and plugin client to reflect whether a connection is still available for the plugins, or that they have been disconnected.

Potentially we could expose the (readonly) `connected` state atom for this as well, or an `onDisconnect` event for device pugins, to create a responsive UI, but there might be no need for that, in which case this suffices.

Reviewed By: nikoant

Differential Revision: D26249346

fbshipit-source-id: b8486713fdf2fcd520488ce54f771bd038fd13f8
2021-02-09 04:16:24 -08:00
generatedunixname89002005306973
e8e205a91f Flipper Snapshot Bump: v0.74.1-SNAPSHOT
Summary: Releasing snapshot version 0.74.1-SNAPSHOT

Reviewed By: jknoxville

Differential Revision: D26253174

fbshipit-source-id: b5fe3e0738c25f3580d721223e79ddfe386229f4
2021-02-04 09:46:44 -08:00
generatedunixname89002005306973
0429c1892f Flipper Release: v0.74.0
Summary: Releasing version 0.74.0

Reviewed By: jknoxville

Differential Revision: D26253173

fbshipit-source-id: 80f4e3917cf130bbf546af6d48e43a62265660d0
2021-02-04 09:46:44 -08:00
Michel Weststrate
594fa4d2bc serialize Sandy plugins with serialization utils to support Date/Set/Map
Summary:
Unlike non-sandy plugins, non-sandy plugins weren't serialized using our serialization utility yet. This diff addresses that, meaning that users don't have to bother about how to serialize maps, sets and dates.

Unlike the old fashioned plugins, the `makeObjectSerialize` utility is used, rather than `serialize`. This normalizes the objects, but doesn't serialize them, which is done at the end of the export data process anyway for the whole tree. This avoids creating a double JSON serialization which is fully of ugly escape characters.

This makes the onImport / onExport definition of the logs plugin nicer.

Also improved the docs.

Reviewed By: nikoant

Differential Revision: D26146421

fbshipit-source-id: 6abfb6ee2e3312e2a13a11832ff103dc62fd844c
2021-02-01 11:43:31 -08:00
Michel Weststrate
f2ade40239 Support custom data processing during import
Summary: Per title, this allows for pre-processing data after it is deserialized and before it is stored in the plugin

Reviewed By: nikoant

Differential Revision: D26126423

fbshipit-source-id: bc08a6ab205d2a0d551515563cd85a197595ddb2
2021-02-01 11:43:30 -08:00
Michel Weststrate
34c915a739 Add support for async / custom plugin export
Summary:
Sandy plugins can now set up an `onExport` handler to enable customizing the export format of a plugin: `client.onExport(callback: (idler, onStatusMessage) => Promise<state>)`

Import will be done in next diff

Reviewed By: nikoant

Differential Revision: D26124440

fbshipit-source-id: c787c79d929aa8fb484f15a9340d7c87545793cb
2021-02-01 11:43:29 -08:00
Pascal Hartig
118cb7e9ff Update to SoLoader 0.10.1
Summary:
Used this to find out that my 0.10 release was borked but this one works.

This doesn't require any code changes because we're already using the
equivalent of 0.10.1 internally through the mono repo.

Changelog: Update to SoLoader 0.10.1

Reviewed By: nikoant

Differential Revision: D26148652

fbshipit-source-id: 7d8c2bc8d8dfaca7118d240bd365be08948e4623
2021-02-01 03:14:39 -08:00
generatedunixname89002005306973
7cb2d818af Flipper Snapshot Bump: v0.73.1-SNAPSHOT
Summary: Releasing snapshot version 0.73.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D26125288

fbshipit-source-id: 82be1946e7397c280ff872728ff911e12f43ec2a
2021-01-28 06:55:58 -08:00
generatedunixname89002005306973
20cd25f726 Flipper Release: v0.73.0
Summary: Releasing version 0.73.0

Reviewed By: nikoant

Differential Revision: D26125287

fbshipit-source-id: 7fd00aa679a5ac3d69013d0bdb0cf5d868fd5cc7
2021-01-28 06:55:58 -08:00
Michel Weststrate
97256318fa Fix syntax error in docs
Summary: See https://github.com/facebook/flipper/issues/1865

Reviewed By: passy

Differential Revision: D26125202

fbshipit-source-id: 3b9c7f73201173602037822297bec56816c83407
2021-01-28 06:09:28 -08:00
Michel Weststrate
d3430e067f Documented analysing plugins
Reviewed By: passy

Differential Revision: D26019044

fbshipit-source-id: f60e9bcbcc4fce0f741b6778d4bbc1e9efbb353a
2021-01-22 09:14:34 -08:00
Michel Weststrate
727c99b729 Introduce support for no hardware acceleration
Summary: Start flipper with `--no-launcher --disable-gpu` to disable hardware acceleration

Reviewed By: passy

Differential Revision: D25994355

fbshipit-source-id: e75bb209c8e3325135a114bec1f25889187d2728
2021-01-22 05:31:00 -08:00
generatedunixname89002005306973
f73cc6744a Flipper Snapshot Bump: v0.72.1-SNAPSHOT
Summary: Releasing snapshot version 0.72.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D25972052

fbshipit-source-id: c5c2cfee21d8baa7615919cfb3673d8f665023b0
2021-01-20 04:03:27 -08:00
generatedunixname89002005306973
bbd43eb5d1 Flipper Release: v0.72.0
Summary: Releasing version 0.72.0

Reviewed By: mweststrate

Differential Revision: D25972053

fbshipit-source-id: 5c399900a02e27af6ce0b724a3103e279fc59d93
2021-01-20 04:03:27 -08:00
Michel Weststrate
9cdb36ec0e Add --public-build option to start an OSS like build of Flipper
Summary: This diff adds the `--public-build` option which allows run a devServer emulating the OSS version of flipper. Technical details are explained in the comments.

Reviewed By: passy, nikoant

Differential Revision: D25944966

fbshipit-source-id: 540855808179582752b8aa646f0b8afd4b78396f
2021-01-18 06:48:03 -08:00
generatedunixname89002005306973
57b3e61e7f Flipper Snapshot Bump: v0.71.1-SNAPSHOT
Summary: Releasing snapshot version 0.71.1-SNAPSHOT

Reviewed By: priteshrnandgaonkar

Differential Revision: D25897816

fbshipit-source-id: 1d14e7c6561dc48cd963183bf6d9bfc525f17f3e
2021-01-17 16:42:22 -08:00
generatedunixname89002005306973
06d92002e2 Flipper Release: v0.71.0
Summary: Releasing version 0.71.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D25897817

fbshipit-source-id: afbb63a381636ce0d8d8a4ecb2636c601f39e932
2021-01-17 16:42:22 -08:00
generatedunixname89002005306973
98dea368b2 Flipper Snapshot Bump: v0.70.1-SNAPSHOT
Summary: Releasing snapshot version 0.70.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D25801618

fbshipit-source-id: a81cf2baf99338fe17c5566d331b9fe0e16dc3e1
2021-01-06 03:21:57 -08:00
generatedunixname89002005306973
44e1b2ee9a Flipper Release: v0.70.0
Summary: Releasing version 0.70.0

Reviewed By: passy

Differential Revision: D25801619

fbshipit-source-id: bab5364e393a4db9c5a801d041f537f3e6d36d81
2021-01-06 03:21:57 -08:00
John Knox
c460cb767f Fix deleted page redirects
Summary:
The redirects we added inline in the deleted pages don't work when there's a baseUrl.

This is because it's the standard react-router Redirect component, which knows nothing about docusaurus sites.

We could get around that by adding `useBaseUrl()` calls around all of them, but that's not great.
So changing to using declarative redirects instead, where they are all put in config. This automatically takes care of base urls, and reduces copy-pasted code.

Reviewed By: passy

Differential Revision: D25780599

fbshipit-source-id: c67d3643ab28f0fcd440904baf54c67687781686
2021-01-05 09:24:48 -08:00
Michel Weststrate
ddd9536e14 Add more explicit notes on how to update the Flipper SDK in react-native
Summary: Per title

Reviewed By: passy

Differential Revision: D25756219

fbshipit-source-id: c1620cc7dda0195965a697a75db836b2057be3e9
2021-01-04 12:17:56 -08:00
John Knox
3bf9bcc275 Reorganise the sdk installation sidebar
Summary:
Give the sdk installation pages a bit more structure.
To me it's much clearer now what they are.

Happy to hear differing opinions so we get it right :)

Reviewed By: passy

Differential Revision: D25638164

fbshipit-source-id: 86b7fecd8aba0068336b15a308f4a9433817c68e
2020-12-18 09:22:05 -08:00
John Knox
2f9d4280c1 Improve installation/update instructions
Summary:
The installation instructions didn't flow very well.

"Using flipper at Facebook" is now gone. It's installation steps have been moved into the desktop app page, with internal/external switching.

I've also removed the "Updating Flipper" internal page, and put equivalent info in the installation section.

Reviewed By: nikoant

Differential Revision: D25637831

fbshipit-source-id: 2af2abf57793d54804f5c45e3335b8641743e1c8
2020-12-18 09:22:05 -08:00
John Knox
77ffe1d47b Rename FB Internal to Under the Hood
Summary:
I think there's a need for an "implementation details" section of the site. Especially as we're moving the rest of our wiki content there.

I see it as a good thing, because now we have a place for implementation details relevant to OSS contributors too, it's not all fb-specific.

Reviewed By: nikoant

Differential Revision: D25614909

fbshipit-source-id: 5ec081e6450a9ad1c30785ae4cca74b6fa0d2630
2020-12-17 08:32:51 -08:00
Michel Weststrate
69dae5c8e5 Restructured dev workflow docs
Summary: This diff unifies setup and workflow information that was scattered a bit around into one cohesive 'Development workflow' subsection in the 'creating plugins' section of Flipper.

Reviewed By: nikoant

Differential Revision: D25612288

fbshipit-source-id: 5fa7f2d000fb7ab3e1b5c5a4fc8cc1f209252f41
2020-12-17 07:40:58 -08:00