Commit Graph

942 Commits

Author SHA1 Message Date
generatedunixname89002005306973
7a6f95d120 Flipper Release: v0.235.0
Summary: Releasing version 0.235.0

Reviewed By: aigoncharov

Differential Revision: D50885746

fbshipit-source-id: 582d6c6373ffcd96572ae59f11709bb2d2741c67
2023-11-01 10:11:43 -07:00
generatedunixname89002005306973
7bbc386d71 Flipper Release: v0.234.0
Summary: Releasing version 0.234.0

Reviewed By: aigoncharov

Differential Revision: D50878230

fbshipit-source-id: 79a2a01b4e881ae6b97e3616057e759fd4f73c64
2023-11-01 05:11:58 -07:00
Luke De Feo
f3449a5641 Make panel adhere to Figma design
Summary: css to change the header styling

Reviewed By: lblasa

Differential Revision: D50595982

fbshipit-source-id: 836ea7881426e95abb449c085fca39606cd8cfdd
2023-10-26 05:24:30 -07:00
Luke De Feo
115cb1af71 Dont show empty subsections
Summary: changelog: UIDebugger - new sidebar design

Reviewed By: lblasa

Differential Revision: D50653551

fbshipit-source-id: 8a173abb033f35ba6abd2d5f417e647ca2ffe8e7
2023-10-26 05:24:30 -07:00
Luke De Feo
20a1b9d255 format numbers
Reviewed By: lblasa

Differential Revision: D50653525

fbshipit-source-id: 265a2821acef572ca6d9576be647ee1d07f3850e
2023-10-26 05:24:30 -07:00
Luke De Feo
8af6ca7f02 Shrink input size (final )
Summary:
Allows more content on screen. Final diff of stack

Changelog: UIDebugger, new sidebar design

Reviewed By: lblasa

Differential Revision: D50595987

fbshipit-source-id: 436af4191dba37f7a0f41dca23ab6349856358cd
2023-10-26 05:24:30 -07:00
Luke De Feo
aafd7e12df Add raw data panel
Reviewed By: lblasa

Differential Revision: D50595980

fbshipit-source-id: 3679d53cfbfe38ab466d96efe39928c0299fb4d5
2023-10-26 05:24:30 -07:00
Luke De Feo
457361985c Basic filtering
Summary: This filtering scheme is extremely basic, we only filter based on top level fields. Other schemes I considered were somewhat confusing and this works well in most if not all cases

Reviewed By: lblasa

Differential Revision: D50595986

fbshipit-source-id: 90cb82f8fc482fd4c6f996ff9e857f27766df544
2023-10-26 05:24:30 -07:00
Luke De Feo
ce693ef33e Handle inspectable array
Summary: This was not handled and arrays were not properly transformed

Reviewed By: lblasa

Differential Revision: D50595983

fbshipit-source-id: cae8777c653cc9fc2a1ea8cab05b3df476121855
2023-10-26 05:24:30 -07:00
Luke De Feo
fa2845d86d Use text for tab headings
Summary: Use text for tab headings

Reviewed By: lblasa

Differential Revision: D50595976

fbshipit-source-id: c062bb984ef83d76761e1deb9f24ec095099bd98
2023-10-26 05:24:30 -07:00
Luke De Feo
184316545a Treat unknown as text
Reviewed By: lblasa

Differential Revision: D50595978

fbshipit-source-id: 867eb08c3ab365a808d5c7b53a7772298e9c9156
2023-10-26 05:24:30 -07:00
Luke De Feo
b4d80c3f80 Add support for complex types
Summary:
Complex nested arrays and objects are displayed in a modal since there isnt enough space to it practically.

Not many attributes in practice fall into this category

Reviewed By: lblasa

Differential Revision: D50595981

fbshipit-source-id: b1eda93c448de19c8803d64eb4cf105e2b6636a8
2023-10-26 05:24:30 -07:00
Luke De Feo
f5d974a26c Add support for color
Summary: we show rbga on one line, and hex + preview on second line

Reviewed By: lblasa

Differential Revision: D50595979

fbshipit-source-id: 86015ceeb5e64e67fb85e3431f85916f7d175ca2
2023-10-26 05:24:30 -07:00
Luke De Feo
65de40be7c Add support for Subsections
Summary:
in the figma design we have the concept of subsections which are single level deep objects shown inline
{F1126292520}

More complex nested objects are shown a a preview that you have to click on and will come later

Reviewed By: lblasa

Differential Revision: D50595984

fbshipit-source-id: ea831731b87ce9968516129cf177953e200cf4d5
2023-10-26 05:24:30 -07:00
Luke De Feo
b184500d94 New sidebar design 1/n
Summary: Added basic infra basic types

Reviewed By: lblasa

Differential Revision: D50595985

fbshipit-source-id: 48ebd74bd8ccebdd8a6d69dbda344b8d831dc04f
2023-10-26 05:24:30 -07:00
generatedunixname89002005306973
554cc88462 Flipper Release: v0.233.0
Summary: Releasing version 0.233.0

Reviewed By: lblasa

Differential Revision: D50642810

fbshipit-source-id: 6c42fdbdf61aed5c0af11dbb781496a917c44b8c
2023-10-25 06:57:03 -07:00
generatedunixname89002005306973
280d9544d1 Flipper Release: v0.232.0
Summary: Releasing version 0.232.0

Reviewed By: aigoncharov

Differential Revision: D50595864

fbshipit-source-id: 73c27ff739b585adc24db7bfd2d512153bea442a
2023-10-24 04:51:33 -07:00
Luke De Feo
05242b4ee9 Handle traversal error
Summary: Log as console . error so we get a log view and inform the user

Reviewed By: lblasa

Differential Revision: D50450794

fbshipit-source-id: 0eb1877eec4d602d6673dd2815af2692e89b2523
2023-10-24 04:10:29 -07:00
generatedunixname89002005306973
0509022dd5 Flipper Release: v0.231.0
Summary: Releasing version 0.231.0

Reviewed By: aigoncharov

Differential Revision: D50548698

fbshipit-source-id: 06c1e452ce9a5d3c6fc049f2fc2047d2b8bbc7e7
2023-10-23 03:42:26 -07:00
Anton Kastritskiy
663380e721 mark unused vars as errors
Reviewed By: lblasa

Differential Revision: D50500690

fbshipit-source-id: 6f739fe25c232ecfe842337af4399681e85f6a13
2023-10-20 12:44:58 -07:00
generatedunixname89002005306973
edc69ac8ee Flipper Release: v0.230.0
Summary: Releasing version 0.230.0

Reviewed By: lblasa

Differential Revision: D50495656

fbshipit-source-id: 1c60110c1fe198a317217b8f2be667fa5f77e893
2023-10-20 06:53:48 -07:00
generatedunixname89002005306973
a0ffacb6b6 Flipper Release: v0.229.0
Summary: Releasing version 0.229.0

Reviewed By: lblasa

Differential Revision: D50444276

fbshipit-source-id: cb7a962db5bf891787c07626d1eb3dbe5a6c0817
2023-10-19 03:12:05 -07:00
generatedunixname89002005306973
f12fc5c983 Flipper Release: v0.228.0
Summary: Releasing version 0.228.0

Reviewed By: lblasa

Differential Revision: D50407780

fbshipit-source-id: b015e08f21fc4f0182e8a6589785e772505163f1
2023-10-18 06:50:02 -07:00
generatedunixname89002005306973
56c0cee119 Flipper Release: v0.227.0
Summary: Releasing version 0.227.0

Reviewed By: lblasa

Differential Revision: D50327905

fbshipit-source-id: 0d47229ec2d8710a5a07d8581ae86e77815ecef5
2023-10-16 11:31:18 -07:00
generatedunixname89002005306973
3e721d15af Flipper Release: v0.226.0
Summary: Releasing version 0.226.0

Reviewed By: antonk52

Differential Revision: D50173834

fbshipit-source-id: 4cab7655169d7429d0ba9bb54a4a89ea4df3eccf
2023-10-11 11:13:10 -07:00
generatedunixname89002005306973
c90751e0f1 Flipper Release: v0.225.0
Summary: Releasing version 0.225.0

Reviewed By: lblasa

Differential Revision: D50008889

fbshipit-source-id: b6b8b4118383e30a3f4cb74286316e9662ea860e
2023-10-06 05:18:19 -07:00
generatedunixname89002005306973
36ad271cd7 Flipper Release: v0.224.0
Summary: Releasing version 0.224.0

Reviewed By: lblasa

Differential Revision: D49969020

fbshipit-source-id: 0ef4b2ef6cb101ada06e27c4a804f356aa5f39a3
2023-10-05 22:39:45 -07:00
generatedunixname89002005306973
893584a5d3 Flipper Release: v0.223.0
Summary: Releasing version 0.223.0

Reviewed By: lblasa

Differential Revision: D49836323

fbshipit-source-id: 7f68b7e9716403a664a3839762ea05b7a583920c
2023-10-03 03:40:34 -07:00
Luke De Feo
4d7b017430 Use antd icon
Summary:
the glyph isnt working and need to get it fixed asap

changelog: UIDebugger fix icon for litho event timeline tab

Reviewed By: ivanmisuno

Differential Revision: D49780805

fbshipit-source-id: 832746237a43552171cd8e0bd3063318159279dd
2023-09-29 11:21:05 -07:00
Luke De Feo
a748a1c2a2 Accessibility mode tweaks
Summary:
The run through indexes could be cut off when they were elements that touched the left edge of the screen.

If label was complete obscured when it was on the top left

Also index 0 was missing

changelog: UIDebugger: improvements to iOS Accessibility mode

Reviewed By: zats

Differential Revision: D49704398

fbshipit-source-id: cb069857a9175f2c1a8157f41fe6d83fb96f795d
2023-09-29 09:03:38 -07:00
Lorenzo Blasa
d971820609 Improve node export
Summary: ^

Reviewed By: antonk52

Differential Revision: D49634301

fbshipit-source-id: a7e27d3f370a17f5eb3740772f572135e586e0c7
2023-09-26 04:38:59 -07:00
Lorenzo Blasa
c1b0d9d753 Export node as JSON
Summary:
There has been multiple requests to incorporate an export to plain text functionality for a while.

This diff adds it.

It will export a node and optionally its chidren as JSON.

Reviewed By: antonk52

Differential Revision: D49596476

fbshipit-source-id: 3681bc0c2d02e1ea64ff589e0e272f6d54ad0524
2023-09-25 08:44:37 -07:00
generatedunixname89002005306973
6b9adfe130 Flipper Release: v0.222.0
Summary: Releasing version 0.222.0

Reviewed By: lblasa

Differential Revision: D49593015

fbshipit-source-id: 9fd4b4f42134f2fb244ddeabff6b83748151e36a
2023-09-25 06:30:50 -07:00
Luke De Feo
a4933373b5 accessability toggle button
Summary:
Should be more discoverable

changelog: UIDebugger accessibility mode for iOS launched, look for icon to the right of the search bar

Reviewed By: zats

Differential Revision: D49547952

fbshipit-source-id: 3befdffedb34907d9824bb66b86e20fd4a1a42ff
2023-09-25 02:02:26 -07:00
Luke De Feo
10d5a2933a handle error when device disconected
Summary: Log views were being generated, this seems like a reasonable solution.

Reviewed By: zats

Differential Revision: D49547368

fbshipit-source-id: 575dd81a7c9b9a831d1dfb46088c2f5e1d731f22
2023-09-25 02:02:26 -07:00
Luke De Feo
2ff91170e0 increase highlight time and random colours for event monitoring
Summary:
1. makes it easier to tellwhen a parent and child hightlight together
2. Longer times means you have more time to click it and see

changelog: UIDebugger event debugger - increased highlight time. Nodes get random highlight color

Reviewed By: lblasa

Differential Revision: D49501954

fbshipit-source-id: 9456c00e0df77c40934eb95b4b48b566c7715181
2023-09-21 08:50:36 -07:00
generatedunixname89002005306973
d4aed4eb30 Flipper Release: v0.221.0
Summary: Releasing version 0.221.0

Reviewed By: lblasa

Differential Revision: D49500418

fbshipit-source-id: 3e9acccf130782aff2bca2c4f4cfaf8537158acd
2023-09-21 08:37:28 -07:00
Sash Zats
60364eadca Add runthrough index for accessibility mode
Summary:
In accessibility mode it is important to be visually aware of the order of the elements on the screen aside from the list on the left

To enable this let's show the indices on the elements
Voice over assumes single continuous list of objects so it is okay to pass index of children we should never have nested lists in accessibility mode

Reviewed By: lblasa

Differential Revision: D49440400

fbshipit-source-id: e6878b4b33952053823451ad76993259f0794067
2023-09-20 11:37:12 -07:00
Sash Zats
1c3720fd5c Add ui-debugger modes
Summary:
## This diff: Add debugger mode infrastructure

We want to enable infrastructure allowing adding modes in the future without branching client and plugin code

This infra allows for the client to send a message informing flipper about the supported modes (following diffs)

Currently broadcasting mode change event over to the client

Reviewed By: lblasa

Differential Revision: D49385860

fbshipit-source-id: 2db6f65064d1ff7e1f57b2da93c3ed195400fb7f
2023-09-20 11:37:12 -07:00
Luke De Feo
a033f96725 Add support for warnings from client
Summary:
THis is useful for bloks where fliper needs to be open before hand,

We might also be able to replace some of the annoying notification bubles with these sleeker inline warnings

Reviewed By: lblasa

Differential Revision: D49454977

fbshipit-source-id: fca4fbd3258a68d93c75655cfff247adfa3e6bb2
2023-09-20 05:43:49 -07:00
generatedunixname89002005306973
b06272344b Flipper Release: v0.220.0
Summary: Releasing version 0.220.0

Reviewed By: lblasa

Differential Revision: D49375501

fbshipit-source-id: 5efe6e1c47d566f0c8b1409cf14fa302fc4178d8
2023-09-18 11:49:40 -07:00
generatedunixname89002005306973
643e2aa998 Flipper Release: v0.219.0
Summary: Releasing version 0.219.0

Reviewed By: lblasa

Differential Revision: D49317332

fbshipit-source-id: 0f8dc308fcf8360925cddb95b0fa975b04b86a29
2023-09-15 07:26:57 -07:00
Luke De Feo
237faddb40 Fix crash for bloks sidebar
Summary: Bloks ios is serializing some ns dictionary without registering the metadata, this means the look up fails. That said regsitering metadata for dictionarys where the keyspace is unbounded doesnt make any sense so for this case we can just fall back to the key as the name. Since we can rely on the id lookup passing we iterarates the enties of the object

Reviewed By: passy, ivanmisuno

Differential Revision: D49314398

fbshipit-source-id: 65f7beb0d8402b08a68b9f00b7605e0b6c44766f
2023-09-15 04:05:43 -07:00
Luke De Feo
21b4423231 Refactor stream inteceptor
Summary:
There was a frustrating issue previously where the UI would jump everytime a new frame came in with bloks data. This would occur constantly as the client was generating new frames every 10 seconds. The issue was because the previous appraoch to speed up the augmentation was to display the raw client raw and then asynchronously process a new frame with the added derived components.

The issue was the raw client frame has less nodes so we would breifly display this, and because the reduciton trace was cache on the next tick we would show this causing a jump.

Now we have a new solution:

1. We use an event emitter to push frames / metadata into the interceptor
2. The interceptor should always produce 1 frame, this can be the same or augmented, for open source its just the same
3. We use react query to check if we already have the reduction trace cached, if so then we are able to quickly process the whole thing, if not its split into 2 parts.

React query is also nice since we can add a cache time for the reduciton traces which are very large and not useful one your screen is gone. This should help keep memory usage under control a bit.

one other benefit to this approach is i can remove the error handling stuff from the main plugin code, since the blok augmentation is not on the critical path and it can retry internally and push out a new frame whenever.

Reviewed By: antonk52

Differential Revision: D49272152

fbshipit-source-id: e5539d36231a32754e8612014195449b9faafdb1
2023-09-15 04:05:43 -07:00
generatedunixname89002005306973
e369fac36b Flipper Release: v0.218.0
Summary: Releasing version 0.218.0

Reviewed By: lblasa

Differential Revision: D49274241

fbshipit-source-id: 9f658704183200175a105327e42bd4ef5567e37a
2023-09-14 09:25:32 -07:00
generatedunixname89002005306973
879c57fb34 Flipper Release: v0.217.0
Summary: Releasing version 0.217.0

Reviewed By: lblasa

Differential Revision: D49227620

fbshipit-source-id: ac587ecb7f4821d55d123f99c16336e74e276fd4
2023-09-13 06:56:59 -07:00
Lorenzo Blasa
e80843d433 Modal visible -> open
Summary: The `visible` prop is marked as deprecated in favour of `open`

Reviewed By: passy

Differential Revision: D49226821

fbshipit-source-id: 4a4a7d03a1c8ff860c4e4cd02e19071185a8554e
2023-09-13 05:19:13 -07:00
generatedunixname89002005306973
21a61119ba Flipper Release: v0.216.0
Summary: Releasing version 0.216.0

Reviewed By: mweststrate

Differential Revision: D49006715

fbshipit-source-id: 3fedc1c62d9eee8d810eddc681de3a7f490b7a9d
2023-09-06 06:34:16 -07:00
Luke De Feo
aab84d3fb9 Use new antd apis for framework events
Summary: No more warnings.

Reviewed By: antonk52

Differential Revision: D48964070

fbshipit-source-id: 4f9b9affb04b8bc355b0687c9bc9c7273e469d78
2023-09-05 10:01:17 -07:00
Anton Kastritskiy
4439411d29 bump or ignore types packages
Reviewed By: LukeDefeo

Differential Revision: D48782825

fbshipit-source-id: 00c46fa609847272b48f8f4476291666e9251c95
2023-09-04 14:52:34 -07:00