Commit Graph

2413 Commits

Author SHA1 Message Date
Pascal Hartig
90725bb7c9 Bump gradle
Summary: Patch version, no breaking changes.

Reviewed By: jknoxville

Differential Revision: D18371607

fbshipit-source-id: 0d92dc56031a829f967e62d3aefcf558851be5f6
2019-11-07 06:56:19 -08:00
Werner Badenhorst
e59dbb1315 Convert Flipper plugin "LeakCanary" to TypeScript
Summary: The Flipper codebase was recently converted to TypeScript. Plugins should be converted as well to maintain type safety.

Reviewed By: passy

Differential Revision: D18347730

fbshipit-source-id: be63e8bac677c13fa5c0fa4f964dda8e7ba6251d
2019-11-07 05:30:48 -08:00
Pascal Hartig
96049d43a5 Bump gradle plugin
Summary: To match latest stable Android Studio.

Reviewed By: jknoxville

Differential Revision: D18347347

fbshipit-source-id: fd1d4111b34bc8a00f0c0ee5cfe4636fb20f8d41
2019-11-06 11:03:48 -08:00
Pritesh Nandgaonkar
994546b24a Setup of the bug creation screen
Summary: This diff sets up the create form for the new support request project. The current screen is very basic. I will be iterating through it in the upcoming diffs.

Reviewed By: passy

Differential Revision: D18327464

fbshipit-source-id: af01fc10f68a135f32f0ae98551986852019e8aa
2019-11-06 10:46:12 -08:00
John Knox
2ae2352972 Add starter package
Summary:
Adds a new package with typescript set up, to be published to npm.

Followed this as a guideline: https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c

Reviewed By: passy

Differential Revision: D18244495

fbshipit-source-id: c684f0bb33e61699f605c637186c7a81136a920f
2019-11-06 09:39:57 -08:00
Pascal Hartig
9670d6bde5 Prefetch star{,-outline} at size 12
Summary: Used by rating, I think.

Reviewed By: mweststrate

Differential Revision: D18347585

fbshipit-source-id: bbc84a42c34aae9805515c82f8d24cfd0817d8ed
2019-11-06 08:33:36 -08:00
Pascal Hartig
05c007be16 Move plugin manager logic out of UI component
Summary: Moving some things around for the upcoming update support.

Reviewed By: jknoxville

Differential Revision: D18347572

fbshipit-source-id: b614fe3a87f8e7fdc0c11c0d3bfe4787c0914d17
2019-11-06 08:33:36 -08:00
Pascal Hartig
4c0c212258 TypeScript 3.7!
Summary:
The prep work paid off. Seems to Just Work.
Now goeth ahead, little flock, and spread the good word of Optional Chaining.

More stuff here: https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/

allow-large-files

Reviewed By: mweststrate

Differential Revision: D18347372

fbshipit-source-id: 735d4a1e2d33bffaa47761f86eb4f43a044c3d3b
2019-11-06 08:33:35 -08:00
John Knox
f0de600492 Fix wording of network request buttons
Summary: I don't know why we left this for so long, it doesn't make a good first impression.

Reviewed By: mweststrate

Differential Revision: D18348908

fbshipit-source-id: b8b0e5fe8f6ab81281d6ea1a1299ebdaaf0b9c43
2019-11-06 08:04:12 -08:00
Michel Weststrate
81d7be2479 Fix overflow of long client names
Summary: Look client names were unreadable due to line wrapping

Reviewed By: jknoxville

Differential Revision: D18348602

fbshipit-source-id: 682c3b17ef73ca0bf0f8193f71a608ada5cdfbf2
2019-11-06 07:29:05 -08:00
Michel Weststrate
c3402da467 Fix showing plugins that are incompatible with client
Summary: Fix an issue where we accidentally show all plugins for all clients, causing client crashes if an unsupported plugin is selected

Reviewed By: jknoxville

Differential Revision: D18347907

fbshipit-source-id: 5416f29b8eae2daed64869380f9e9382e90261d7
2019-11-06 07:29:05 -08:00
Michel Weststrate
7040d487d8 don't keep querying iOS simulators if XCode was not installed properly
Summary: Currently the app keeps to find iOS devices if when the tooling isn't properly set up, causing an error to appear every three secs. This change makes sure that happens only once. It also takes care of some run-away promises

Reviewed By: jknoxville

Differential Revision: D18346619

fbshipit-source-id: 12b581bee0d522b37b9e0c5d5b8dad0e4d2058d9
2019-11-06 06:17:22 -08:00
Pascal Hartig
2446e82dc6 Bump AndroidX
Summary: It's not just JS dependencies!

Reviewed By: jknoxville

Differential Revision: D18346576

fbshipit-source-id: b2c383424335c74c68a48f3d93614168ef26a0c4
2019-11-06 03:43:49 -08:00
Pascal Hartig
d70e389077 Run yarn build step on Linux (#626)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/626

This is the step that keeps failing because of some libuv
nonsense. It's faster and more reliable on Linux, so
there's really no good reason for running it on Mac.

No guarantee that this will fix it, but in the worst case
manually pressing "Rerun" will be faster.

Reviewed By: jknoxville

Differential Revision: D18324723

fbshipit-source-id: d1cd0c7195a4bcbd4c5df6ad39676f12f135a0f9
2019-11-06 01:55:37 -08:00
Adam Ernst
6e8de457e7 Remove last traces of ComponentScript from Flipper
Summary: Bye bye ComponentScript.

Reviewed By: d16r

Differential Revision: D18330173

fbshipit-source-id: 8181e9cf082d299790ae3ceaffcc7417dc8190aa
2019-11-05 13:21:02 -08:00
Michel Weststrate
3963535610 Fix buffer warning when starting CPU / kaois plugin
Summary:
When the CPU or kaois plugins are started, they show a buffer deprecated warning, caused by the fact that they ship their own adbkit version, which is unpatched.

This diff makes sure that the adbkit as shipped with Flipper is used instead.

Reviewed By: jknoxville

Differential Revision: D18327441

fbshipit-source-id: 9cab23b9701adc070210cc4133fc8760031bd1d7
2019-11-05 11:10:16 -08:00
Kevin Lin
5ca8b6dc30 Make rootNode a weak reference in SKComponentLayoutWrapper
Summary: In some cases this can cause a retain cycle.

Reviewed By: priteshrnandgaonkar

Differential Revision: D18297780

fbshipit-source-id: c60abdcaad9fd94c457647509aec0519042801e4
2019-11-05 09:58:04 -08:00
Michel Weststrate
3cee927674 Introduce favorite plugins
Summary: This diff lands improved sidebar navigation. The old functionality to order plugins based on last-recently-used, and cropping at 5 items has been removed. Instead, items can be starred and their position will be fixed. Together with the app switcher introduced this should lead to a cleaner, stabler, and more customizable UI.

Reviewed By: jknoxville

Differential Revision: D18299401

fbshipit-source-id: 29b7eb3a4130933c637f7c81834558bf738d5bf0
2019-11-05 09:14:46 -08:00
Michel Weststrate
969a857fae Introduce app selector
Summary: Sidebar now shows a drop down to select the app you are currently working on, rather than showing all plugins for all apps connected

Reviewed By: passy

Differential Revision: D18201094

fbshipit-source-id: a64ca380606c232d0a85bfa80f16ed0db980dfb4
2019-11-05 09:14:46 -08:00
Pascal Hartig
9bb0dad5d6 Refactor installed plugin props passing
Summary:
Left this out from diff at the bottom of the stack to
keep it a bit smaller.

Reviewed By: jknoxville

Differential Revision: D18272165

fbshipit-source-id: a2b0826e268b737341e2ef1c0f96dde32491237f
2019-11-05 05:44:13 -08:00
Pascal Hartig
d2dfb924fd Update plugin store after installation
Summary: Address the small regression introduced by D18173166. When closing the plugin manager after installing/removing, the store wasn't updated in between.

Reviewed By: jknoxville

Differential Revision: D18270821

fbshipit-source-id: 4ff54bc7607d06fa423cf8e673f216ae0a5d19da
2019-11-05 05:44:13 -08:00
Pascal Hartig
432bb1b00a Move local plugin discovery to dispatcher/redux store
Summary: In order to have update notifications, this must live outside the UI component, but it also gives some additional benefits like better testability of previously effectful UI.

Reviewed By: jknoxville

Differential Revision: D18173166

fbshipit-source-id: 1cacb6c7893423a7920a6620dfb76e631caba101
2019-11-05 05:44:12 -08:00
John Knox
42a77094f4 Clean up old flipper rating system
Summary:
Found some unused code from the rating prototype before switching to itsr.
Deleting it.

Reviewed By: cekkaewnumchai

Differential Revision: D18298155

fbshipit-source-id: 3529db17494f4f5bf7d7841460203d1c3856299a
2019-11-04 09:23:50 -08:00
John Knox
ed2343b3c6 Add sessionId to itsr query string
Summary: This will allow rating data to be joined with version number so we can get the rating of each release.

Reviewed By: mweststrate

Differential Revision: D18297808

fbshipit-source-id: 00f151c64aad40632389f728ad25a565f44a2a90
2019-11-04 09:23:50 -08:00
Michel Weststrate
b2cf34bc2f Eliminate buffer deprecation warning
Summary: Fixed deprecated Buffer warning that is shown at startup

Reviewed By: passy

Differential Revision: D18272158

fbshipit-source-id: ca932b1ff76f15e5563e21de66463a47616600d9
2019-11-04 09:21:59 -08:00
Chaiwat Ekkaewnumchai
c1130a167b Upgrade React-Redux (2nd attempt)
Summary:
- Update and include `react-redux` to Greenkeeper
- Remove legacy context which is used to access `store`
- Export `store` directly to use instead of legacy context

Note:
1st attempt: D18169584 -> got backouted in D18203354

Reviewed By: jknoxville

Differential Revision: D18297298

fbshipit-source-id: fd968f1b211eabb094113a0b35e84305f70117fc
2019-11-04 07:44:08 -08:00
John Knox
61d4e0c6a5 Pretty print settings file json
Summary: Making it a bit more human readable.

Reviewed By: passy

Differential Revision: D18271880

fbshipit-source-id: 10e8ba50957e9407b1436972f8a06915edf73dfb
2019-11-04 07:07:35 -08:00
Michel Weststrate
6e69d20917 Don't bundle react-native dependencies
Summary: Make sure that `.native.js` modules resolutions are _NOT_ prefered over `.js` modules when building flipper or flipper plugins

Reviewed By: jknoxville

Differential Revision: D18297580

fbshipit-source-id: 73f9114d19eb0934cdf69d9668b582966aedc756
2019-11-04 05:07:00 -08:00
Michel Weststrate
71573257ae "un-flow" compilePlugins.js
Summary: `compilePlugins.js` was still flow typed, but our current formatting setup breaks the file as soon as it is changed. This diff removes the (minimal) flow types and applies prettier

Reviewed By: jknoxville

Differential Revision: D18297696

fbshipit-source-id: 4af2318083188d8758981183f10ccd80e14feea2
2019-11-04 05:06:59 -08:00
Pritesh Nandgaonkar
7c69aba8fa Move supportform related redux property in a different reducer
Summary: This diff moves support form related redux prop to a separate reducer under separate supportForm property.

Reviewed By: passy

Differential Revision: D18272436

fbshipit-source-id: b64c4e041d8dacd305a71db255752a310a46b0d1
2019-11-04 03:58:53 -08:00
Pritesh Nandgaonkar
9ec4ef67ad Cache the text entered by the user
Summary:
This diff introduces the following improvements which I got as a feedback from the user

1) Before this diff the text entered used to vanish away when one switched tabs and came back to the support form. This diff takes care of that.
2) With this diff user can rexport the flipper trace to override the previous cached state too.
    - For this I had to update the UI to show flipper trace a separate input box, rather than appending it in the question field.
    - This avoided the the appending of the text in flipper trace and facilitated the easy override of the trace

3) With this diff one can also override commit_hash without appending multiple text.

WWW changes: D18250494, Do not land until this diff is landed.

Reviewed By: passy

Differential Revision: D18257524

fbshipit-source-id: 119edadf90ac95cb296c10520239513f1fef905d
2019-11-04 03:58:53 -08:00
greenkeeper[bot]
da21b6add2 Update string-natural-compare to the latest version � (#619)
Summary:
## The dependency [string-natural-compare](https://github.com/nwoltman/string-natural-compare) was updated from `2.0.3` to `3.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [nwoltman](https://www.npmjs.com/~nwoltman)
**License:** MIT

<details>
<summary>Release Notes for 3.0.0</summary>

<h3>BREAKING CHANGES</h3>
<ul>
<li>Update code to use ES2015 syntax (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="6d9d8c036b/hovercard" href="6d9d8c036b"><tt>6d9d8c0</tt></a>)</li>
<li>Throw on non-string arguments and replace the caseInsensitive function with an option (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="65d397ba75/hovercard" href="65d397ba75"><tt>65d397b</tt></a>)
<ul>
<li><code>naturalCompare()</code> now throws if either of the first two arguments are not a string.</li>
<li>Also, the <code>naturalCompare.caseInsensitive()</code> function has been removed. Pass <code>{caseInsensitive: true}</code> as the third parameter to <code>naturalCompare()</code> instead.</li>
</ul>
</li>
<li>Replace <code>naturalCompare.alphabet</code> with an <code>alphabet</code> option (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="6048bab315/hovercard" href="6048bab315"><tt>6048bab</tt></a>)
<ul>
<li><code>naturalCompare.alphabet</code> no longer exists for setting a custom alphabet. Use the new <code>alphabet</code> option instead.</li>
</ul>
</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Perf boost with custom alphabet (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="21e061a6c8/hovercard" href="21e061a6c8"><tt>21e061a</tt></a>)</li>
</ul>
<h3>Polish</h3>
<ul>
<li>Simplify if statements that handle leading zeros (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="fcaae03b2b/hovercard" href="fcaae03b2b"><tt>fcaae03</tt></a>)</li>
<li>Replace <code>var</code> with <code>let</code> and <code>const</code> (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="e4de3f28b6/hovercard" href="e4de3f28b6"><tt>e4de3f2</tt></a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Make explanation a little clearer (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="464e890e92/hovercard" href="464e890e92"><tt>464e890</tt></a>)</li>
<li>Simplify a section of the readme (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="4a4ca90b75/hovercard" href="4a4ca90b75"><tt>4a4ca90</tt></a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 15 commits.</p>
<ul>
<li><a href="3e0a51624e"><code>3e0a516</code></a> <code>v3.0.0</code></li>
<li><a href="e7035cdf6b"><code>e7035cd</code></a> <code>refactor: Add comments to indicate the actual character for character code numbers</code></li>
<li><a href="e4de3f28b6"><code>e4de3f2</code></a> <code>refactor: Replace <code>var</code> with <code>let</code> and <code>const</code></code></li>
<li><a href="fcaae03b2b"><code>fcaae03</code></a> <code>refactor: Simplify if statements that handle leading zeros</code></li>
<li><a href="e9e9b99896"><code>e9e9b99</code></a> <code>chore(ci): Fix coverage reporting</code></li>
<li><a href="d9c9de755a"><code>d9c9de7</code></a> <code>deps: Update devDependencies and benchmark dependencies</code></li>
<li><a href="6048bab315"><code>6048bab</code></a> <code>refactor!: Replace <code>naturalCompare.alphabet</code> with an <code>alphabet</code> option</code></li>
<li><a href="21e061a6c8"><code>21e061a</code></a> <code>improvement: Perf boost with custom alphabet</code></li>
<li><a href="65d397ba75"><code>65d397b</code></a> <code>refactor!: Throw on non-string arguments and replace the caseInsensitive function with an option</code></li>
<li><a href="6d9d8c036b"><code>6d9d8c0</code></a> <code>refactor!: Update code to use ES2015 syntax</code></li>
<li><a href="8fa47814db"><code>8fa4781</code></a> <code>test: Add tests to get back to 100% coverage</code></li>
<li><a href="bba68db636"><code>bba68db</code></a> <code>internal: Remove grunt and update dependencies</code></li>
<li><a href="c0f5ca613d"><code>c0f5ca6</code></a> <code>ci: Test on latest Node.js versions and only run releases once</code></li>
<li><a href="4a4ca90b75"><code>4a4ca90</code></a> <code>docs: Simplify a section of the readme</code></li>
<li><a href="464e890e92"><code>464e890</code></a> <code>readme: Make explanation a little clearer</code></li>
</ul>
<p>See the <a href="2f70d49a9f...3e0a51624e">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/619

Reviewed By: jknoxville

Differential Revision: D18269202

Pulled By: passy

fbshipit-source-id: 88421f02a213fe6f813512d37d39f9b5ab2460a4
2019-11-01 09:08:42 -07:00
Anton Nikolaev
faaf8c4f32 Search full request details
Summary: Simple implementation of searching through request/response body on "network" tab

Reviewed By: passy

Differential Revision: D18268026

fbshipit-source-id: 39386d2d6ec50b47c3ca3dec976821282b51636f
2019-11-01 06:55:21 -07:00
greenkeeper[bot]
691a4ee135 Update metro in group website to the latest version � (#622)
Summary:
## The dependency [metro](https://github.com/facebook/metro) was updated from `0.56.3` to `0.57.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [metro-bot](https://www.npmjs.com/~metro-bot)
**License:** MIT

[Find out more about this release](https://github.com/facebook/metro).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/622

Reviewed By: jknoxville

Differential Revision: D18268960

Pulled By: passy

fbshipit-source-id: 7dc99729f72978786f301c57b6b0f7d93b49674f
2019-11-01 06:46:56 -07:00
Zhang Qichuan
7e8dc28b2f Added margins to the texts on the demo app (#621)
Summary:
![screencap-2019-10-31T060952 432Z](https://user-images.githubusercontent.com/410850/67923337-842c7000-fbe8-11e9-86f4-92b183d11d9c.png)

There is no spacing between the texts on the demo app and I found them difficult to click. So I decided to add some margins to make them more thumb-friendly :)

## Changelog

Make demo app more thumb-friendly
Pull Request resolved: https://github.com/facebook/flipper/pull/621

Test Plan: N/A

Reviewed By: jknoxville

Differential Revision: D18245979

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 9c99a477c4100323144518f56369a42085589f77
2019-10-31 09:44:47 -07:00
Pritesh Nandgaonkar
f6e00136ba Add telemetry for export time and selected plugins
Summary: Adds telemetry for the export time and also logs the selected plugins.

Reviewed By: jknoxville

Differential Revision: D18244843

fbshipit-source-id: 36a3e8b9b456b59187918d19075a2c1ea0caef25
2019-10-31 09:40:51 -07:00
Pascal Hartig
ce7e13ce54 Flipper Bump: v0.27.1-SNAPSHOT
Summary:
Back to snapshots.

snapchathotdog

Reviewed By: jknoxville

Differential Revision: D18245036

fbshipit-source-id: 2a6f27a1e335e94d3a3e396822a6406fbf3a7b5c
2019-10-31 08:43:32 -07:00
Pascal Hartig
3d31906b95 Flipper Release: v0.27.0
Summary:
**Highlights**

- Sample Android APK now available as download on this very release page.
- Memory usage viewer available for KaiOS devices.

Full changelog: https://github.com/facebook/flipper/compare/v0.26.0...master

Reviewed By: jknoxville

Differential Revision: D18245037

fbshipit-source-id: 0d49012c1ebd11b406a2bf81e5b41e823ced0c05
2019-10-31 08:43:32 -07:00
Gijs Weterings
96162f40cb Layout plugin: Add option to Expand/collapse recursively
Summary:
Uses a slightly modified version of the deep expansion. In testing, there were a few issues due to the function in Inspector::onElementExpanded is essentially a toggle. I added an optional parameter to override this toggle behavior for child elements, and also flipped the order of root and child actions during collapsing, as the child state otherwise didn't persist properly (due to the component being unmounted, would be my guess?) This change should be non-breaking to other uses of the method that don't use the `deep: true` parameter
close https://github.com/facebook/flipper/issues/223

Reviewed By: passy

Differential Revision: D18225057

fbshipit-source-id: 53e840f07bf648249b5a4b36d115918dba215ff8
2019-10-31 08:41:27 -07:00
greenkeeper[bot]
e90cff1b82 chore(package): update uglify-js to version 3.6.5 (#613)
Summary:
## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/613

Reviewed By: jknoxville

Differential Revision: D18222463

Pulled By: passy

fbshipit-source-id: b94c8eeb4f4750cd306db19230f9780f66893d0e
2019-10-30 11:30:52 -07:00
John Knox
9c5faa8e96 Add android sample apps to new releases (#615)
Summary:
Now on every new release, a sample app will be built and added to the Github release artifacts.

Adds a Github action to automatically build and attach the android sample app for every flipper release.
This will allow potential users to try out flipper without having to go to the trouble of building their own app.
Pull Request resolved: https://github.com/facebook/flipper/pull/615

Test Plan:
Tested on my private repo:
https://github.com/jknoxville/flipper/releases/tag/v0.1.john

Reviewed By: passy

Differential Revision: D18224747

Pulled By: jknoxville

fbshipit-source-id: 25d2905bd7539faa91974b23a33678168aef29d8
2019-10-30 11:23:28 -07:00
John Knox
c1b320be6e Move "Download" out of the Mac button on front page
Summary:
This didn't look quite right to me, "Download Mac", "Linux", "Windows".
Changed it to a separate "Download for", with "Mac", "Linux" and "Windows" buttons.

Reviewed By: passy

Differential Revision: D18225271

fbshipit-source-id: d644570d072029fc792cd9d9c18d8616ada0017b
2019-10-30 11:23:28 -07:00
Gijs Weterings
7e374ebdf1 Don't send notifications for crashes we can't explain
Summary: If the `crash.reason` assumes the default value of "Cannot figure out the cause", we don't show a notification in the hub. The crash is still visible in the Crash plugin, but the superfluous Reason row is hidden there, as we can't say anything useful there anyways

Reviewed By: passy

Differential Revision: D18223910

fbshipit-source-id: c033085badbf633b58f95c495c6d3a22bc7fb163
2019-10-30 08:38:17 -07:00
Gijs Weterings
d0ab63297f Convert Flipper plugin "Fresco" to TypeScript
Summary:
Moves the Fresco plugin to TypeScript, including fixing any typing/nullable warnings following this.

Note that parameters of event handlers previously using the SyntheticInputEvent flow type now accept a parameter of type `any`. This is done since the InputEvent api is not covered by ts bindings, as the interface is deemed experimental and not fully covered by browsers (see https://fettblog.eu/typescript-react/events/#wheres-inputevent for more info)

Reviewed By: passy

Differential Revision: D18201893

fbshipit-source-id: 41d1e5fc1ceaa8f8453c0f5929e754b7c32c0eb8
2019-10-30 08:33:52 -07:00
Gijs Weterings
7ca230a9c6 MVP of filtering errors based on crash reason field
Summary: Minimal change to be able to filter crashes in the notifications tab, to filter out recurring/irrelevant crashes such as the one in https://github.com/facebook/flipper/issues/609

Reviewed By: passy

Differential Revision: D18223356

fbshipit-source-id: 8cf2187d53c9fec98c9a35edefb0da5783fe7c8e
2019-10-30 08:28:46 -07:00
Jason Safaiyeh
0cd89ba1c4 Fix typos on react-native setup page (#612)
Summary:
Typo in `Podfile` comment
Unnecessary `\` in iOS Setup code

## Changelog
Fixed typos in react-native set up page.
Pull Request resolved: https://github.com/facebook/flipper/pull/612

Test Plan: Just Documentation

Differential Revision: D18223575

Pulled By: passy

fbshipit-source-id: 12c35b4570287d6899769eb0283fb8149fedbeac
2019-10-30 05:50:30 -07:00
Pritesh Nandgaonkar
e73381a85c JSON.stringify over custom serializer
Summary: This diff calls JSON.stringify on the final export object instead of the custom serializer. As the custom serializer is slower, because it has to check for different types on its children before serializing it. Which adds to the complexity. The time gain which we get is 3x, that is with this change the export is 3 times faster. We required custom serializer, because the logs had `Date` which is not serializable. So that is being taken care while importing it.

Reviewed By: jknoxville

Differential Revision: D18171202

fbshipit-source-id: cd1b59b74dabb4c35a032dc7b54f183a68e37823
2019-10-29 13:47:01 -07:00
Pritesh Nandgaonkar
f49745448c Pass the status Msg as an argument
Summary: Before this diff whenever one called serialize method it showed `Serializing Flipper  ` msg without showing the explicit details of which data we are serializing. Thus with this diff one can pass the status msg as an argument which will be displayed while serializing.

Reviewed By: jknoxville

Differential Revision: D18173024

fbshipit-source-id: a4e7e073498993626204061d4e774099f00b8c5a
2019-10-29 13:47:00 -07:00
Pritesh Nandgaonkar
63ac7e7e93 Add selection option for plugin selection component
Summary: This diff refactors the Select plugin sheet to have multi select and single select options. Also renamed the class names and variables, as its business logic is quite generic.

Reviewed By: jknoxville

Differential Revision: D18118359

fbshipit-source-id: 2f1a6840032b81c5fdd9af9f6e69ea2ff611bf13
2019-10-29 13:47:00 -07:00
Chaiwat Ekkaewnumchai
7017ed3458 Update React-Redux
Summary:
D18169584 introduced state error which I didn't notice. This diff reverted the diff.
`hg backout D18169584`

Original commit changeset: 77a8b034c5e4

Reviewed By: jknoxville

Differential Revision: D18203354

fbshipit-source-id: 3e281f1e8c7e1d2bf41665adfa5ce5f13daca3a1
2019-10-29 12:14:27 -07:00