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
Daniel Büchele
eaceddbb32
Block
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830542
fbshipit-source-id: 9bc5a3d7b9967b30537fb073383d3eb0aaf0d11e
2019-08-20 04:09:45 -07:00
Daniel Büchele
134a1d8a47
CodeBlock
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830550
fbshipit-source-id: 547cb13e8dffab6d2f82bef1135d27faa5730b43
2019-08-20 04:09:44 -07:00
Daniel Büchele
11f6b84b94
Checkbox
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830538
fbshipit-source-id: cb5c104edfd2318c73b6b32adcd86362fc965ec8
2019-08-20 04:09:44 -07:00
Daniel Büchele
4dd1a954c9
Box
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830543
fbshipit-source-id: f0ed2744186d8133bf551c6ed7165952a269ca68
2019-08-20 04:09:44 -07:00
Daniel Büchele
17675ec348
ContextMenu components
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16830535
fbshipit-source-id: 77e36626f722c64ab85ee6e176d0ba05a6849a99
2019-08-20 04:09:43 -07:00
Daniel Büchele
f63782c043
ErrorBlock
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830531
fbshipit-source-id: 600ff64959426a0f0ac75c76e28e639da15e6be3
2019-08-20 04:09:43 -07:00
Daniel Büchele
84092534ce
ErrorBoundary
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830532
fbshipit-source-id: 482d16194cfe8547b9926a0b9b08cfc9e2b46972
2019-08-20 04:09:43 -07:00
Daniel Büchele
9159256a3c
File components
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16830536
fbshipit-source-id: 979ee7d0ced339ff5c0d200c209d34656827e152
2019-08-20 04:09:42 -07:00
Daniel Büchele
c9260cca33
Flex components
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16830540
fbshipit-source-id: 43741df5844a9f33930af8846cfcb2b28c9c6278
2019-08-20 04:09:42 -07:00
Daniel Büchele
2520ad4cea
Focusable Box
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830533
fbshipit-source-id: c7e9aa9c1e2086ca81754ef1e50aa0335fc57e7c
2019-08-20 04:09:42 -07:00
Daniel Büchele
4eff1dc073
Glyph
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830545
fbshipit-source-id: d2fbbe76e4aaf36d8558a2e793d782f184e1da54
2019-08-20 04:09:41 -07:00
Daniel Büchele
462c903380
Heading
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830534
fbshipit-source-id: e2e7f97c41892297fd4b65ab1e63ae3f40c06e39
2019-08-20 04:09:41 -07:00
Daniel Büchele
9eae871ac0
Horizontal Rule
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830551
fbshipit-source-id: 2e6cde92986278416caade40f6bbd2e0e1a15330
2019-08-20 04:09:41 -07:00
Daniel Büchele
e4c93791cd
Input
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830541
fbshipit-source-id: ee8b25fae3f553823d4b63e1a963a005f21df7a6
2019-08-20 04:09:41 -07:00
Daniel Büchele
28a295bcf1
Interactive
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16830548
fbshipit-source-id: d0530ef3491af95bece7fba610a4b1cf19c80bd1
2019-08-20 04:09:40 -07:00
Daniel Büchele
e00db4f6d3
Label
...
Summary: _typescript_
Reviewed By: passy
Differential Revision: D16830549
fbshipit-source-id: aee447e0716b00e7ad5ca80379625693843d23eb
2019-08-20 04:09:40 -07:00
Daniel Büchele
4c6aec42d8
Link
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830544
fbshipit-source-id: 868518b9601d1772af8363b940b72cb3ab2f6cc8
2019-08-20 04:09:40 -07:00
Daniel Büchele
e80385169a
LoadingIndicator
...
Summary: _typescript_
Reviewed By: passy, bnelo12
Differential Revision: D16830547
fbshipit-source-id: faaf843dfc667242aa9bf34443b89856751dd2b8
2019-08-20 04:09:39 -07:00
Daniel Büchele
726b9cb141
VirtualList
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830546
fbshipit-source-id: cd3caa4a37bb9abaf7c23c58d90d61c5e32cea08
2019-08-20 04:09:39 -07:00
Daniel Büchele
115e2b3576
ViewWithSize
...
Summary: _typescript_
Reviewed By: bnelo12
Differential Revision: D16830537
fbshipit-source-id: 2ca4854a0dd4c092b6e4b09aefeb676f5921fe9e
2019-08-20 04:09:39 -07:00
Daniel Büchele
68271e2017
View
...
Summary: _typescript_
Reviewed By: passy, bnelo12
Differential Revision: D16830062
fbshipit-source-id: 19742e156c138ab867bb0e9f40dc140f1e98dec9
2019-08-20 04:09:39 -07:00
Daniel Büchele
8f05ea5018
VerticalRule
...
Summary: _typescript_
Reviewed By: passy, bnelo12
Differential Revision: D16830055
fbshipit-source-id: c3478d75c74e4677b9e38ab8aa068702550d147b
2019-08-20 04:09:38 -07:00
Daniel Büchele
2a76461fb8
Tooltip components
...
Summary: _typescript_
Reviewed By: passy, bnelo12
Differential Revision: D16830063
fbshipit-source-id: bd0cf3c109caba74ee5a8f9915d46630007702fe
2019-08-20 04:09:38 -07:00
Daniel Büchele
5770a206be
Toolbar
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16830060
fbshipit-source-id: d9570a96fee61d2d6794c41a15aa8cbba23ae7c1
2019-08-20 04:09:38 -07:00
Daniel Büchele
ea82d7d673
ToggleSwitch
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16830056
fbshipit-source-id: 8bc1e93d781691a6f20f842422b06ec281cf688f
2019-08-20 04:09:37 -07:00
Daniel Büchele
13ed952c09
Textarea
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16830057
fbshipit-source-id: 1a9e185ff108431f3c5900259375ff635eee3057
2019-08-20 04:09:37 -07:00
Daniel Büchele
ff77d4928e
TextParagraph
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16830061
fbshipit-source-id: da34f572f48b744e392c917b8b402630949e6736
2019-08-20 04:09:37 -07:00
Daniel Büchele
b48e2bcf71
Text
...
Summary: _typescript_
Reviewed By: priteshrnandgaonkar
Differential Revision: D16830059
fbshipit-source-id: 6dab58d19d679d748f82543a3a4b2424adff6052
2019-08-20 04:09:36 -07:00