Commit Graph

2048 Commits

Author SHA1 Message Date
Daniel Büchele
98b4071242 react-docgen for TypeScript
Summary: Update react-docgen to support TypeScript

Reviewed By: passy

Differential Revision: D17204178

fbshipit-source-id: 408ce5569a253c9a836f65bd9a9f289cc82b5175
2019-09-05 07:43:11 -07:00
Roman Gorbunov
eff95991c6 Moving SKHighlightOverlay
Summary: Moving FlipperKitLayoutPlugin/FlipperKitPluginUtils/SKHighlightOverlay to shared folder, so Layout and WorkingRange plugins can depend on it

Reviewed By: kevin0571

Differential Revision: D17156396

fbshipit-source-id: 3f17371f2ab4818924d61e6cfb243f60ad1f2892
2019-09-05 07:31:23 -07:00
Pascal Hartig
26c9bf3853 Flipper Bump: v0.23.7-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: danielbuechele

Differential Revision: D17204024

fbshipit-source-id: 7fdc71f0c8011d6f400321a0369a7252540d04f7
2019-09-05 06:15:33 -07:00
Pascal Hartig
17d48d92b0 Flipper Release: v0.23.6
Summary:
**Highlights**

1. Windows builds should publish on the release page now.
2. We have x86_64 support on Android.
3. React DevTools are now publicly available.

Reviewed By: danielbuechele

Differential Revision: D17204023

fbshipit-source-id: 41aaa1c884e1f251216423a8b08cec6e8802fd80
2019-09-05 06:15:33 -07:00
Benjamin Elo
a90422bf2f Added additional parameters for logging
Summary:
The navigation plugin supports logging of a date and the class name. This addition adds that support.

I have kept the previoius method which I will remove once  I update the fb4a navigation plugin integration.

Reviewed By: danielbuechele

Differential Revision: D17202996

fbshipit-source-id: eac95328a6e2278c3a27ca608b9b675c8efe4528
2019-09-05 05:59:55 -07:00
Benjamin Elo
4e71d9b1ea Removed flow-types file
Summary: This completes the navigation plugin ts migration by removing the flow types file.

Reviewed By: passy

Differential Revision: D17181605

fbshipit-source-id: b4931d28664e990c37dea229a7fe3f52685e5ee7
2019-09-05 05:49:30 -07:00
Daniel Büchele
ffd4a29bba VirtualList
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181140

fbshipit-source-id: 0b67a744c7fa5d3ef3aad9212e52d1397d873d4d
2019-09-05 04:42:38 -07:00
Daniel Büchele
4850da6a72 ViewWithSize
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181146

fbshipit-source-id: a0f8cab121c5fefd505cba4166122c1ce191e6c2
2019-09-05 04:42:38 -07:00
Daniel Büchele
f34c8ba9fe Tooltip
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181144

fbshipit-source-id: c48de5718f1a917c2eebd6b5913a43ce62b9b0a1
2019-09-05 04:42:38 -07:00
Daniel Büchele
e29563cfca ToggleSwitch
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181148

fbshipit-source-id: 959a01fd61950ddb263c3b9c44c9069d19541c36
2019-09-05 04:42:38 -07:00
Daniel Büchele
cfd4793d05 Textarea
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181150

fbshipit-source-id: 5de7f4d971c988bdaf18ae281a0e76ba99b67648
2019-09-05 04:42:37 -07:00
Daniel Büchele
3bdc4a2b8d Text
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181142

fbshipit-source-id: df82f234061735e62f15a18e6b738c9e9e398807
2019-09-05 04:42:37 -07:00
Daniel Büchele
244df345f4 Tabs
Summary: fixing ts-strict errors

Reviewed By: passy

Differential Revision: D17181149

fbshipit-source-id: 43b12336e6467e0b134087fdabfd21f414741188
2019-09-05 04:42:37 -07:00
Chaiwat Ekkaewnumchai
7055deff7e Button.tsx
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17165021

fbshipit-source-id: 6a8cb9f6167efc4c3105c38854d7b6b8fd931be9
2019-09-05 04:38:59 -07:00
Pascal Hartig
2d9b94ada5 Update getting-started.md (#540)
Summary:
Remove duplicate `client:start`.
Pull Request resolved: https://github.com/facebook/flipper/pull/540

Test Plan: eyes

Reviewed By: danielbuechele

Differential Revision: D17203282

Pulled By: passy

fbshipit-source-id: 2245c376181a0069d04c55af5f51170b793cd52a
2019-09-05 04:35:43 -07:00
Daniel Büchele
9ba36e2795 ManagedTable
Summary: fixing ts-strict errors

Reviewed By: jknoxville

Differential Revision: D17181143

fbshipit-source-id: b25cf07f3aad61e451fdb5e274faeaea62474f2d
2019-09-05 04:03:19 -07:00
Chaiwat Ekkaewnumchai
f4bb0f987f DataDescription
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17174253

fbshipit-source-id: d2ad87954a4fe49626f35234c2a9db180093fc54
2019-09-05 03:36:47 -07:00
Benjamin Elo
d7814b19da Migrate navigation tests
Summary: Migrated all the tests. I've put these in a single diff as there were only a couple of lines that had to be changed in each file.

Reviewed By: danielbuechele

Differential Revision: D17181587

fbshipit-source-id: cdcc20d71a47e786db4cefbebe9ea686d5e235e5
2019-09-05 03:33:09 -07:00
Chaiwat Ekkaewnumchai
5b883351c4 data-inspector/utils.tsx
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180421

fbshipit-source-id: 1264f402d1b5071617462179c80e6c951e513f0e
2019-09-05 03:19:48 -07:00
Daniel Büchele
b7933aef2e publish react plugin
Summary:
Publishing React Dev tools plugin:
- migrate to TS
- move iOS and JS part to public folder (Android was already)

Reviewed By: passy

Differential Revision: D17164782

fbshipit-source-id: 20ccba71d807df2d33fe5348a62c6ee7f78ae8ba
2019-09-05 03:19:47 -07:00
Chaiwat Ekkaewnumchai
7bb9ef4a37 elements-inspector/elements
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180489

fbshipit-source-id: 6ddc53f03fddf56494a18a7e1826ba4dd1e7e564
2019-09-05 03:16:03 -07:00
Chaiwat Ekkaewnumchai
158f7cba33 ResizeSensor
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17181422

fbshipit-source-id: 73b802ac339c7f7e474c9ee8f13b6aaa50884c97
2019-09-05 03:05:38 -07:00
Chaiwat Ekkaewnumchai
d7e3514d9b desktop-toolbar
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180448

fbshipit-source-id: 67459523fb7047c0580b5b7b3f116397e0ad9c42
2019-09-05 03:05:38 -07:00
Chaiwat Ekkaewnumchai
be3772bd16 Orderable
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17181370

fbshipit-source-id: 079a1a89f30665e4c86356ace299bd086819bcfb
2019-09-05 03:05:38 -07:00
Chaiwat Ekkaewnumchai
f6b371e2be DataPreview
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180388

fbshipit-source-id: 2375ce5eafbaac75cc789436c9ee1a199a233784
2019-09-05 03:02:05 -07:00
Chaiwat Ekkaewnumchai
e586c53393 Popover
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17181415

fbshipit-source-id: 8b30cc1fdd7d4410b3ca13775ffdea3cae6f9ba4
2019-09-05 03:02:04 -07:00
Chaiwat Ekkaewnumchai
6fb59607c0 elements-inspector/sidebar
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180511

fbshipit-source-id: d5c3b8b671d05e57002739f9e038670a6c895fd8
2019-09-05 03:02:04 -07:00
Chaiwat Ekkaewnumchai
c120896ac8 ModelOverlay
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180882

fbshipit-source-id: 4a51bbd90f0a46807888de63ac305a7395d74a61
2019-09-05 03:02:04 -07:00
Chaiwat Ekkaewnumchai
56b061d883 Input
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180572

fbshipit-source-id: 2c820b6c2aef7abf567c42f87de7864501a91c2d
2019-09-05 03:02:04 -07:00
Chaiwat Ekkaewnumchai
8ae170c034 FileList
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180529

fbshipit-source-id: 50258a17c34177317397af618b43f2d2f76fb3a2
2019-09-05 03:02:03 -07:00
Chaiwat Ekkaewnumchai
2d83de99c5 MarketTimeline
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180745

fbshipit-source-id: 0a42d5deba70ed0dfe5cd344dd5da6d2fd572999
2019-09-05 03:02:03 -07:00
Chaiwat Ekkaewnumchai
aa48e71c08 DataInspector
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17180390

fbshipit-source-id: 85fd4c2ad95a3be48df7dcbae9b77aee2578ae42
2019-09-05 02:59:18 -07:00
Daniel Büchele
ef2c6787fa convert Layout plugin
Summary: _typescript_

Reviewed By: passy

Differential Revision: D17153997

fbshipit-source-id: 308a070b86430a9256beb93b4d3e5f8d5b6c6e52
2019-09-05 02:51:41 -07:00
Chaiwat Ekkaewnumchai
705ba8eaa8 Convert Flipper plugin "Network" to TypeScript
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17155509

fbshipit-source-id: 45ae3e2de8cd7b3cdf7271905ef7c318d4289391
2019-09-05 02:51:40 -07:00
Chaiwat Ekkaewnumchai
0a53cccb40 Convert Flipper plugin "Network" to TypeScript
Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D17155508

fbshipit-source-id: 2452b023dd3a5f0063e4b6b6294ed00670ec9022
2019-09-05 02:51:40 -07:00
Chaiwat Ekkaewnumchai
4781f04ca4 Convert Flipper plugin "Network" to TypeScript
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D17053118

fbshipit-source-id: 1ad6e9db7e6338165070c782ab9e7d2d600a62b7
2019-09-05 02:51:40 -07:00
John Knox
4f671847ba Fix prefetcher types
Reviewed By: passy

Differential Revision: D17164305

fbshipit-source-id: edc52a0708e2a46a3fe2aa9752fd94fa0b1909be
2019-09-04 11:01:44 -07:00
Daniel Büchele
1c817d2554 StackTrace
Summary: fixing ts-strict errors

Reviewed By: jknoxville

Differential Revision: D17181145

fbshipit-source-id: 6e4194373b5d3525f83e464ccdc159dbdc1953ac
2019-09-04 10:53:37 -07:00
Daniel Büchele
ff4a3be15b Select
Summary: fixing ts-strict errors

Reviewed By: jknoxville

Differential Revision: D17181147

fbshipit-source-id: eb8769536a27df17685a6dbd77f52d97e28e43a5
2019-09-04 10:53:36 -07:00
Daniel Büchele
02dfcc3cf7 FliterToken
Summary: fixing ts-strict errors

Reviewed By: jknoxville

Differential Revision: D17181141

fbshipit-source-id: c6c70ed2e76fbe4a3e7ee807ef1e2de2dad3eb55
2019-09-04 10:53:36 -07:00
Mihaela Ogrezeanu
d77b5f0062 Custom button for expand/collapse node in Tree
Summary: When clicking a node in the tree, currently it expands or collapses the subtree under it. This adds a chevron button which only handles the expansion functionality, and clicking on the label with the Section name will show info about that Section in the side panel.

Reviewed By: fabiomassimo

Differential Revision: D17165150

fbshipit-source-id: ac6b6c127b68274f53523b3ea62422ff96116e9b
2019-09-04 10:50:41 -07:00
Pascal Hartig
4f181cc2ea Fix header
Summary: Getting a shipit violation for the missing header.

Reviewed By: danielbuechele

Differential Revision: D17184585

fbshipit-source-id: 1e88c1adec1f1500e16ddd8a461fb11bf1ea86e6
2019-09-04 10:48:22 -07:00
Daniel Büchele
89f20e4f02 fix z-index
Summary: z-index for titlebar was not high enough to cover the modal sheet

Reviewed By: jknoxville

Differential Revision: D17165223

fbshipit-source-id: 5ae30b6e55a1f69d653db509a08a8aa80a6f10fd
2019-09-04 10:06:02 -07:00
Daniel Büchele
c18ea6bf52 typescript-eslint update
Summary: upgrading eslint dependencies. especially `typescript-eslint/parser@2.1.1-alpha.4` Which fixes the incompatibility warning with TS 3.6.2

Reviewed By: passy

Differential Revision: D17182109

fbshipit-source-id: 44e8a7324778353cff0af65df3aa38483ff786fc
2019-09-04 10:06:02 -07:00
John Knox
66d9b563ce Record state error msg in debug log
Summary:
When an operation fails, we have an error message. This was being displayed in the diagnostic screen output, but not included in the debug log.

This makes them both have same bahaviour, so they both include the error messages.

Reviewed By: passy

Differential Revision: D17181847

fbshipit-source-id: 823f73d641d2315da86a0019479716852950f9a5
2019-09-04 09:29:33 -07:00
Benjamin Elo
be6a99c8f9 Migrated plugins/navigation/index to TypeScript
Summary: Migrated plugins/navigation/index.js to plugins/navigation/index.tsx

Reviewed By: passy

Differential Revision: D17181195

fbshipit-source-id: da64547ff001cee2be2d728443a3c189785c51f3
2019-09-04 06:39:20 -07:00
Benjamin Elo
470c8ca65e Added a blue timeline line
Summary:
I've added in a timeline line. Getting the CSS for this to work perfectly was tricky, but in the end this result looks pretty good. I've opted for the unknown events to have a smaller circle.

Edit:

I have fixed the border radius issue with the img element:

{F206482232}

And Unknown events are better aligned:

{F206482255}

Reviewed By: jknoxville

Differential Revision: D17180819

fbshipit-source-id: c318d2721adde758494267095524961c796f7a54
2019-09-04 05:17:43 -07:00
Pascal Hartig
e6e070684c Fix x86_64 / upgrade libevent (#538)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/538

Upgrades libevent to the August release 2.1.11.

Some notable things:

- The CMake file they ship with is actually broken. It contains a reference to an "uninstall.cmake" script that they don't include in the archive.
- There is some git magic in the CMake script which throws very annoying warnings if you're not in a git repository and if you are, it's still super useless because it assumes it's the libevent repo.
- I've removed the uninstall reference and replaced version detection magic with hardcoded values. The result is the "CMakeLists.txt" in the overrides folder. For future upgraders: You'll have to either remove the override or apply similar steps to the next release.
- The `event-config.h` is simply one of the outputs I found under `android/build/libevent/x86/include/event2/event-config.h`. They seem to be stable across architectures so it's easier to just copy it over than to fix the CMake logic that should actually pick it up from the Android build path.
- The cmake target names have changed and have an underscore in them, now.
- Verified with an SDK 28 x86_64 that this does fix https://github.com/facebook/flipper/issues/482.

Fixes GH482.

Reviewed By: jknoxville

Differential Revision: D17164731

fbshipit-source-id: 642744118065bea2674dbb0e1af91a11598066cc
2019-09-04 04:44:50 -07:00
Pascal Hartig
d2778e05f5 Ignore .cxx
Summary:
Seems to be a new thing from the Android Build system
and it's quite annoying.

Reviewed By: jknoxville

Differential Revision: D17163339

fbshipit-source-id: 938264d301e7546a4a6e3276e91184ab5498a833
2019-09-04 04:44:50 -07:00
Pascal Hartig
783f6134b1 Build against NDK 20 in Travis (#534)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/534

Per title

Reviewed By: jknoxville

Differential Revision: D17161793

fbshipit-source-id: 6d239f9458530290f2f04e5cd165d663a2363cef
2019-09-04 04:44:49 -07:00