Commit Graph

3269 Commits

Author SHA1 Message Date
Mihaela Ogrezeanu
73e8c03eea Bump Litho version in Flipper to 0.32.0
Reviewed By: passy

Differential Revision: D18595382

fbshipit-source-id: eb770a5c56fa9d543a4ae52244ef79b4ec4511b1
2019-11-19 10:28:18 -08:00
Sara Valderrama
353cfeafc8 update accessibility hierarchy to treat lithoViews and LithoRecyclerViews as ViewGroups
Summary: This will correctly show all view children instead of reverting to the non-ax default behavior. Fixes bug where recycler views showed no children.

Reviewed By: jknoxville

Differential Revision: D18574220

fbshipit-source-id: f22606fb582e0bfd1a171dc4497e1d1613e800d1
2019-11-19 10:04:10 -08:00
Sara Valderrama
19df98e525 update accessibility hierarchy to show class names
Summary: Show the simple name instead of the node info class since this is taken into account for the attributes.

Reviewed By: jknoxville

Differential Revision: D18574219

fbshipit-source-id: 4b134e8be18c313e08df423dcdbe286d96c80b56
2019-11-19 10:04:10 -08:00
John Knox
352d9c82cb Add Markdown component to render markdown
Summary:
Adds a Markdown component to the component library.

The react-markdown library doesn't work out of the box because elements it outputs don't have any styles, e.g. h1, h2, p, em, etc.

So I've added a custom renderer to give styles to each of these that workplace markdown uses.
The only one I haven't done at the moment that I'm aware of is numbered-lists.

There's probably a way to get back the original styling of these elements so we don't need a custom renderer, but this works for now, and also allows us to customise their appearance.

Reviewed By: passy

Differential Revision: D18533085

fbshipit-source-id: a4332a11d34d577a6300074e4dde126362d46a6b
2019-11-19 05:52:51 -08:00
Chaiwat Ekkaewnumchai
6c4e687d63 Fix Notifications Not Showing up
Summary: Notification tab was not accessible previously.

Reviewed By: passy

Differential Revision: D18590702

fbshipit-source-id: 36888a2e695dc701ea848cb772c00e4feed8659f
2019-11-19 05:20:20 -08:00
Pascal Hartig
9faea2acec Bump to Flow 0.112
Summary: Surprisingly, this didn't require any code changes. \o/

Reviewed By: mweststrate

Differential Revision: D18527897

fbshipit-source-id: a69744374f6f6e4d2b3e3acf67d5303b3882b5c3
2019-11-19 02:52:39 -08:00
Pascal Hartig
50555c5ca1 Bump to Flow 0.111
Summary:
Not the most recent release but this upgrade works now
with the stack of diffs underneath. Will do 0.112 next.

Reviewed By: mweststrate

Differential Revision: D18527871

fbshipit-source-id: 2346b9dac86768deec7b3cb9039adb1d76cb2d7e
2019-11-19 02:52:39 -08:00
Pritesh Nandgaonkar
f1aeb947b7 Persist the state of the support form
Summary:
This diff migrates the current state variables of the support form to the redux store, so that they can be persisted. This change will make them exportable and also solve the bug, where user navigates away from the form and comes back to see the support form's data vanished.

Right now the videos are not persisted, as its uploading bit is a work in progress.

Reviewed By: passy

Differential Revision: D18531674

fbshipit-source-id: b1e824377da55cf531312920ff1bb5b862a12010
2019-11-18 12:38:29 -08:00
Michel Weststrate
d97675f2e6 Fix broken export functionality
Summary: This fixes a regression bug introduced by the rework sidebar selection: when trying to export a Flipper Trace flipper would error: 'No client exported' after making plugin selection

Reviewed By: priteshrnandgaonkar

Differential Revision: D18571143

fbshipit-source-id: c7a292e53cb79d0b2d95e09f8e9b041ae0d711cf
2019-11-18 08:32:44 -08:00
greenkeeper[bot]
bf336ccf6c Update yargs in group main to the latest version � (#642)
Summary:
## The dependency [yargs](https://github.com/yargs/yargs) was updated from `14.2.1` to `15.0.1`.
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:** [bcoe](https://www.npmjs.com/~bcoe)
**License:** MIT

<details>
<summary>Release Notes for yargs v15.0.1</summary>

<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> cliui, find-up, and string-width, all drop Node 6 support (<a href="https://www.github.com/yargs/yargs/issues/1479">#1479</a>) (<a href="6a9ebe2d95">6a9ebe2</a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 22 commits ahead by 22, behind by 2.</p>
<ul>
<li><a href="aa09faf708"><code>aa09faf</code></a> <code>chore: release 15.0.1 (#1480)</code></li>
<li><a href="6a9ebe2d95"><code>6a9ebe2</code></a> <code>fix(deps): cliui, find-up, and string-width, all drop Node 6 support (#1479)</code></li>
<li><a href="5cc2b5e15b"><code>5cc2b5e</code></a> <code>chore: release 15.0.0 (#1462)</code></li>
<li><a href="62a114a90a"><code>62a114a</code></a> <code>force build</code></li>
<li><a href="1840ba22f1"><code>1840ba2</code></a> <code>feat: expose <code>Parser</code> from <code>require('yargs/yargs')</code> (#1477)</code></li>
<li><a href="afd5b4871b"><code>afd5b48</code></a> <code>fix(docs): update boolean description and examples in docs (#1474)</code></li>
<li><a href="c10c38cca0"><code>c10c38c</code></a> <code>feat(deps)!: yargs-parser now throws on invalid combinations of config (#1470)</code></li>
<li><a href="0cba424d8b"><code>0cba424</code></a> <code>build: switch to release-please for releases (#1471)</code></li>
<li><a href="445bc587d8"><code>445bc58</code></a> <code>chore: update engines to note Node 6 is dropped (#1469)</code></li>
<li><a href="52d875a46d"><code>52d875a</code></a> <code>test: add additional test for 1459</code></li>
<li><a href="12c82e6266"><code>12c82e6</code></a> <code>fix: stop-parse was not being respected by commands (#1459)</code></li>
<li><a href="b4812ac99a"><code>b4812ac</code></a> <code>test: add tests for argsert warning to display positional information (#1468)</code></li>
<li><a href="10f10ee189"><code>10f10ee</code></a> <code>test: cover missing filter arg in obj-filter (#1467)</code></li>
<li><a href="cb0396fda2"><code>cb0396f</code></a> <code>build: switch to c8 for coverage (#1464)</code></li>
<li><a href="ebee59d902"><code>ebee59d</code></a> <code>fix!: update to yargs-parser with fix for array default values (#1463)</code></li>
</ul>
<p>There are 22 commits in total.</p>
<p>See the <a href="2fe88f5e22...aa09faf708">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/642

Test Plan:
Imported from GitHub, without a `Test Plan:` line.
`yarn start` run

Reviewed By: mweststrate

Differential Revision: D18561405

Pulled By: cekkaewnumchai

fbshipit-source-id: 10548df44311e74630e047004f22307a7339b673
2019-11-18 02:21:45 -08:00
Michel Weststrate
f22e373136 Improve support request details import form
Summary:
Created as standard layout that can be used for both the import and export form

Standardized components used, so that we work towards a Design Framework that is consistent. Took inspiration from some existing plugins.

Also fixed weird sidebar transparency.

Reviewed By: passy

Differential Revision: D18504078

fbshipit-source-id: 7649abf7aa3eba8ba635337a41274bba93738e81
2019-11-18 02:21:15 -08:00
Michel Weststrate
9f7be13e39 Rework sidebar selection
Summary:
- Make sure newly connecting apps are automatically selected
- Improved the sidebar UI by using more consistent, spacious styling, and giving some more attention to error states

Reviewed By: passy

Differential Revision: D18505636

fbshipit-source-id: 18b2c8e78be13aabb3a54c60553f6b0d1e613b27
2019-11-18 02:21:14 -08:00
Pascal Hartig
5bd0cd3d63 Remove workflows (#639)
Summary:
sadface

Hopefully this can be reverted quickly but right now we don't have
Actions support in our org and the failures here are causing all
sorts of downstream errors.
Pull Request resolved: https://github.com/facebook/flipper/pull/639

Test Plan: This PR

Reviewed By: cekkaewnumchai

Differential Revision: D18506405

Pulled By: passy

fbshipit-source-id: 325209d91b5d985772195703a3429e49700d7666
2019-11-15 02:55:32 -08:00
Michel Weststrate
0a8222410c Fix React devtools experience
Summary:
Currently most components are shown anonymously in the component tree, because using `styled` creates unnamed components, shown as the HTML elements they result in.

This has two downsides:
1. React errors / warnings are really vague and it is hard to locate where they are coming from
2. The React Devtools don't show which components are rendering.
3. The effect of the latter it is hard to copy-from-example when developing plugins. This leads to a lot of inconsitency and duplication in the layouts of components

Reviewed By: jknoxville

Differential Revision: D18503675

fbshipit-source-id: 5a9ea1765346fb4c6a49e37ffa4d0b4bbcd86587
2019-11-15 02:09:32 -08:00
Pascal Hartig
24097ea9b2 Make plugin updates work
Summary:
Effectively just removes and re-installs but that way we know
we have everything we need.

Reviewed By: jknoxville

Differential Revision: D18479831

fbshipit-source-id: 5d47abfc660288e1137f393534512997e8b3f83e
2019-11-14 08:53:16 -08:00
Pascal Hartig
144338e74a Add update indicators to PluginInstaller
Summary:
Display is functional, the update itself isn't just yet.
Want to keep this easier to review. Instead of GK, I just
have a top-level toggle for now, because that will go
away with one of the next diffs anyway.

Reviewed By: jknoxville

Differential Revision: D18479290

fbshipit-source-id: b49394d4ab681c9d1dc5db0e4bee54f9255494b9
2019-11-14 08:53:16 -08:00
Pascal Hartig
7a148ef7a6 Search for update logic
Summary:
To be used in the following diff and because it's super side effect
heavy, I didn't bother to implement tests for it.

Reviewed By: jknoxville

Differential Revision: D18479311

fbshipit-source-id: 5cbcae0ebf2de4558b993325e50f6a2da1ed3ea7
2019-11-14 08:53:15 -08:00
Pritesh Nandgaonkar
8afc1b67f3 Record and display videos
Summary:
This diff adds one more section in the Support Screen V2. This section records and displays the emulator screen. Right now the videos are stored at the very same location where our currently recorded videos are stored. For displaying them on UI I have used `react-player` dependency.

For the upload bit:

I will see how the exisiting e2e tests upload videos and if we can use their approach. Or else we can just upload videos on everstore and export its handle as part of flipper trace. The last resort can be to base64 encode it along with the trace.

Reviewed By: mweststrate

Differential Revision: D18460779

fbshipit-source-id: 8ddd51f59e5237a1a80f05bf90dfc3bead651143
2019-11-14 06:28:19 -08:00
Michel Weststrate
d2ab55a6f8 Introduce support request details form
Summary: Initial setup for a support detail form. Will only show up if meta data is present in the flipper file, so use the attached one to see it.

Reviewed By: jknoxville

Differential Revision: D18479193

fbshipit-source-id: 61da089f1e883fea20b2422a6bea99b2f8a4434b
2019-11-14 05:46:14 -08:00
Chaiwat Ekkaewnumchai
a578b4d559 @allow-large-files [flipper][deps] Upgrade Electron (#636)
Summary:
allow-large-files

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

per title

Reviewed By: jknoxville

Differential Revision: D18374332

fbshipit-source-id: f7300f527b65b65caebac51c5bcf8f019dc34228
2019-11-13 10:51:16 -08:00
John Knox
0914deda2d Add Healthcheck Result type
Summary: Adds a type for the return type of runHealthchecks()

Reviewed By: passy

Differential Revision: D18474919

fbshipit-source-id: b86968088d61d9d2d31815b4c725396cc05d8ca5
2019-11-13 08:42:40 -08:00
John Knox
ad64b257f6 Upgrade prettier
Summary: So we can use null coalescing and the other goodies in the doctor.

Reviewed By: passy

Differential Revision: D18477611

fbshipit-source-id: 60108d3c7c03e3fe4a4313653d5f615d287411fd
2019-11-13 08:42:39 -08:00
John Knox
6fee72513e Fix sidebar text
Summary:
"Not connected clients" doesn't really make sense.
Changing to to "No clients connected"

Reviewed By: passy

Differential Revision: D18478077

fbshipit-source-id: 2d9d3853997a3401d41463e1a956773b3514c14f
2019-11-13 08:39:21 -08:00
Michel Weststrate
dcb6595d1d Make imported devices visually recognizable
Summary:
If a flipper file is imported, from now on we will show that fact in the sidebar to make it more clear we are looking at an imported device. Beyond that, those devices are marked as `(imported)` rather than `(offline)` to distinguish between offline and imported devices.

This should help with future feature like cross device applicable actions.

Reviewed By: jknoxville

Differential Revision: D18448190

fbshipit-source-id: 560084f010207c99cecd616e43a6cc02e62cbc7a
2019-11-13 08:36:56 -08:00
Michel Weststrate
ad90f98a0e enable optional chaining in plugins
Summary: Enable transpilation of optional chaining in plugins

Reviewed By: jknoxville

Differential Revision: D18451930

fbshipit-source-id: a55aa8d7a65ee8e6568e61ae377c199acfd158f4
2019-11-13 08:36:55 -08:00
Michel Weststrate
33a91b5e0f Fix tabs offset
Summary: Tabs have a weird negative offsite in the mobile config section (they have everywhere by default, to escape their containers in a mac-style but it does hide them in this specific case)

Reviewed By: priteshrnandgaonkar

Differential Revision: D18448191

fbshipit-source-id: 792daa5a3ef1aa91df730bd185124076471e42d3
2019-11-13 08:36:55 -08:00
Michel Weststrate
989b32c7b9 only capture selected application in exports
Summary:
Currently flipper export exports all connected the clients. This causes a few problems

1. This might often be unintended by the user, causing accidentally sharing (sensitive) information in the trace
2. This slows down things unnecesary. Especially if there is connected application, which is expensive, but not needed. See the attached video for the impact on exporting flipper: Export size reduzed from 11 to 0.5 mb. Export time from 20 seconds down to 1. (Flipper might not be a representative example, but imagine working on fb4a and having instagram on the emulator as well).

Reviewed By: priteshrnandgaonkar

Differential Revision: D18448194

fbshipit-source-id: f4de4c6dd89bda20251eb5f7423f7996339c8f2d
2019-11-13 08:36:55 -08:00
Michel Weststrate
f2d12f1025 Fixed a bunch of prettier errors after upgrading
Summary: prettier upgrade uncovered more errors

Reviewed By: passy

Differential Revision: D18474908

fbshipit-source-id: b1553000fb3386f2bbd9defdd3332618e4b9c867
2019-11-13 08:36:54 -08:00
Michel Weststrate
677f7b5b5f Updated build deps to be able to use TS 3.7 features
Summary: Optional chaining was not actually usuable, since prettier and eslint weren't updated yet. Since they are released now, this diff fixes that

Reviewed By: jknoxville

Differential Revision: D18449890

fbshipit-source-id: 722110c6cfe328ef5a7e8d9d0cc42e5117e9f796
2019-11-13 08:36:54 -08:00
Pascal Hartig
4606afd1ee Flipper Bump: v0.28.1-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: jknoxville

Differential Revision: D18453213

fbshipit-source-id: 2f3a2df099e81506695dcf85a8ccaae248128d1a
2019-11-13 05:47:28 -08:00
Pascal Hartig
1784179187 Flipper Release: v0.28.0
Summary:
**Highlights**

- Redesigned sidebar.
- Compatibility with XCode 11.

Full list of changes: https://github.com/facebook/flipper/compare/v0.27.0...master

Reviewed By: jknoxville

Differential Revision: D18453214

fbshipit-source-id: 98012ba81558bce60a5b75815fb0734a0fbf3445
2019-11-13 05:47:27 -08:00
greenkeeper[bot]
be36aa4bc1 Greenkeeper/website/monorepo.babel7 20191108210517 (#637)
Summary:
Upgrading babel.
Pull Request resolved: https://github.com/facebook/flipper/pull/637

Reviewed By: jknoxville

Differential Revision: D18474995

Pulled By: passy

fbshipit-source-id: fb6bb724e4431b85bf8a503d32d9480aeaa28239
2019-11-13 03:04:26 -08:00
greenkeeper[bot]
1cd92e43a5 Update mem in group website to the latest version � (#635)
Summary:
## The dependency [mem](https://github.com/sindresorhus/mem) was updated from `5.1.1` to `6.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:** [sindresorhus](https://www.npmjs.com/~sindresorhus)
**License:** MIT

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

 ---

<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/635

Reviewed By: jknoxville

Differential Revision: D18449137

Pulled By: passy

fbshipit-source-id: 2ca358574ef710e0113e092d2d887ef2c2ac8047
2019-11-13 02:29:34 -08:00
greenkeeper[bot]
e7a063e2c3 Update chalk to the latest version � (#632)
Summary:
## The dependency [chalk](https://github.com/chalk/chalk) was updated from `2.4.2` 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:** [sindresorhus](https://www.npmjs.com/~sindresorhus)
**License:** MIT

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

 ---

<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/632

Reviewed By: jknoxville

Differential Revision: D18449136

Pulled By: passy

fbshipit-source-id: 066878bbce1c0bdeed8da497c07af97756a13439
2019-11-12 10:24:16 -08:00
Pritesh Nandgaonkar
c1d5e8699b Update Flipper-Folly dependency
Summary: I have made a new release for Flipper-Folly with the changes in the base diff

Reviewed By: jknoxville

Differential Revision: D18449493

fbshipit-source-id: bdb60d2a5b16cd0e3fc8d2e135d6d52b97c61fd0
2019-11-12 09:52:48 -08:00
Janic Duplessis
ef06f6d546 Cleanup Flipper-Folly.podspec included headers (#518)
Summary:
- This removes `folly/**/*.h` in `source_files` which causes all headers to be included. Instead we include only the headers needed to build. In my case this caused a conflict with folly's "Zlib.h" getting included instead of the system "zlib.h" (apparently paths are not case sensitive).
- Remove duplicates in `public_header_files`, we can just keep `"folly/**/*.h"` to make all headers public.
- Remove `preserve_paths`, this is not be needed anymore.

## Changelog

Cleanup Flipper-Folly.podspec included headers
Pull Request resolved: https://github.com/facebook/flipper/pull/518

Test Plan: Tested in an app that everything build using the modified podspec.

Reviewed By: jknoxville

Differential Revision: D16918216

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 81cc9891c67bcb019580eb21d1b8e6d7318a4e03
2019-11-12 09:52:48 -08:00
John Knox
22a86747d4 Wrap command execution in util
Summary:
Take the low level execution details out of the healthchecks.

The xcode-select change is sound because `xcode-select -p` returns status code > 0 when not set, so exec will throw, so no need to inspect stdout.

Reviewed By: passy

Differential Revision: D18449564

fbshipit-source-id: b2e2797a51aca45cfd78e707e99341798401897c
2019-11-12 06:55:52 -08:00
John Knox
999e3784b8 Check for openssl
Reviewed By: mweststrate

Differential Revision: D18448006

fbshipit-source-id: 1d98c1f8476e916f270c9d8f7bc63ab0d2386ac6
2019-11-12 06:55:52 -08:00
John Knox
802c857578 Check instruments are on path
Reviewed By: mweststrate

Differential Revision: D18427166

fbshipit-source-id: be075a23d2f0216ac79fc8bd8e083a351e9dbbc9
2019-11-12 06:55:51 -08:00
John Knox
55cfe11e2c Check xcode-select is set
Summary:
Basic check for some xcode-path

There'll be a separate connected device check that looks at the current simulators and sees if they are running the same xcode version.

Reviewed By: mweststrate

Differential Revision: D18427090

fbshipit-source-id: 5e202d8920cae1ffce444e81a0c138a97936f758
2019-11-12 06:55:51 -08:00
John Knox
1750516250 Add check for Xcode
Summary: Checks for xcode. We'll be able to do some version comparisons here if we find incompatible versions going forward, but for now, just check if it exists.

Reviewed By: mweststrate

Differential Revision: D18425284

fbshipit-source-id: 4a35a40de17f168f409c86264c5c3e172d7d1569
2019-11-12 06:55:51 -08:00
John Knox
fc1e4098ed Make healthchecks async
Summary:
Rework the healthchecks.

* Makes them healthcheck run api async so they can do more.
* Adds isRequired to the top level categories - this specifies if the category itself is required. The isRequired attributes of its constituent checks specifies if they are required within that category.
* Move isRequired outside the result of the healthcheck functions, because its static.

Reviewed By: mweststrate

Differential Revision: D18425189

fbshipit-source-id: 9d5c136a426732375d32cd27a758d9c92d123214
2019-11-12 06:55:50 -08:00
Pritesh Nandgaonkar
5bdba4935a Commit hash field added
Summary:
This diff adds commit hash field in the support form v2 and we prefill the information.

If changes are not pushed to phabricator we will populate it with commit hash or else we will populate it with Diff number.

See the demo to understand the flow.

{F222000517}

Reviewed By: jknoxville

Differential Revision: D18427044

fbshipit-source-id: 80a58baca381e21203da5670e29144a7e8c2eeed
2019-11-12 04:52:42 -08:00
Michel Weststrate
774fddb6bf collapse error bar by default
Summary: Since most employees use flipper in development mode, the current error bar might be overly obtrusive, so we collapse it by default

Reviewed By: priteshrnandgaonkar

Differential Revision: D18448192

fbshipit-source-id: 9aa211df6c9a519860dffdced3619119e0ee8e22
2019-11-12 04:46:06 -08:00
Michel Weststrate
d6814a8bf6 Move sidebar client selection state to redux store
Summary:
This diff moves the selection storage from local state to the Redux store.
This makes the state available to the export data functionality (next diff)

Reviewed By: priteshrnandgaonkar

Differential Revision: D18448193

fbshipit-source-id: b1cce083ac7805c539de22aca0bd05c18e1b66e0
2019-11-12 04:46:05 -08:00
John Knox
e2c196cc7c Upgrade uglify-js
Summary: Fixes https://github.com/facebook/flipper/issues/629

Reviewed By: mweststrate

Differential Revision: D18429396

fbshipit-source-id: 206211c0e6e248b0a05a59a1347cbd239e78c298
2019-11-12 02:03:15 -08:00
Pritesh Nandgaonkar
db9bd6c22e Fixes the broken build of Sample app on open source
Summary:
This diff fixes the broken sample app for xcode 11. Followed the remediation mentioned in the following links

https://github.com/Carthage/Carthage/issues/2825
https://twitter.com/krzyzanowskim/status/1151549874653081601?s=21

Remediation:

Adding Dummy swift file and assigning `"LD_VERIFY_BITCODE": "NO"` solves the problem as suggested in the above links

Reviewed By: jknoxville

Differential Revision: D18420954

fbshipit-source-id: e87930790329ffb2bb92c40aa197552efeedecd3
2019-11-11 10:16:11 -08:00
Michel Weststrate
93655d39b8 Fix more react warnings
Summary: Fixing random React errors as I encountered them.

Reviewed By: jknoxville

Differential Revision: D18397950

fbshipit-source-id: cb73fcd6cd9aac2cd53c982e5a58760be12a10ca
2019-11-11 05:11:04 -08:00
Pritesh Nandgaonkar
19937c4b83 Fix the import and export of the createtable plugin
Summary:
Before this diff, plugins made with createTablePlugin would not be exportable as it uses ImmutableJS's Map which is not serializable. In the custom serializer we just handle the normal map, not the immutableJS one. Thus to tackle this I overrode the serializer and deserializer methods to handle it.

Before this diff the funnellogger import didn't work.
{F221607733}

Reviewed By: mweststrate

Differential Revision: D18352298

fbshipit-source-id: 57d4f3e19f38c12a30e75167646ae43ac8690e08
2019-11-08 06:21:17 -08:00
Pritesh Nandgaonkar
f4a42cc4ea Add more telemetry events
Summary:
Added more telemetry events for the following events

- Time taken for each plugin to fetch meta data
- Overall time taken for fetching all meta data
- Overall time taken for serializing plugins
- Time taken to serialize individual plugins with overridden serializer and deserializer methods

Reviewed By: passy

Differential Revision: D18349588

fbshipit-source-id: 2b3a6b663a9df4da45580fc0be5651a27ca4093d
2019-11-08 05:05:02 -08:00