Summary:
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.13 to 0.9.14.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/serde-yaml/releases">serde_yaml's releases</a>.</em></p>
<blockquote>
<h2>0.9.14</h2>
<ul>
<li>Implement <code>Deserializer</code> for <code>TaggedValue</code> and <code>&TaggedValue</code> (<a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/339">https://github.com/facebook/flipper/issues/339</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8948d368c0"><code>8948d36</code></a> Release 0.9.14</li>
<li><a href="8d95125eed"><code>8d95125</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/339">https://github.com/facebook/flipper/issues/339</a> from dtolnay/deserializertaggedvalue</li>
<li><a href="371f764d32"><code>371f764</code></a> Implement Deserializer for TaggedValue and &TaggedValue</li>
<li><a href="c5523fe475"><code>c5523fe</code></a> Replace nonstandard SError name used only in Value Deserialize</li>
<li><a href="516fdff567"><code>516fdff</code></a> Ignore uninlined_format_args pedantic clippy lint</li>
<li><a href="31fa98e396"><code>31fa98e</code></a> Pull in unsafe-libyaml 0.2.4</li>
<li>See full diff in <a href="https://github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.14">compare view</a></li>
</ul>
</details>
<br />
[](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/4246
Reviewed By: aigoncharov
Differential Revision: D40673599
Pulled By: passy
fbshipit-source-id: 2222937777ededf46d0ce49f791a44b0e84db6ad
Summary:
Old hover state is now selection state
New hover state is a slightly thicker border
Reviewed By: lblasa
Differential Revision: D40637724
fbshipit-source-id: 7b13bc864bc1f626cf0982517befcb80615e7cc0
Summary:
Upgraded from ant tree library to the much more capable React complex tree. Added the following:
1. Ability to expand / collapse nodes while automatically expanding / collapsing active/inactive children when they change
2. Keyboard controls of tree all the time
3. Basic search functionality
4. Selecting node in tree focuses and scrolls in the tree
5. Hover state for tree
Reviewed By: lblasa
Differential Revision: D40633876
fbshipit-source-id: 8dcef5ec2c277e476a3eb3cdaef62b15c25323c0
Summary:
Clicking on a node a second time will unselect which was impossible before.
The behaviour of the on click handler doesnt always line up what is currently hovered, this is a temporary work around. There are deeper issues with this in that on exit we hover the parent, but in some situations the parent is too small to propagate. In future we will use the mouse position and do a hit test and drive selection / hover from that
Reviewed By: lblasa
Differential Revision: D40637356
fbshipit-source-id: 9df19dbf619845891bb46624730d7cf74f73cf25
Summary:
There are some situatuins where a litho view can move without a mount occuring in that view. One situation is a litho view in a recycler view. If a neighbouring view is deleted or changes its width/height this will shift the whole recycler view. Since each view in the recycler view is typically a separate comonent tree. The children of the recycler view are not aware of their siblings changes through mount. And these situations do not count as a scroll which was the previous method of detecting change.
This is a work around to listen to on draw which seems to be fired in all situations.
Reviewed By: lblasa
Differential Revision: D40430777
fbshipit-source-id: a9c8196f31a6bdfd4a2fed398cfcaed190972959
Summary:
Initial implementation of Litho extensions using mount extension. After mount is called on the main thread and we traverse the hierachy. In future we can use mount extensions to construct a sparse tree rather than sending everything every time.
Scroll is handled with a native UI scroll listener for each litho view. This may break if the litho view is not a direct child of the scroll view.
Reviewed By: mihaelao
Differential Revision: D40021840
fbshipit-source-id: b09086a7a16660225885620609009dddf5b90d3b
Summary: For view pager we just want to draw the content in the center
Reviewed By: lblasa
Differential Revision: D40478266
fbshipit-source-id: 4fac7e897a0569fed59ef5810ba15300ebe87b5d
Summary:
Android does not set the top/left of the child of view pager. I attempted to solve this by grabbing the offset from the scrollview and passing it down via offset child. The issue is offsetchild has a lot of problems with the partial layout traversal. If the child of the scroll view is an observer root then the layout traversal with short circuit and setup a new observer for the child but we lose the offset child in the process.
This solution is a little dirty but it is functional for now
Reviewed By: lblasa
Differential Revision: D40430778
fbshipit-source-id: 7ad53b2a4818b55515e7662272548e2ce17e6b44
Summary: Getting the boxes to line up is quite hard to do right and has undetermined value
Reviewed By: mihaelao
Differential Revision: D40430776
fbshipit-source-id: 6093c4874f39ecf0c673407da2bd03ef06ca017e
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/ed
It does not make too much sense to have 2 different entry points to export Flipper debug data and to create a support request. It only creates ambiguity for our users. We could open the support request form automatically for them every time. In those rare cases when they try to attach new data to an existing support request, they can always not submit the form.
Reviewed By: passy
Differential Revision: D40632145
fbshipit-source-id: 6ca454d6e885493b32ac3aad008482045dccf51d
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#
Attach what we can to the universal export file if any of the steps time out
CHANGELOG: Add a universal debug export button
Reviewed By: passy
Differential Revision: D40552235
fbshipit-source-id: 775afccacf053fbcf764d1f39e93a89ad20dee0a
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#
Some files on the devices could be unavailable due to lack of permissions (hello SELinux and enterprise builds of iOS apps). Instead of failing the export, we should fetch what we can.
Reviewed By: passy
Differential Revision: D40551931
fbshipit-source-id: 698e157b1283b9e959909b6439cd09d2dc8dc8d6
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#
Exporting all files form a device and export Flipper's own state could take a long time. We need to keep our users updated on the status.
Reviewed By: passy
Differential Revision: D40551661
fbshipit-source-id: d5c94fb99d4bc8b4495ce463915b77c475548f01
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#
In later diffs, we'll start fetching the actual files as well. The list of available files itself might be useful already to see what we have in our folder on the device
Reviewed By: passy
Differential Revision: D40508960
fbshipit-source-id: 96193fef3fed64d509cd3397513ae3e94438ae22
Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#
Add a button to export all possible debug data at once. IN subsequent diffs, I'll add more extensive data collection.
Reviewed By: antonk52
Differential Revision: D40467606
fbshipit-source-id: 6a4225945b1feb6c1a8073b5209a62ba0beb6148
Summary:
Getting the active child was only ever returning the actual active View.
This is correct. However, if the View is backed by a Fragment, then the child is reported as Fragment instead of the actual View.
This was an issue as effectively, the reported children (fragments) were never going to match the active child (view).
Additionally in this change, report back the name of the node even if not active.
Reviewed By: LukeDefeo
Differential Revision: D40632526
fbshipit-source-id: 3560b193b370f19ceabe66980fe23f55ec887274
Summary:
Replace draft inspectors with read-only components.
This is a first step into having a richer UI. At the moment, these are read-only components but will likely be extended in the future as to allow editing of values.
Reviewed By: LukeDefeo
Differential Revision: D40345016
fbshipit-source-id: a6aef5861474b4aa8353c00ef257ab17b4cff00e
Summary:
Utility function that transforms lower camel case attribute names to a more readable name.
e.g. sizeToFit -> Size To Fit
Reviewed By: antonk52
Differential Revision: D40344715
fbshipit-source-id: f0745b892a78cc262133197a4d4b7624a7e2141d
Summary:
^
This laids the foundation for the inspector. It just reorganises a few bits.
Reviewed By: LukeDefeo
Differential Revision: D40319611
fbshipit-source-id: 8cf9b151c631faa1f26a7a6dfaa86b01abc42fe5
Summary:
There were some situations were we would hang waiting for new clients but one had connected.
Additionally the old approach would close and reopen the dialog every time a state update happened in the redux store which was a little jarring. Now the polling of the update is independant the dialog
The dialog still flashes for other parts of the flow (when scanning for devices) and would be nice to fix this too in the future
Reviewed By: mweststrate
Differential Revision: D40477502
fbshipit-source-id: d1ff161f262493cf5b3fb74e22b49ed65de8c292
Summary: We were incorrectly assuming a client did not support a plugin because it was not fully initialized. This issue was only apparant on start deep links
Reviewed By: mweststrate
Differential Revision: D40477503
fbshipit-source-id: 5fd9db765f559b8eb80cc3680ee694dfd2cf9a37
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/4238
Reviewed By: aigoncharov
Differential Revision: D40636695
Pulled By: nikoant
fbshipit-source-id: fda37eba37dd286affe977d7a9046945c8aaaab8
Summary: pull/push might fail when run-as fails on insufficient permissions. When this happens, try to perform the command as root.
Reviewed By: aigoncharov
Differential Revision: D40623363
fbshipit-source-id: a4cc71d70f83ce1a390b14c9af9d3a3fa09f1307
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/4235
Reviewed By: antonk52
Differential Revision: D40471242
Pulled By: aigoncharov
fbshipit-source-id: c8028f0b4be05ff5b9156443c52a86def4d1e179
Summary:
allow-large-files
Bumps [react-native](https://github.com/facebook/react-native) from 0.68.2 to 0.68.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/releases">react-native's releases</a>.</em></p>
<blockquote>
<h2>0.68.4</h2>
<h3>Changed</h3>
<ul>
<li>Bump version of <code>promise</code> from 8.0.3 to 8.2.0, enabling <code>Promise.allSettled</code> (<a href="951538c080">951538c080</a> by <a href="https://github.com/retyui"><code>@retyui</code></a>)</li>
<li>Bump react-native-codegen to 0.0.18 (<a href="40a3ae3613">40a3ae3613</a> by <a href="https://github.com/dmytrorykun"><code>@dmytrorykun</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Correctly resolve classes with FindClass(..) (<a href="361b310bcc">361b310bcc</a> by <a href="https://github.com/evancharlton"><code>@evancharlton</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Codegen should ignore <code>.d.ts</code> files (<a href="0f0d52067c">0f0d52067c</a> by <a href="https://github.com/tido64"><code>@tido64</code></a>)</li>
</ul>
<h4>iOS specific</h4>
<ul>
<li>Fix the way the orientation events are published (<a href="7d42106d4c">7d42106d4c</a> by <a href="https://github.com/lbaldy">lbaldy</a>)</li>
</ul>
<hr />
<p>You can participate in the conversation on the status of this release in this <a href="https://github.com/reactwg/react-native-releases/discussions/37">discussion</a></p>
<hr />
<p>To help you upgrade to this version, you can use the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper</a> ⚛️</p>
<hr />
<p>You can find the whole changelog history in the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">changelog.md file</a></p>
<h2>0.68.3</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Let's not build reactnativeutilsjni shared library (<a href="af9225ec5f">af9225ec5f</a> by <a href="https://github.com/SparshaSaha"><code>@SparshaSaha</code></a>)</li>
<li>Modified <strong>getDefaultJSExecutorFactory</strong> method (<a href="87cfd386cb">87cfd386cb</a> by <a href="https://github.com/KunalFarmah98"><code>@KunalFarmah98</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use monotonic clock for performance.now() (<a href="114d31feee">114d31feee</a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (<a href="1ca2c24930">1ca2c24930</a> by <a href="https://github.com/Kunal-Airtel2022"><code>@Kunal-Airtel2022</code></a>)</li>
</ul>
<hr />
<p>You can participate in the conversation on the status of this release in this <a href="https://github.com/reactwg/react-native-releases/discussions/29">discussion</a></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">react-native's changelog</a>.</em></p>
<blockquote>
<h2>v0.68.4</h2>
<h3>Changed</h3>
<ul>
<li>Bump version of <code>promise</code> from 8.0.3 to 8.2.0, enabling <code>Promise.allSettled</code> (<a href="951538c080">951538c080</a> by <a href="https://github.com/retyui"><code>@retyui</code></a>)</li>
<li>Bump react-native-codegen to 0.0.18 (<a href="40a3ae3613">40a3ae3613</a> by <a href="https://github.com/dmytrorykun"><code>@dmytrorykun</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Correctly resolve classes with FindClass(..) (<a href="361b310bcc">361b310bcc</a> by <a href="https://github.com/evancharlton"><code>@evancharlton</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Codegen should ignore <code>.d.ts</code> files (<a href="0f0d52067c">0f0d52067c</a> by <a href="https://github.com/tido64"><code>@tido64</code></a>)</li>
</ul>
<h4>iOS specific</h4>
<ul>
<li>Fix the way the orientation events are published (<a href="7d42106d4c">7d42106d4c</a> by <a href="https://github.com/lbaldy">lbaldy</a>)</li>
</ul>
<h2>v0.68.3</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Let's not build reactnativeutilsjni shared library (<a href="af9225ec5f">af9225ec5f</a> by <a href="https://github.com/SparshaSaha"><code>@SparshaSaha</code></a>)</li>
<li>Modified <strong>getDefaultJSExecutorFactory</strong> method (<a href="87cfd386cb">87cfd386cb</a> by <a href="https://github.com/KunalFarmah98"><code>@KunalFarmah98</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use monotonic clock for performance.now() (<a href="114d31feee">114d31feee</a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (<a href="1ca2c24930">1ca2c24930</a> by <a href="https://github.com/Kunal-Airtel2022"><code>@Kunal-Airtel2022</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b55518c4bf"><code>b55518c</code></a> [0.68.4] Bump version numbers</li>
<li><a href="40a3ae3613"><code>40a3ae3</code></a> Bump react-native-codegen to 0.0.18</li>
<li><a href="782e0bff4a"><code>782e0bf</code></a> Add support <code>Promise.allSettled</code> out of box (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34544">#34544</a>)</li>
<li><a href="e22ed7d676"><code>e22ed7d</code></a> fix: Correctly resolve classes with FindClass(..) (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34533">#34533</a>)</li>
<li><a href="4575ef516f"><code>4575ef5</code></a> Fix codegen trying to parse <code>.d.ts</code> files (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34439">#34439</a>)</li>
<li><a href="4f7eb6197f"><code>4f7eb61</code></a> prevent from publishing dimensions change event when app changes state (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34014">#34014</a>)</li>
<li><a href="36153e2557"><code>36153e2</code></a> [0.68.3] Bump version numbers</li>
<li><a href="d2d244cb8f"><code>d2d244c</code></a> [LOCAL] align pods version config with the rest of the repo</li>
<li><a href="af9225ec5f"><code>af9225e</code></a> Let's not build reactnativeutilsjni shared library (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34345">#34345</a>)</li>
<li><a href="4555fc7865"><code>4555fc7</code></a> Added additional builder method receiving arguments for using jsc or hermes t...</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react-native/compare/v0.68.2...v0.68.4">compare view</a></li>
</ul>
</details>
<br />
[](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/4206
Reviewed By: aigoncharov
Differential Revision: D40334958
Pulled By: mweststrate
fbshipit-source-id: d9f520596ea7c9868686d5f7d9c41e53abfcb4dc
Summary:
This change adds support for more inspectables and also introduces more complex types to be used as a value.
This become specially useful for more complex yet primitive types like coordinate, size, bounds, etc.
Reviewed By: LukeDefeo
Differential Revision: D40307885
fbshipit-source-id: 125e832f06d6b31f56eb5405182d1c0d61388930