Pascal Hartig
2fcd0cbcac
Convert logs plugin to TypeScript
...
Summary: _typescript_
Reviewed By: danielbuechele
Differential Revision: D17184173
fbshipit-source-id: c7a055544ee4d9e07e5685fa84669d68fd68bf31
2019-09-16 09:14:09 -07:00
Pascal Hartig
cbbe32b9b9
Remove FlowFixMe's from TypeScript
...
Summary: This diff was a joy to draft.
Reviewed By: jknoxville
Differential Revision: D17344676
fbshipit-source-id: 0694d0393fa243edef61408ecfee92912fbbfa32
2019-09-12 10:20:08 -07:00
John Knox
b71ae59545
TableNativePlugin
...
Reviewed By: passy
Differential Revision: D17258701
fbshipit-source-id: 0d622e63cc028969c9c6d51c5aa2cc8977aac151
2019-09-09 06:54:37 -07:00
Ivelin Rachev
9ebf5346df
Convert Flipper plugin "mobileboost" to TypeScript
...
Summary: Bugfix for Tab.tsx + implicitly typed react vizualized
Reviewed By: danielbuechele
Differential Revision: D17205342
fbshipit-source-id: 48d29c583f0790af46f3d9c8d0280015b58d56aa
2019-09-09 03:51:22 -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
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
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
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
Daniel Büchele
b924b14225
fix icon default size
...
Summary:
Logs plugin expected the default icons size to be 16 and therefor didn't set it explicitly. However, with the TS migration we lost the default size.
This adds back the default size for icons.
Reviewed By: jknoxville
Differential Revision: D17156747
fbshipit-source-id: a37f3a2bd189a56019aee1939618caf21122a397
2019-09-02 10:03:10 -07:00
Benjamin Elo
0a9c4bdcf4
Migrated RequiredParametersDialog to TypeScript
...
Summary: Migrated RequiredParametersDialog.js to RequiredParametersDialog.tsx
Reviewed By: danielbuechele
Differential Revision: D17132223
fbshipit-source-id: a4a592ba58b8c8b94b3106c3a2c0916b2776697f
2019-09-02 04:13:40 -07:00
Benjamin Elo
36a8dfc1f6
Migrate IconButton to TypeScript
...
Summary: Migrated IconButton.js to IconButton.tsx
Reviewed By: danielbuechele
Differential Revision: D17132224
fbshipit-source-id: d4f14050385c7c25900e9a9d01f3b9a0dcff3a31
2019-09-02 04:13:39 -07:00
Daniel Büchele
4453dec778
interactive
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D17096587
fbshipit-source-id: 22ada6ef8f544b0c02bdf5a01e798b123fa6b238
2019-09-02 02:29:31 -07:00
Daniel Büchele
5868946818
certificate provider
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D17096517
fbshipit-source-id: a6e69e8b9a82fe76bb1de51a3a93182f35f40b3f
2019-08-28 20:34:59 -07:00
Daniel Büchele
9970c50daf
gylphs
...
Summary: Adding type declaration for glyphs
Reviewed By: passy
Differential Revision: D17096295
fbshipit-source-id: e8994e0c81c3668fa909479dbaea613ec2b86dc4
2019-08-28 19:50:29 -07:00
Daniel Büchele
ff31ac0b45
fix strict errors
...
Summary: fixing some errors for strict mode enabled files
Reviewed By: passy
Differential Revision: D16988271
fbshipit-source-id: 09834cad9c2dd8abb987e4f708ae7a30922d90c7
2019-08-28 11:12:22 -07:00
Daniel Büchele
8d653672f2
fix keyboard navigation
...
Summary: Keyboard events were not handled correctly. This was because the tabIndex was not set correctly. Maybe a regression from the TypeScript conversion.
Reviewed By: passy
Differential Revision: D17079157
fbshipit-source-id: 752853c0d761da67c7b09f50b531abf58bc7feec
2019-08-28 10:36:44 -07:00
Daniel Büchele
0ec48d4fc9
index
...
Summary:
This converts the index file to TypeScript which is used as an export for all plugins. Alongside, I had to fix a couple of errors in various files to make sure everything works correctly.
For plugins using flow, we define an interface which uses the type definition for FlipperPlugin and types all UI components as `any`.
Reviewed By: passy
Differential Revision: D16936890
fbshipit-source-id: dacd9a63a82b9f0bbb530b06072186874cba7b6f
2019-08-22 10:02:27 -07:00
Benjamin Elo
076087f0b2
Fix for button popup menus not rendering
...
Summary: The electron menu popup requires that the position be an integer. Somehow the y-position of the button in the title bar has been moved by half a pixel. Calling Math.floor on the returned values fixes this.
Reviewed By: passy
Differential Revision: D16936833
fbshipit-source-id: 6abb9add4288f1d64c051ba3e45519340ccbb56e
2019-08-21 04:13:01 -07:00
Pritesh Nandgaonkar
a2a288182d
Migrate elementes-inspector files from js to tsx
...
Summary: As per title
Reviewed By: danielbuechele
Differential Revision: D16772834
fbshipit-source-id: 4290c139ce66731b68433d54eda0d0e0207e9912
2019-08-20 06:26:53 -07:00
Pritesh Nandgaonkar
7f7e96b99f
Move utils in data-inspector from js to tsx
...
Summary: As per title
Reviewed By: danielbuechele
Differential Revision: D16772870
fbshipit-source-id: ac980accc22fc0cda011629cd5f56dca4021fc83
2019-08-20 06:26:52 -07:00
Pritesh Nandgaonkar
0c87a82804
Migrate DataDescription from js to tsx
...
Summary: As per title
Reviewed By: danielbuechele
Differential Revision: D16770503
fbshipit-source-id: f8e4fddeb84aefef469a97f65dd65f951dd55e22
2019-08-20 06:26:52 -07:00
Pritesh Nandgaonkar
d84900aa8c
Migrate DataPreview to tsx
...
Summary: As per title
Reviewed By: danielbuechele
Differential Revision: D16764969
fbshipit-source-id: 8b8d7f7c92ee99dbbb8b7277e1f38f90da927003
2019-08-20 06:26:52 -07:00
Pritesh Nandgaonkar
9294bf0b82
Move ManagedDataInspector from js to tsx
...
Summary: As per the title
Reviewed By: danielbuechele
Differential Revision: D16764792
fbshipit-source-id: 6dd9953c3434c6e56b6ee50e3708f3be350c907f
2019-08-20 06:26:51 -07:00
Pritesh Nandgaonkar
709830c8d2
Move Data inspector files to tsx
...
Summary: As per the title
Reviewed By: danielbuechele
Differential Revision: D16764787
fbshipit-source-id: 5652ce4f317c694ccdf5938cb125e51006a6eef1
2019-08-20 06:26:51 -07:00
Daniel Büchele
4c4169063d
table
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16807180
fbshipit-source-id: dcba794351eee69c0574dc224cf7bd2732bea447
2019-08-20 05:45:48 -07:00
Daniel Büchele
62a204bdbe
Searchable
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16807182
fbshipit-source-id: 68bc8365bc5b0d8075d0a93d5963c824c0d66769
2019-08-20 05:45:48 -07:00
Daniel Büchele
c8c90ee413
Filter
...
Summary: _typescript_
Reviewed By: jknoxville
Differential Revision: D16807179
fbshipit-source-id: b5de66d686394acba6552de139764bb65b3ac652
2019-08-20 05:45:47 -07:00
Daniel Büchele
1deb3c68f9
remove intro
...
Summary: Removing the Intro component. It's not used anywhere and wasn't even exported from the flipper package.
Reviewed By: passy
Differential Revision: D16807181
fbshipit-source-id: 87d4b92e275a364e478a6999a144eb66e3977c66
2019-08-20 05:45:47 -07:00
Daniel Büchele
5cb12c3b1f
Button components
...
Summary: _typescript_
Reviewed By: passy, bnelo12
Differential Revision: D16830539
fbshipit-source-id: a44ad0914b2581648b06e421476e0ba31ae96992
2019-08-20 05:45:47 -07:00