Commit Graph

185 Commits

Author SHA1 Message Date
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
Daniel Büchele
56d4a83184 Tab components
Summary: _typescript_

Reviewed By: passy

Differential Revision: D16830058

fbshipit-source-id: 22825fdad0924f1f8cdebcbb7a56e0c55ad3b5f3
2019-08-20 04:09:36 -07:00
Daniel Büchele
00c2a4dd29 StatusIndicator
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16830064

fbshipit-source-id: 947a7af91e4bdffedc321db369d79da4584d64f7
2019-08-20 04:09:36 -07:00
Daniel Büchele
fae45bc5ac Stacktrace
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828873

fbshipit-source-id: 518ac076960bc0bbc3dd0766eb0e81c4576e5db5
2019-08-20 04:09:36 -07:00
Daniel Büchele
4c521858c7 Sidebar components
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828870

fbshipit-source-id: b343b28b3dd1700919df3fcfde659f7fe99cadff
2019-08-20 04:09:35 -07:00
Daniel Büchele
dedf09c2ae Sheet
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828874

fbshipit-source-id: 1111d5e5ceae38c7af0a5e211efbbad57a110a45
2019-08-20 04:09:35 -07:00
Daniel Büchele
4ad072aa2c Select
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828872

fbshipit-source-id: 31c7a6604ab5c9749bce41bb81f6b8acb56e846b
2019-08-20 04:09:35 -07:00
Daniel Büchele
e199ee95d3 ResizeSensor
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828871

fbshipit-source-id: d88c65178f0728b40414c9eab66d0402d7d51edd
2019-08-20 04:09:34 -07:00
Daniel Büchele
aee3ab86cf Popover
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828816

fbshipit-source-id: e90852fcebd02416c3d5cfd8011bb96d2ea0d672
2019-08-20 04:09:34 -07:00
Daniel Büchele
f8e357d2c1 PathBreadcrumbs
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828812

fbshipit-source-id: 89ab25bcb83e79a0ee41998f0708dd7affd18766
2019-08-20 04:09:34 -07:00
Daniel Büchele
d5a5ce21c9 Panel
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828813

fbshipit-source-id: 9307391dc914ea10b458092b2ec72cd30e2eb0e9
2019-08-20 04:09:33 -07:00
Daniel Büchele
027a7f8336 Orderable
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828817

fbshipit-source-id: 24e35d29730d2b336a478fee41baa84af2892d12
2019-08-20 04:09:33 -07:00
Daniel Büchele
751b50c28f ModalOverlay
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828815

fbshipit-source-id: 9341286f7c3c32da3f7abeda53b78b2b7fa7bd1b
2019-08-20 04:09:33 -07:00
Daniel Büchele
3691305b4d MarkerTimeline
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828814

fbshipit-source-id: 13b86338a73a4838857a31e16ea184e35ebfa7d0
2019-08-20 04:09:32 -07:00
Daniel Büchele
cd10856c3e Colors
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828226

fbshipit-source-id: e6dd9946ae642a27ebc8a3f6dfce6773051f5a7a
2019-08-20 04:09:32 -07:00
Daniel Büchele
c1b718db8f Console
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828108

fbshipit-source-id: ca04853242b2f6511ecf28250add78bbbf79ba05
2019-08-20 04:09:32 -07:00
Daniel Büchele
6e19315e48 Desktop Toolbar
Summary: _typescript_

Reviewed By: priteshrnandgaonkar

Differential Revision: D16828106

fbshipit-source-id: 449b238ac709bbbd26086a054cd9b996385bd29b
2019-08-20 04:09:32 -07:00
Benjamin Elo
1ae3b90019 Added LocationsButton when Navigation Plugin is active
Summary:
Here I've added the LocationsButton to the TitleBar in Flipper. This allows the user to navigate to saved bookmarks, or display the current page URI without ever opening the Navigation Plugin (Except to add bookmarks). The challenge of this diff was having a TitleBar child be controlled by a plugin.

The LocationsButton pulls bookmarks straight from the database whenever a mouseDown event is called on the button. (The Electron popup menu does not respond to props changes, so the menu is opened on mouse up and getting the bookmarks from the database occurs on mouse down... This seems to work fine).

The nav plugin on the Android side will now also send a welcome message alerting the app to created a persisted state for the navigation plugin, which shows the button in the TitleBar.

Let me know if I can answer any questions.

Reviewed By: danielbuechele

Differential Revision: D16786330

fbshipit-source-id: afc95348d9b7ec4ee041f42bb4d022f58c6bb969
2019-08-14 05:27:43 -07:00
Pascal Hartig
d812b128ba Migrate LowPassFilter
Summary: _typescript_

Reviewed By: danielbuechele

Differential Revision: D16764120

fbshipit-source-id: 03185c74f3a1e753089ea550d3f193027aae9424
2019-08-13 08:26:55 -07:00
Pascal Hartig
93467193ad Migrate InteractionTracker
Summary: N.B. There was one duplicate definition which TS rightfully complained about.

Reviewed By: danielbuechele

Differential Revision: D16764036

fbshipit-source-id: 498e4703c2363b19a3bdfa44527bde5000034095
2019-08-13 08:26:54 -07:00
Pascal Hartig
85aeaa0e47 Migrate geometry/snap
Summary: Seemed quite related.

Reviewed By: jknoxville

Differential Revision: D16711573

fbshipit-source-id: 3c6b355a5ed6fae5cb5bac824b57adcc2b28024a
2019-08-12 03:53:15 -07:00
John Knox
9b6f3684cb Convert utils/snap to TS
Reviewed By: danielbuechele

Differential Revision: D16710422

fbshipit-source-id: 2f907904a7df24f6972952d0c7a63d7e6506e2ff
2019-08-12 03:11:15 -07:00
John Knox
a522afd64f Convert utils/textContent.tsx to TS
Summary: Convert utils/textContent.tsx to TS

Reviewed By: danielbuechele

Differential Revision: D16710386

fbshipit-source-id: 225d66965d915fc1c36e382e3c06c7b2dad5d973
2019-08-12 03:11:15 -07:00
Pascal Hartig
36a1c0046c Migrate createPaste
Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D16649018

fbshipit-source-id: c30d4ec390946e4b6de49ffeccc452d0a55c1e7a
2019-08-09 03:25:05 -07:00
Pascal Hartig
fc0966a133 Migrate GK
Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D16647882

fbshipit-source-id: a5a7053379cd9468e1da9ab0ac2098be3443dda7
2019-08-08 14:32:20 -07:00
John Knox
3bfb7faf0a Convert plugin.js to plugin.tsx
Summary:
* Deletes plugin.js
* Adds plugin.tsx
* Adds plugin flow-typed module that has the old flow types

Reviewed By: passy

Differential Revision: D16668067

fbshipit-source-id: b2f0ce47c4cf7125b4e352821e921b97675d12a9
2019-08-08 12:06:11 -07:00
Daniel Büchele
5f53087c7e client server
Summary: Migrating Server, Client and UninitializedClient to TypeScript

Reviewed By: passy

Differential Revision: D16687855

fbshipit-source-id: 402e4dbcd5d283d3e280d4d8b312662829457886
2019-08-08 11:00:38 -07:00
Daniel Büchele
64cefd0f84 migrate redux store
Summary: Migrating redux stores to TypeScript

Reviewed By: passy

Differential Revision: D16579796

fbshipit-source-id: e3e507f17f1bdd57eb45e30cb0b28aaee6c4521c
2019-08-08 08:07:21 -07:00
Daniel Büchele
16e913a819 local icons
Summary:
Currently icons were always fetched remotely. We used a service worker to prefetch and cache some icons, that were critical to the UI.

In this diff, we are bundling icons at build time, with the app. In utils/icons.js we still specfify the list of icons which should be bundled. These are downloaded as part of the build step and bundled with the app. We are downloading the icons in 1x and 2x (the two most common pixel densities).

Reviewed By: jknoxville

Differential Revision: D16620764

fbshipit-source-id: 965a7793ad1f08aebb292606add00218429cdaf4
2019-08-02 09:00:00 -07:00
Zoltán Gilián
1717fba410 Add option to disable keyboard navigation in ManagedTable
Summary: This may be needed e.g. if there are multiple ManagedTables in the window.

Reviewed By: jknoxville, danielbuechele

Differential Revision: D16620862

fbshipit-source-id: 1880e9e6e8e9ece5f687b2768eae7c4f206f69da
2019-08-02 08:35:16 -07:00
Sara Valderrama
f591475f85 A few mini-fixes for the accessibility layout inspector
Summary:
- fix mutual selection of elements in ax and non-ax tree (simplifies linkedNode logic as well)
- remove unneeded extraInfo attributes (focused, nonAXwithAXchild, & hasAXNode were not/no longer being used)
- use 50/50 fixed width view for trees when both are visible

Reviewed By: jknoxville

Differential Revision: D16390355

fbshipit-source-id: bbf9ea887f8f1035df8b4b0562ddcc4de291f004
2019-08-01 22:03:26 -07:00
Roman Gorbunov
cb374ffccd Flipper sent messages while editing
Summary: In previous version when you edited something in the flipper, after each symbol flipper sent a message to edit a value to mobile side. Now "change message" will be sent only after pressing "Enter" button.

Reviewed By: priteshrnandgaonkar

Differential Revision: D16338101

fbshipit-source-id: 6605663d0b0059fdb2d20cb279e133afc25d47f1
2019-07-25 04:03:02 -07:00
Benjamin Elo
a86ea5131c Added onHideSheet method to Sheet props
Summary:
This component was added back in January, but it hasn't been used, and thus no one has tested it in the real world.

It needs a onHideSheet method to unmount this component when the plugin sheet becomes hidden. This allows the sheet to appear and dissapear on button clicks, instead of only appearing when the container component loads.

For the old behavior see the test plan in this diff: D13597251

Reviewed By: jknoxville

Differential Revision: D16443836

fbshipit-source-id: 68feec23338287dbafc846689ea2a1b35be4b2b0
2019-07-24 02:53:24 -07:00