Commit Graph

8616 Commits

Author SHA1 Message Date
Lorenzo Blasa
47b718d104 Remove TCP option as it will be the only option
Summary: UDS will be removed. The first step would be to remove the TCP optionality.

Reviewed By: passy

Differential Revision: D48264741

fbshipit-source-id: ca9e1b68be61e99240e95bcd4f26f2db63a64005
2023-08-11 08:19:51 -07:00
Lorenzo Blasa
bdc2d5f6eb If there are no connected clients, shutdown immediately
Summary: Instead of delaying the shutdown by a set timer, immediately shutdown.

Reviewed By: antonk52

Differential Revision: D48264571

fbshipit-source-id: 5e6556f2ecafb7cf9a19b3075e72f2be1abf9f95
2023-08-11 08:19:51 -07:00
Lorenzo Blasa
f93da44ee5 Remove idb device polling record
Summary:
If listing devices is successful, then don't record the event
as this is triggered every X amount of seconds.

Reviewed By: antonk52

Differential Revision: D47995681

fbshipit-source-id: 2d0fa68fd7b9c4ce74bad9e8cc0296691d9b8880
2023-08-11 08:19:51 -07:00
Andrey Goncharov
3b99e386a2 Fix comment
Reviewed By: LukeDefeo

Differential Revision: D48191671

fbshipit-source-id: 6978e831f48ffe4e8a8c6e71b819205cb3868966
2023-08-09 14:15:33 -07:00
generatedunixname89002005306973
8749145664 Flipper Snapshot Bump: v0.211.1-SNAPSHOT
Summary: Releasing snapshot version 0.211.1-SNAPSHOT

Reviewed By: ivanmisuno

Differential Revision: D48185751

fbshipit-source-id: 4190086bd4545ff09dd278c61c5b152cb3a65a80
2023-08-09 09:23:44 -07:00
generatedunixname89002005306973
22f67e389f Flipper Release: v0.211.0
Summary: Releasing version 0.211.0

Reviewed By: ivanmisuno

Differential Revision: D48185752

fbshipit-source-id: 9e81f1e869e86194e8d90d83a3a988c778bb22e4
2023-08-09 09:23:44 -07:00
Andrey Goncharov
2834d3300a Track filtering and searching for data table
Reviewed By: mweststrate

Differential Revision: D48116067

fbshipit-source-id: 2dee2cfd68a23e1153b3f10ff229009777e936da
2023-08-09 08:01:44 -07:00
Luke De Feo
b30f7492cd Add connection listeners and framework events
Summary: Infra that will be used to capture litho framework events

Reviewed By: lblasa

Differential Revision: D47951601

fbshipit-source-id: 1dd756dc872d474f2872ff8cac1fd6aa3697e42b
2023-08-08 11:43:05 -07:00
Hamdullah Shah
0fdd901297 DataDescriptor BigInt
Summary: The `DataDescriptionType` accepts the `BigInt` type but it doesn't render. Added the `case` for that and reuse the `NumberValue` tag for it.

Reviewed By: aigoncharov

Differential Revision: D48152012

fbshipit-source-id: 32ebc8a37df34d57b40c7ecdad331c547415b335
2023-08-08 09:50:08 -07:00
Pascal Hartig
24cfd74252 Remove dokka plugin (#4995)
Summary:
[gradle] Remove dokka plugin
This is currently breaking our jetpack-compose build and blocks the entire release
as a consequence: https://github.com/facebook/flipper/issues/4970

There are all sorts of workarounds but they require changing the java target
which could have other downstream consequences: https://github.com/Kotlin/dokka/issues/2956

We don't actually rely on these artefacts at all, so it's probably safe to just disable this.

Closes https://github.com/facebook/flipper/issues/4970

Pull Request resolved: https://github.com/facebook/flipper/pull/4995

Test Plan: ./gradlew publishToMavenLocal

Reviewed By: antonk52

Differential Revision: D48062872

Pulled By: passy

fbshipit-source-id: aef0696d5ac83dd50bcbb96b0552f9b222f5a566
2023-08-07 11:18:54 -07:00
github-actions[bot]
25ff271633 Automated: Update Podfile.lock (#4994)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

Pull Request resolved: https://github.com/facebook/flipper/pull/4994

Reviewed By: mweststrate

Differential Revision: D48112730

Pulled By: passy

fbshipit-source-id: 1429d64dc5c200a8af3eb162702cf81e1c9af72a
2023-08-07 10:56:27 -07:00
generatedunixname89002005306973
48f7f2a913 Flipper Snapshot Bump: v0.210.2-SNAPSHOT
Summary: Releasing snapshot version 0.210.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D48112783

fbshipit-source-id: 028a67f14456bea110d2eab65e15fa6ff766501d
2023-08-07 09:21:54 -07:00
generatedunixname89002005306973
1b0a5f4320 Flipper Release: v0.210.1
Summary: Releasing version 0.210.1

Reviewed By: passy

Differential Revision: D48112784

fbshipit-source-id: 8a6303e7cfeabd2b7f13a48be9c5f8bb0c0f5616
2023-08-07 09:21:54 -07:00
Anton Kastritskiy
9cceca6d7e Move notifications into a modal and remove app inspect
Summary: Also removing topLevelSelection as it is no longer used in flipper

Reviewed By: aigoncharov

Differential Revision: D48069386

fbshipit-source-id: 6e4cdd6aab67d2cd30ac1884118703520125bf84
2023-08-07 03:54:28 -07:00
Anton Kastritskiy
08371d3a6b Move troubleshooting guide into a modal
Reviewed By: aigoncharov

Differential Revision: D48066773

fbshipit-source-id: 05aca8c75aa30325e1a8c5f31301db1e89ec25af
2023-08-07 03:54:28 -07:00
Anton Kastritskiy
60419c54f2 Flipper logs displayed in a modal
Summary: This is a continuation of flipper redesign. Next diff will mov notification and connectivity into modals as well

Reviewed By: LukeDefeo

Differential Revision: D48066573

fbshipit-source-id: 3b4a22462221d8da13b07ad1738e05de849e00c4
2023-08-07 03:54:28 -07:00
Luke De Feo
9ed2b801a0 Make screen recording state more obvious
Summary: Feedback from support group said it wasnt clear when recording was on

Reviewed By: antonk52

Differential Revision: D48027414

fbshipit-source-id: db61a9806da285610e8f550ceff5af4d7b7acb47
2023-08-03 04:16:22 -07:00
generatedunixname89002005306973
a5ead5036b Flipper Snapshot Bump: v0.210.1-SNAPSHOT
Summary: Releasing snapshot version 0.210.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D47994317

fbshipit-source-id: 0da5a04ee1ee3be39bb26f4dab9252ab9de3d009
2023-08-02 09:48:04 -07:00
generatedunixname89002005306973
f81eb544fa Flipper Release: v0.210.0
Summary: Releasing version 0.210.0

Reviewed By: lblasa

Differential Revision: D47994316

fbshipit-source-id: 24559a57d58a769f6e578cf344135522e4e7c9be
2023-08-02 09:48:04 -07:00
Lorenzo Blasa
5debb4cae8 Troubleshoot by killing debugging bridge
Summary: Add an option to kill the debugging bridge directly within Flipper.

Reviewed By: antonk52

Differential Revision: D47990786

fbshipit-source-id: 30cd8ca1d55e8b2ade03700d884e5d849a2dadbf
2023-08-02 07:56:17 -07:00
Lorenzo Blasa
4e998ac083 Get OS by inspecting command
Summary: Commands can be idb or adb. If no ClientQuery is provided, set the OS accordingly.

Reviewed By: antonk52

Differential Revision: D47990745

fbshipit-source-id: 3e38b6ecb0a8ea21e584c1d6eff6feb53dd2cfab
2023-08-02 07:56:17 -07:00
Lorenzo Blasa
a8d96b8d87 Tabs activeKey prevents switching tabs
Summary: Using `activeKey` was preventing switching tabs. Use `defaultActiveKey` instead.

Reviewed By: antonk52

Differential Revision: D47989530

fbshipit-source-id: c4e545a8ed96bb1797778ca7b8c0973a3370a43b
2023-08-02 07:56:17 -07:00
Lorenzo Blasa
a21f730c2d Better lsof to find process
Summary:
The previous recommendation doesn't always holds true. There are reported cases in which a process is listening to the specified port yet is not being listed by the lsof command as advised.

The command below seems to work better.

    sudo lsof -i :52342

Reviewed By: antonk52

Differential Revision: D47989269

fbshipit-source-id: ea216de00ef6edc90de58e9d3fe3a0579a171fea
2023-08-02 07:56:17 -07:00
Lorenzo Blasa
2c24ec9f5d Add OS to record
Summary: OS will become useful later on, add it.

Reviewed By: antonk52

Differential Revision: D47989161

fbshipit-source-id: 3615544051b163b77f87e5c52e6ac9cae8c478d4
2023-08-02 07:56:17 -07:00
Lorenzo Blasa
d43173a8df adb kill-server
Summary: Introduce a new command to allow killing adb

Reviewed By: antonk52

Differential Revision: D47988522

fbshipit-source-id: bb4f17faa7f9b31b9d42e45c0ce39b3f5d98f4b3
2023-08-02 07:56:17 -07:00
Luke De Feo
af7c1c7e74 Dont allow focusing leaf node
Summary: This mode is useless for leaves

Reviewed By: aigoncharov

Differential Revision: D47949539

fbshipit-source-id: 7f3ae6652ad696e9f550fe5b8f2298a1a3eff329
2023-08-01 10:32:29 -07:00
Luke De Feo
9932d28b2f Optimize wireframe mode
Summary: I noticed a slow down when using key board controls as this would change the selection. this adds the optimization back when wireframe mode == All

Reviewed By: antonk52

Differential Revision: D47949836

fbshipit-source-id: a08e5608c159d23b8a0afed419724c02231718d6
2023-08-01 10:32:29 -07:00
Luke De Feo
4e7ca39168 Tweaks to tree UI
Summary:
Made rows smaller so you get to see more content
Monospace font

Reviewed By: antonk52

Differential Revision: D47949839

fbshipit-source-id: f8935e233838ff35acf8c1ab14bcf9b8f2153ab4
2023-08-01 10:32:29 -07:00
Luke De Feo
eaf5b4c246 Dont kill flipper server when no clients connect and is dev
Summary: This is quite annoying and causes may un needed reboots of flipper server while developing

Reviewed By: antonk52

Differential Revision: D47949842

fbshipit-source-id: c2f18e16a4933e4209e74f51978cb7d05b80ee11
2023-08-01 10:32:29 -07:00
Luke De Feo
09042ec5d6 Make non visible views non opaque
Summary: On certain apps there are a lot of views that have zero size and this isnt clear from the tree view. This will help

Reviewed By: lblasa

Differential Revision: D47917167

fbshipit-source-id: 180ef1cf34c3735acfd54d3498db9d29f759d959
2023-08-01 10:32:29 -07:00
Luke De Feo
1cf0527a51 Double click to expand or collapse in tree
Reviewed By: aigoncharov

Differential Revision: D47949838

fbshipit-source-id: be7208633cee13579eaa20d3b0bfaa4380a4e399
2023-08-01 10:32:29 -07:00
Luke De Feo
795d1de10d Dont auto expand nodes
Summary:
Rather than automatically collapsing siblings when using the visualiser instead we take a different approach:
1. The tree starts out fully collapsed
2. Every time you click on the visualiser we expand it and its ancestory chain to expanded nodes.

This is exactly how the Dom inspector works. The previous approach of constantly collapsing all siblings when uinsg the visualiser felt too intrusive and taking control from the user. The option is still there but only in the context menu

Some ultilities around autocollapsing nodes were removed as they dont make sense anymore that we now send complete frames

Changelog: UIDebugger Tree starts collapsed and expands as you click from the visualiser

Reviewed By: aigoncharov

Differential Revision: D47949843

fbshipit-source-id: 4381d22b12874dde5a89267572bee95f084380e3
2023-08-01 10:32:29 -07:00
Luke De Feo
ce1fdfdf19 Added context menu items for collapsing and expanding nodes
Summary:
Added 3 context menu items:
- expand recursive
- collapse recursive

These are self explanatory.

I also collapse non ancestors. This collapses everything except your direct ancestor path to the root. Quite useful to refocus the tree on a node

Changelog: UIDebugger - added  context menu items for exanding and collapsing the tree.

Reviewed By: aigoncharov

Differential Revision: D47949840

fbshipit-source-id: 6eebba182fe2092fbf5f0db0ec5ff728c3900424
2023-08-01 10:32:29 -07:00
Luke De Feo
129c848b78 Fixed bug where target mode would contain parents of hit nodes
Summary: The idea of the hit test is to return the deepest children that hit an element and not their parents. Due to this bug we were actually returning every other node all the way up to the root resulting in way to many hit nodes for target mode

Reviewed By: lblasa

Differential Revision: D47949837

fbshipit-source-id: d3391b4a700ab0be4c3b21dde5f13452f90c887b
2023-08-01 10:32:29 -07:00
Luke De Feo
fb503a0a2f Add wireframe mode control
Summary:
This allows you to control how the wire frames are drawn, useful when there are lots of overalpping wireframes

Changelog: UIDebugger - Added wireframe mode control, useful when lots of overlapping wireframes

Reviewed By: aigoncharov

Differential Revision: D47949841

fbshipit-source-id: 72de7d085ca433557107ab0cc6e4399220836d9f
2023-08-01 10:32:29 -07:00
Lorenzo Blasa
fb469faa1d Details styling
Summary: STDOUT and STDERR can overflow the panel. This change creates a container for these two panels which should keep content within their boundaries.

Reviewed By: antonk52

Differential Revision: D47952711

fbshipit-source-id: 394390ae6b6a12329fe0eea1fc9948a7261b11bf
2023-08-01 06:59:08 -07:00
Lorenzo Blasa
2b56289490 Sidebar only visible when necessary
Summary: Sidebar should only show if the entry requires one. In this case, only shell commands have details to be displayed in the sidebar.

Reviewed By: antonk52

Differential Revision: D47952535

fbshipit-source-id: ae657032504dbb80900a534d2d357c9316b67cd9
2023-08-01 06:59:08 -07:00
Luke De Feo
1394a41599 Fix subtile bug with keyboard controls
Summary:
The code used the hovered node and selected node somewhere inconsistently for keyboard controls, this led to subitle bugs where if you moused over the next keybaord jump point would be the hovered node sometimes. This straightens it all out

Changelog: [UIDebugger] Fixed bug with keyboard tree controls

Reviewed By: aigoncharov

Differential Revision: D47832249

fbshipit-source-id: 7697c97a817ed5b70250c0c4f12fc1c59bdb96b9
2023-08-01 06:41:14 -07:00
Luke De Feo
21483986c3 Fix bug in tree when search term is set
Summary: Previously we would run the effect even if search term hadnt changed causing us to scorll to a search term rather than the selected node when selecting in the visualiser

Reviewed By: antonk52

Differential Revision: D47831188

fbshipit-source-id: 5700d49aea219a1229bcc8df462e55d8508c6c1a
2023-08-01 06:41:14 -07:00
dependabot[bot]
382ee6de35 Bump com.android.tools.build:gradle from 8.0.2 to 8.1.0 (#4979)
Summary:
Bumps com.android.tools.build:gradle from 8.0.2 to 8.1.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=8.0.2&new-version=8.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/4979

Reviewed By: lblasa

Differential Revision: D47916703

Pulled By: passy

fbshipit-source-id: bbc4daedbe1382a34d94cf367e2884c54fca05e4
2023-08-01 06:32:22 -07:00
dependabot[bot]
a15c331ab0 Bump org.jetbrains.kotlinx:kotlinx-coroutines-android from 1.7.2 to 1.7.3 (#4980)
Summary:
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.2 to 1.7.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/releases">org.jetbrains.kotlinx:kotlinx-coroutines-android's releases</a>.</em></p>
<blockquote>
<h2>1.7.3</h2>
<ul>
<li>Disabled the publication of the multiplatform library metadata for the old (1.6 and earlier) KMP Gradle plugin (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3809">https://github.com/facebook/flipper/issues/3809</a>).</li>
<li>Fixed a bug introduced in 1.7.2 that disabled the coroutine debugger in IDEA (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3822">https://github.com/facebook/flipper/issues/3822</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md">org.jetbrains.kotlinx:kotlinx-coroutines-android's changelog</a>.</em></p>
<blockquote>
<h2>Version 1.7.3</h2>
<ul>
<li>Disabled the publication of the multiplatform library metadata for the old (1.6 and earlier) KMP Gradle plugin (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3809">https://github.com/facebook/flipper/issues/3809</a>).</li>
<li>Fixed a bug introduced in 1.7.2 that disabled the coroutine debugger in IDEA (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3822">https://github.com/facebook/flipper/issues/3822</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="35d88f1ba5"><code>35d88f1</code></a> Version 1.7.3</li>
<li><a href="74d2aeb1c6"><code>74d2aeb</code></a> Merge remote-tracking branch 'origin/master' into develop</li>
<li><a href="47f0a46d4b"><code>47f0a46</code></a> Fix the IDEA debugger (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3822">https://github.com/facebook/flipper/issues/3822</a>)</li>
<li><a href="387628bc77"><code>387628b</code></a> Merge pull request <a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3815">https://github.com/facebook/flipper/issues/3815</a> from Kotlin/roman.efremov/MR/expect-annotations</li>
<li><a href="99f0804455"><code>99f0804</code></a> fix: errors in runnable snippet in doc (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3818">https://github.com/facebook/flipper/issues/3818</a>)</li>
<li><a href="3c9e8564a9"><code>3c9e856</code></a> Make annotations on expect declarations comply with new compiler restriction</li>
<li><a href="c675e3fbe8"><code>c675e3f</code></a> 3789: Update flow.timeout example to re-throw (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3801">https://github.com/facebook/flipper/issues/3801</a>)</li>
<li><a href="9b06a6907d"><code>9b06a69</code></a> Clarify documentation of Mutex.lock() behavior (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3816">https://github.com/facebook/flipper/issues/3816</a>)</li>
<li><a href="ef623b8491"><code>ef623b8</code></a> Revert &quot;Remove <code>PublishedApi</code> from <code>unwrap</code> to comply with new compiler rest...</li>
<li><a href="5c4a252aad"><code>5c4a252</code></a> Stop building and publishing compatibility MPP metadata variant (<a href="https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/3809">https://github.com/facebook/flipper/issues/3809</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.kotlinx:kotlinx-coroutines-android&package-manager=gradle&previous-version=1.7.2&new-version=1.7.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/4980

Reviewed By: lblasa

Differential Revision: D47916701

Pulled By: passy

fbshipit-source-id: a362354a8dccc4a1ac3e57ce0acfccf35b0cb15a
2023-08-01 06:23:16 -07:00
github-actions[bot]
a0e91484c9 Automated: Update Podfile.lock (#4973)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

Pull Request resolved: https://github.com/facebook/flipper/pull/4973

Reviewed By: lblasa

Differential Revision: D47916691

Pulled By: passy

fbshipit-source-id: c9f752b8c452b6b4dab0b550b5d12de31db106c0
2023-08-01 04:38:10 -07:00
Lorenzo Blasa
430a42ec7a Send connectivity logs to scuba
Summary:
^

A dashboard to display the logs from a user session will be built next.

Reviewed By: antonk52

Differential Revision: D47944634

fbshipit-source-id: fb9e53981de5abb401c93c47cdec68f72c944b94
2023-08-01 03:45:05 -07:00
Lorenzo Blasa
830ac6eac9 All logs to be emitted
Summary: Error logs were missing, they're now reported.

Reviewed By: antonk52

Differential Revision: D47944591

fbshipit-source-id: a1f5515dded7c2e8955522e12554cd5f520d4c88
2023-08-01 03:45:05 -07:00
Lorenzo Blasa
7e9228985b Show command details
Summary: This is the most basic visualiser for command details.

Reviewed By: antonk52

Differential Revision: D47917006

fbshipit-source-id: 7654a3c6e416346548b45dbc72ca4a1838bea787
2023-08-01 03:45:05 -07:00
Lorenzo Blasa
f63c749e0e Panel for Raw Details
Summary: ^

Reviewed By: antonk52

Differential Revision: D47915946

fbshipit-source-id: 3455da38d8862d6a2faff34fa7324da44c5acc08
2023-08-01 03:45:05 -07:00
Luke De Feo
1de033c157 Add bounds to fragment
Summary: Previously the bounds was 0, the trick is to steel the offset from the view and then use offsetchild zero so it doesnt get applied twice

Reviewed By: lblasa

Differential Revision: D47915115

fbshipit-source-id: ff771470dcf1720ca265fc9017ff0ea3b0bc1ca1
2023-07-31 10:53:03 -07:00
Luke De Feo
6b74f66ab4 Add parent id to decor view
Summary: This whole nested observer approach can be simplified massively, but for now we are just threading the parent id through so its set for observer roots too

Reviewed By: lblasa

Differential Revision: D47915504

fbshipit-source-id: 924f722f38bb202b42ea9ef6da15e685f6c75e02
2023-07-31 10:53:03 -07:00
Luke De Feo
413f85964b Send invisible as hidden attribute
Summary: This allows UIDebugger to draw them differently in tree and visualiser

Reviewed By: lblasa

Differential Revision: D47915505

fbshipit-source-id: a4d2ef9d653233e3ff24bc26cfe8017f9b51dd2b
2023-07-31 10:53:03 -07:00
dependabot[bot]
0aa6d7832c Bump sha2 from 0.10.6 to 0.10.7 in /packer (#4843)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.6 to 0.10.7.
<details>
<summary>Commits</summary>
<ul>
<li><a href="d8b088aece"><code>d8b088a</code></a> Release sha2 v0.10.7 (<a href="https://redirect.github.com/RustCrypto/hashes/issues/491">https://github.com/facebook/flipper/issues/491</a>)</li>
<li><a href="3fa561ed2e"><code>3fa561e</code></a> sha2: Add aarch64 backends (<a href="https://redirect.github.com/RustCrypto/hashes/issues/490">https://github.com/facebook/flipper/issues/490</a>)</li>
<li><a href="a16cb4c753"><code>a16cb4c</code></a> jh: fix license</li>
<li><a href="1affb24f1a"><code>1affb24</code></a> JH hash implementation (<a href="https://redirect.github.com/RustCrypto/hashes/issues/484">https://github.com/facebook/flipper/issues/484</a>)</li>
<li><a href="cf5f1d2dfe"><code>cf5f1d2</code></a> k12: fix typo in README.md (<a href="https://redirect.github.com/RustCrypto/hashes/issues/489">https://github.com/facebook/flipper/issues/489</a>)</li>
<li><a href="df9b8a2cce"><code>df9b8a2</code></a> k12 v0.3.0 (<a href="https://redirect.github.com/RustCrypto/hashes/issues/488">https://github.com/facebook/flipper/issues/488</a>)</li>
<li><a href="c24e4b8264"><code>c24e4b8</code></a> k12: 2021 edition upgrade; MSRV 1.56 (<a href="https://redirect.github.com/RustCrypto/hashes/issues/487">https://github.com/facebook/flipper/issues/487</a>)</li>
<li><a href="ca07d232e8"><code>ca07d23</code></a> Use cargo-hack in CI jobs (<a href="https://redirect.github.com/RustCrypto/hashes/issues/485">https://github.com/facebook/flipper/issues/485</a>)</li>
<li><a href="d174ad743c"><code>d174ad7</code></a> Skein hash implementation (<a href="https://redirect.github.com/RustCrypto/hashes/issues/483">https://github.com/facebook/flipper/issues/483</a>)</li>
<li><a href="9df20e865c"><code>9df20e8</code></a> build(deps): bump digest from 0.10.6 to 0.10.7 (<a href="https://redirect.github.com/RustCrypto/hashes/issues/481">https://github.com/facebook/flipper/issues/481</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.10.6...sha2-v0.10.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.10.6&new-version=0.10.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
> **Note**
> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Pull Request resolved: https://github.com/facebook/flipper/pull/4843

Reviewed By: lblasa

Differential Revision: D47916706

Pulled By: passy

fbshipit-source-id: 40742c77fedb4d83bda6ca698b10b04d75681864
2023-07-31 08:40:43 -07:00