Commit Graph

1327 Commits

Author SHA1 Message Date
John Knox
d5573644ac Delete communicating and move the missing info into js-plugin-api
Summary: Documents init in the API reference and deletes the now redundant communicating page.

Reviewed By: danielbuechele

Differential Revision: D15198128

fbshipit-source-id: a9b88632b74edd7d9656ed888192db1fbe7f3642
2019-05-03 07:10:57 -07:00
John Knox
f72e4b5122 Tidy up "Sending data to Plugins" page
Summary:
* Made the code snippets uniform across languages.
* Renamed to "Providing data to plugins" because sending hints at sending across the desktop-client connection which is misleading.

Reviewed By: danielbuechele

Differential Revision: D15198081

fbshipit-source-id: e2c318cdc6055c191f47e846b518c26dd21e4a68
2019-05-03 07:10:57 -07:00
Pritesh Nandgaonkar
c55bebd1be Tutorial app with sea mammals
Summary: Tutorial app for iOS. It follows the same theme as its android counterpart.

Reviewed By: passy

Differential Revision: D15184515

fbshipit-source-id: bb473c0fa863bb325bb33f8e42c8d6b3d9c640ff
2019-05-03 05:18:47 -07:00
John Knox
57af6fa2bf Add JS Plugin API reference page
Summary: This documents all pretty much the entire API.

Reviewed By: passy

Differential Revision: D15187834

fbshipit-source-id: 073c6a0dc40e3373967e9e5c5b7d44ab9c0aa07f
2019-05-03 04:30:09 -07:00
John Knox
49be7fd35f Redefine Js-Setup as JS Plugin Definition
Summary:
The purpose of this page wasn't that clear to me, though the content is pretty focused. I've changed it from JS setup to JS Plugin Definition, and reworded it a bit.
I think it makes sense if this specifies everything to do with plugins on the file system, and the next page talks about what you do in javascript.

Reviewed By: passy

Differential Revision: D15184829

fbshipit-source-id: 6335ebc8d4297ffcbf1ab9860b4f055fe5bbcf87
2019-05-03 04:30:09 -07:00
Daniel Büchele
5afb148ffa Migrate to custom plugin
Summary: In this step, we want to visualize our mammals in a custom card view. For this reason, we need to replace `createTablePlugin` with a React component that extends `FlipperPlugin`.

Reviewed By: jknoxville

Differential Revision: D15183324

fbshipit-source-id: 329cdc5c6cbd7e1435538e8cdddf049d914ff221
2019-05-03 02:50:04 -07:00
John Knox
a276af9c1f Show communcating with devices page
Summary:
This page got lost in the reorganisation. Adding it back.
There's still work to be done on the content and organisation of these docs.

Reviewed By: passy

Differential Revision: D15184349

fbshipit-source-id: 76256ba53189579bec363903dc4068a421cafc98
2019-05-02 12:38:31 -07:00
Pritesh Nandgaonkar
d022cd0e42 Add iOS docs draft for Layout Inspector
Summary:
Updated syntax and code references, but someone else please
check the details here.

Reviewed By: jknoxville

Differential Revision: D15181483

fbshipit-source-id: 93ed636c2d72f33151759e822d77e80e3abd6f03
2019-05-02 12:38:31 -07:00
Pritesh Nandgaonkar
29391db65d Fixed the copy button being overlapped with the text
Summary:
BUG:

{F157319747}

Reviewed By: passy

Differential Revision: D15181532

fbshipit-source-id: cb0f91e7b90b479200cb57c496ae34c87ad35001
2019-05-02 11:31:12 -07:00
Pascal Hartig
adba73ba3c Increase top padding for code buttons
Summary: priteshrnandgaonkar pointed out that they sometimes overlap with the text.

Reviewed By: jknoxville

Differential Revision: D15182356

fbshipit-source-id: def39676d5dcce85aa0b41760cec0ec5cfb9398c
2019-05-02 10:59:13 -07:00
Pascal Hartig
7dae5771d9 Add createTablePlugin-based counterpart to tutorial app
Summary: Per title. It's very basic, which is exactly the point.

Reviewed By: jknoxville

Differential Revision: D15182335

fbshipit-source-id: f70f8cd0510a605879dccb9f909f84971a4eedc3
2019-05-02 09:10:26 -07:00
Pascal Hartig
18af62ebfd Add a basic android plugin
Summary:
Moves some things around for package access reasons.
Otherwise sets up the simplest possible plugin that
just sends over all the data it shows in the UI
on connection time. Is that a good idea? You tell me.

JS part coming with the next diff.

Reviewed By: jknoxville

Differential Revision: D15182282

fbshipit-source-id: da5c1de43dfaee273b4eecc0f4512bef872a0ac6
2019-05-02 09:10:26 -07:00
John Knox
c3efb7b45e Fix broken link
Summary: n/a

Reviewed By: danielbuechele

Differential Revision: D15182855

fbshipit-source-id: 251d25a5542d66cb238b74cfe9b99936597d85e5
2019-05-02 08:54:49 -07:00
John Knox
cf9807d432 Fix broken footer links
Summary: n/a

Reviewed By: danielbuechele

Differential Revision: D15182819

fbshipit-source-id: b2a76dfe94af1ecd9c6fc0c5831ae02fc1fde73f
2019-05-02 08:54:49 -07:00
Pascal Hartig
df46c0c63e Add extending Layout Inspector docs
Summary:
Please give feedback on the sidebar placement.

This is only the Android part. I'll put up a second diff copying the iOS thing over
but hope someone can commandeer that and check for accuracy.

Reviewed By: priteshrnandgaonkar

Differential Revision: D15181454

fbshipit-source-id: d32081feefbfb0ffc38890e835a7d5f6b78667ab
2019-05-02 08:44:44 -07:00
Pritesh Nandgaonkar
367bb9a502 Updated the documentation of the crash reporter plugin
Summary: As per title

Reviewed By: passy

Differential Revision: D15181759

fbshipit-source-id: b184c730bbd349cd432956790e8dc192d3fd5ca0
2019-05-02 07:40:58 -07:00
Pascal Hartig
f4f0998f68 Build Android app on Travis (#430)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/430

Per title

Reviewed By: jknoxville

Differential Revision: D15166788

fbshipit-source-id: 2c2fbf67bf6f86a1811f3b1e7ee114dea4b9878c
2019-05-02 05:08:54 -07:00
Pascal Hartig
65d50fe120 Update license headers in xplat
Summary: Per title.

Reviewed By: danielbuechele

Differential Revision: D15166958

fbshipit-source-id: 26f0a6d7523be3192833fd3995bc9f5e948816a6
2019-05-02 05:08:54 -07:00
Pritesh Nandgaonkar
384568a4a0 Updated the documentation of the shared preferences plugin
Summary: As per the title

Reviewed By: passy

Differential Revision: D15181533

fbshipit-source-id: ca2b13dc81cd28fd2d6ab84fbdc000006d2d43e9
2019-05-02 04:58:39 -07:00
Pritesh Nandgaonkar
31542ca790 Update the open source release script
Summary: We no longer require to host the pods on our repository, thus I updated the release script to get rid off the copying part.

Reviewed By: passy

Differential Revision: D15166526

fbshipit-source-id: 1989eff335f83c191b16a78d9562470d7819bc17
2019-05-02 04:58:38 -07:00
John Knox
1d7b526add Don't recommend untemplated use of FlipperClient::getPlugin
Summary: We have a templated function not requiring a downcast, so there's no need to use the non-templated one.

Reviewed By: passy

Differential Revision: D15167856

fbshipit-source-id: 2f125ac9ca62d7ac4c633127104d1cd2954a13fb
2019-05-02 04:10:46 -07:00
John Knox
deff5e96db Display nicer titles for Mac and Windows Device
Summary: MacDevice and Windows device show uncapitalized 'desktop'. Changing them to Mac and Windows.

Reviewed By: passy

Differential Revision: D15168726

fbshipit-source-id: a69ef572d92f82215e548f71e72ef5d7d48beefa
2019-05-02 04:06:43 -07:00
Pascal Hartig
bbee7a3357 Update iOS license headers (and more)
Summary: Add the affiliates bit that the linter is checking for.

Reviewed By: jknoxville

Differential Revision: D15164826

fbshipit-source-id: 500ffe89ec0c2fd3acfbc374408d16a337cecfa4
2019-05-02 03:28:07 -07:00
Daniel Büchele
b0d2983bd4 docs: add code tabs
Summary: adding code tabs for Android, iOS and C++ to improve readability of pages.

Reviewed By: jknoxville

Differential Revision: D15167691

fbshipit-source-id: e7f602a3a1cbe39ef5da0a15bb0bbfc8f79e8ccc
2019-05-01 11:21:54 -07:00
Daniel Büchele
8734b99f8d fixing links, adding nice buttons
Summary: as per title

Reviewed By: jknoxville

Differential Revision: D15167533

fbshipit-source-id: 67d059c478bf0608b598ba7cd6be19157ff41900
2019-05-01 11:21:54 -07:00
John Knox
be7aefc044 Add missing full stop (#429)
Summary:
Trivial change. I missed this earlier.
Pull Request resolved: https://github.com/facebook/flipper/pull/429

Reviewed By: passy

Differential Revision: D15166391

Pulled By: jknoxville

fbshipit-source-id: 3d52eb1da6d21afa9217cc17cfe887a686cde280
2019-05-01 10:27:27 -07:00
Pritesh Nandgaonkar
20379cf7d1 Update network plugin docs for iOS
Summary: Updated the installation instruction for the network plugin

Reviewed By: jknoxville

Differential Revision: D15166206

fbshipit-source-id: c30d18cd7ac62c813e368de914b279f466a1f1c1
2019-05-01 09:45:10 -07:00
Pascal Hartig
cd9445a3bd Add Fresco plugin
Summary: Per title

Reviewed By: jknoxville

Differential Revision: D15166443

fbshipit-source-id: e8098ce941d66fc2948fcf3d2e99f0813f20049e
2019-05-01 09:39:52 -07:00
Pascal Hartig
3829ac7d03 Enable Sections and Litho plugins
Summary: Per title

Reviewed By: jknoxville

Differential Revision: D15166432

fbshipit-source-id: ec2a53ef2af920e4c9f8a8742b2b8fbff01320fe
2019-05-01 09:39:52 -07:00
Pascal Hartig
3339944ff4 Tutorial app
Summary:
A very basic app with a scrolling list backed by a static data source. It also covers two bases that we hadn't before: Sections and Kotlin; the latter being the better choice for a modern Android tutorial anyway.

Missing right now: BUCK support (likely not going to come anytime soon due to the kapt limitations), the actual Flipper plugin integration (that's up next).

Reviewed By: jknoxville

Differential Revision: D15166195

fbshipit-source-id: 3cfaa1d243548279cabc4f244c13363f1bcaa36c
2019-05-01 09:39:52 -07:00
Daniel Büchele
fca7bc93ee horizontal scrolling
Summary:
Adding a property `horizontallyScrollable` the `ManagedTable` that enables horizontal scrolling, if that is required by the table's contents.
By default this behaviour is disabled to not break existing tables.

Reviewed By: jknoxville

Differential Revision: D15166144

fbshipit-source-id: 7a9b76facdbe717deb3d097e0b8883d4b0732d51
2019-05-01 09:32:32 -07:00
John Knox
da44a02cad Add Implementing Layout Inspection docs
Summary: Describes the interface that clients should conform to to implement the layout plugin.

Reviewed By: danielbuechele

Differential Revision: D15166234

fbshipit-source-id: b86303f18f33762f09cfc503ece856cfcc887493
2019-05-01 09:15:51 -07:00
Pascal Hartig
cfb4f52359 Automatically release noop packages
Summary: This is used by the public Circle CI release task.

Reviewed By: jknoxville

Differential Revision: D15149586

fbshipit-source-id: de631f930649fdbe582d525874ac6a6bf1fd4bad
2019-05-01 08:38:23 -07:00
Pascal Hartig
00a7cd9f60 Document no-op package
Summary:
Package is still in the process of getting approved by JCenter
but should get included within the next 24h or so.

Reviewed By: jknoxville

Differential Revision: D15149587

fbshipit-source-id: ab835b1fff23aedbc312b495b79e85e0fffa16ed
2019-05-01 08:38:22 -07:00
Pascal Hartig
2e65ab7133 Reorganise sample into debug/release flavours
Summary:
This makes use of the new no-op package and also structures the app
into release and debug flavours that can be built with and without
Flipper part of the APK.

This was a pretty tedious adventure. I may have missed some corner cases
and also restructured a bunch of seemingly unrelated stuff that was
necessary to respect buck module boundaries.

Reviewed By: jknoxville

Differential Revision: D15148004

fbshipit-source-id: bf81f45105f5f16d17daccb3e8050ee00d69fc35
2019-05-01 08:38:22 -07:00
Pascal Hartig
b1c674f6f9 Run sample tests on Travis (#426)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/426

Per title

Reviewed By: jknoxville

Differential Revision: D15147059

fbshipit-source-id: ffc805b9b93ab7adc368d3bc16f9b65c9ea7d9fd
2019-05-01 08:38:22 -07:00
Pascal Hartig
b7fff23700 Move example plugin out of core
Summary:
We should not ship this as part of our distribution.
Just meant we had to bifurcate our unit tests which
is a bit awkward, but it works now.

Reviewed By: jknoxville

Differential Revision: D15146980

fbshipit-source-id: 496b000630bbfcaa663cddacb00550e1499a1279
2019-05-01 08:38:22 -07:00
John Knox
821408056f Add Searching and Filtering page
Summary: I can't take credit for this, I found it in the internal wiki. Have just modernised it and made it public.

Reviewed By: danielbuechele

Differential Revision: D15165547

fbshipit-source-id: d59344aa6ad47be6ab32b88abcdfc14a7d20c775
2019-05-01 08:31:38 -07:00
Pascal Hartig
608b9182ce Add version headers
Summary: Last big batch of adding license headers in Java code where they were missing.

Reviewed By: jknoxville

Differential Revision: D15164860

fbshipit-source-id: 4c0a61eec7b5659fdc674ebed85f2ade60dd0aa0
2019-05-01 08:14:55 -07:00
Pascal Hartig
1831a672b5 More copyright headers for misc stuff
Summary: Scripts and Portforwarding things.

Reviewed By: jknoxville

Differential Revision: D15164852

fbshipit-source-id: a9dcdcb5e6c19dc51d1aa0158fceafe21ab7615f
2019-05-01 08:14:55 -07:00
Pritesh Nandgaonkar
5b26ce954f Upated the installation instruction for iOS
Summary: Updated the installation instruction for iOS. Also updated the sample app's podfile

Reviewed By: passy

Differential Revision: D15165222

fbshipit-source-id: 33fe27f687619b716b73cea5c3a3a898ea6edc79
2019-05-01 07:32:03 -07:00
Pritesh Nandgaonkar
c12b8d28fb Updated the installation instruction for layout plugin
Summary: Updated the iOS side of installation for layout plugin

Reviewed By: passy

Differential Revision: D15152489

fbshipit-source-id: 3e30b056e82e708a2f4c12c8f6b1d10c80c5b1a0
2019-05-01 06:56:50 -07:00
Pritesh Nandgaonkar
34b0cad824 Moved Flipper podspec outside (#423)
Summary:
Removed the symlink and moved `Flipper.podspec` and `FlipperKit.podspec` to the root directory. Also published `Flipper.podspec` and `FlipperKit.podspec`on cocoapods

http://cocoapods.org/pods/Flipper
http://cocoapods.org/pods/FlipperKit

Also removed the stub podspec files.

Released Flipper and FlipperKit on Cocoapods
Pull Request resolved: https://github.com/facebook/flipper/pull/423

Reviewed By: passy

Differential Revision: D15146621

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 86ee16773a81b0896548169cba49810250122ec1
2019-05-01 06:06:27 -07:00
Pascal Hartig
a0fba743a1 Add Android download badge (#428)
Summary:
Quite useful if you want to know what the most recent version is.
Pull Request resolved: https://github.com/facebook/flipper/pull/428

Reviewed By: jknoxville

Differential Revision: D15164635

Pulled By: passy

fbshipit-source-id: 4a78b928625d6d71381b0e3e8272372f5f1b654d
2019-05-01 04:34:51 -07:00
John Knox
56b85dd6e3 Write up FlipperClient API.
Summary:
Specifies the API for implementing your own Flipper Client.
I believe this provides everything you need to know to build a flipper-compliant client.
The only snag is that the current certificate exchange procedure would require a change to allow for new OS's, device types etc. It would be much better if we had a TLS-opt out so you don't need to go through all that rigmarole.

Reviewed By: passy

Differential Revision: D15150550

fbshipit-source-id: 2878dcc174807c3f86c0562660e8a3e43e5777b1
2019-05-01 04:10:37 -07:00
Daniel Büchele
563d23a514 docs: update screenshots
Summary:
Updating screenshots
adding screenshot slideshow to landing page

Reviewed By: passy

Differential Revision: D15164431

fbshipit-source-id: a7201f59205593e38b48bce87cacdb58e9b2b180
2019-05-01 03:22:35 -07:00
Pascal Hartig
c5e77220fc Remove dangling TODO comment
Summary: No longer relevant.

Reviewed By: jknoxville

Differential Revision: D15146917

fbshipit-source-id: 830a8193b128a8177610269b6e7f37fb8f1ee74e
2019-04-30 13:13:00 -07:00
Pascal Hartig
5c50b16701 Remove deprecated gradle calls
Summary: Mirroring 897fe6123e (diff-aa51f8b3cd4c236a2fa014f530b3b780)

Reviewed By: jknoxville

Differential Revision: D15146913

fbshipit-source-id: 0eca84e9d0c536ac78883b11dccb3243786ab130
2019-04-30 13:13:00 -07:00
Pascal Hartig
db5d486c6f Set up no-op package (#425)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/425

Incomplete implementation that should allow for most uses
as a release-only package.

Next steps:
- Integrate sample app with this.
- Set up CI to build sample app in release mode with this.
- Register with JCenter.
- Automatically publish to JCenter as part of our release step.

Reviewed By: jknoxville

Differential Revision: D15146823

fbshipit-source-id: 3ad058dce7b0395721c6e6715d44d4d51b1834da
2019-04-30 13:13:00 -07:00
Pascal Hartig
3771026eeb Bump gradle plugin (#424)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/424

New Android Studio, new plugin version.

Reviewed By: jknoxville

Differential Revision: D15146831

fbshipit-source-id: 12d624c8bc36e7bc8c1ddf69adbcc154d66dc077
2019-04-30 13:13:00 -07:00