Commit Graph

1917 Commits

Author SHA1 Message Date
Anatolii Shevchenko
e874e032c6 Remove ; from method implementation definition
Summary: Removing excessive semicolon ";" symbol from method implementation definition.

Reviewed By: adamjernst

Differential Revision: D16912006

fbshipit-source-id: 9c3e778a107e8fd0055f40a95ea9ca58d461e1c5
2019-08-21 15:49:04 -07:00
Chaiwat Ekkaewnumchai
ea7578aa16 Expand/Collapse Sidebar V0
Summary:
- Show all or show 5 LRU plugins
- Update when close/reopen app, collapse sidebar, or expand sidebar

Reviewed By: danielbuechele

Differential Revision: D16917950

fbshipit-source-id: 1e7edc86945162ea14e1cdaa89aa47d3defa4c7d
2019-08-21 08:50:34 -07:00
Chaiwat Ekkaewnumchai
007a29805a Setting up Persist Storage for LRU Plugins
Summary:
- Change policy to show plugins to LRU (least recently used)
- Add persist storage to store LRU plugins

Reviewed By: danielbuechele

Differential Revision: D16917951

fbshipit-source-id: 8ea7b2f15e06db51209953818f465a05e24c38c4
2019-08-21 08:50:34 -07:00
Chaiwat Ekkaewnumchai
afd7634fd6 Add Button to Expand or Collapse Left Panel
Summary:
- Add `show more` and `show less` button to expand and collapse
- The element to show depends on its usage rank from Flipper dashboard (manually copied)

Reviewed By: danielbuechele

Differential Revision: D16917952

fbshipit-source-id: fc37d5c640be33794694e302341fa08849b8f97f
2019-08-21 08:50:33 -07:00
Pascal Hartig
d1b17d3ecd Update jssetup for TypeScript
Reviewed By: jknoxville

Differential Revision: D16918664

fbshipit-source-id: 934ad08d60d882b013a3f1d9201d330a6c117bb1
2019-08-21 04:55:33 -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
Sara Valderrama
8699d62b47 fix isTalkbackFocusable evaluation utils for flipper plugins
Summary: utils used by redblock and layout plugins were incorrectly checking node instead of childNode for listviews that have non-visible children

Reviewed By: nscoding

Differential Revision: D16897804

fbshipit-source-id: 8f62956c57568694db76030377552e43ce3a9216
2019-08-20 10:40:38 -07:00
John Knox
f1d0ca7edf Fix layout snapshot test
Summary:
The test didn't run when the sample app was updated with an extra button, so that change snuck in and caused subsequent runs to fail.

The stacked diff makes sure it will run all the time.

Reviewed By: passy

Differential Revision: D16898015

fbshipit-source-id: 0fd9ce7eaef293465d87b283b3c9bfe1fba928e5
2019-08-20 09:14:39 -07:00
James Harmon
20a96da071 Fixes for shared preferences viewer plugin (#521)
Summary:
Resolve issues for SharedPreferences Viewer

## Changelog

Fix issue https://github.com/facebook/flipper/issues/469 - Changed values for Booleans not displaying
Fix issue https://github.com/facebook/flipper/issues/499 - SharedPreference files names not sorted
Pull Request resolved: https://github.com/facebook/flipper/pull/521

Reviewed By: passy

Differential Revision: D16914831

Pulled By: jknoxville

fbshipit-source-id: de07e4f7dec85ac5a2c9bc7cab48f549313f38fd
2019-08-20 09:05:57 -07:00
Pritesh Nandgaonkar
d850f1ff43 Update the bump version script
Summary: Updates the bump_version script to update the flipperkit version in Tutorial's Podfile.

Reviewed By: passy

Differential Revision: D16916433

fbshipit-source-id: dd5cf24fbbe4e9ca322178632613caebe178cc17
2019-08-20 08:41:30 -07:00
Pritesh Nandgaonkar
6056e85f5d Update installation instruction for CP 1.7+ (#522)
Summary:
This PR updates the installation instruction for Cocoapods 1.7+ as the previous installation instruction was broken for the latest Cocoapods version

Solves https://github.com/facebook/flipper/issues/478 and https://github.com/facebook/flipper/issues/495

## Changelog

- Updated the Documentation
- Updated the sample app
Pull Request resolved: https://github.com/facebook/flipper/pull/522

Test Plan:
- Travis CI
- Also tested locally by building sample app.

Reviewed By: jknoxville

Differential Revision: D16902023

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 19cc01c842f93ab3565c302f8258ca88dbdecfb2
2019-08-20 07:02:18 -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