ec364b5ef59c459bbe2cfd1557dafa63e0614c7c
6814 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
05a3bb69dc |
rename left ts files to tsx and ban ts file extension
Summary: mass files rename Reviewed By: passy Differential Revision: D33890304 fbshipit-source-id: c057ac9fe87dd7659597c85d640619b93e1ff0e6 |
||
|
|
e98b34a407 |
Bump metro-react-native-babel-preset from 0.66.2 to 0.67.0 in /react-native/ReactNativeFlipperExample (#3374)
Summary: Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.66.2 to 0.67.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p> <blockquote> <h2>Release v0.67.0</h2> <ul> <li><strong>[Breaking]</strong> Use custom resolvers (<code>resolver.resolveRequest</code>) before checking the Haste map. (96fb6e904e1660b37f4d1f5353ca1e5477c4afbf)</li> <li><strong>[Feature]</strong> Update React Native lazy imports list with the removal of <code>StatusBarIOS</code>. (2a0f77925e3299e01c2bfe82d0356145a643adc0)</li> <li><strong>[Feature]</strong> Allow configuring the path of the canonical empty module, which now lives in <code>metro-runtime</code> by default. (bd5f9323337b03a77bc219636937bb75cd8c18ca, 6e3e789b685b95ea59a58364a751e8010d536e8b, 7723be545795c936cb81cad214ee202f72e169b3)</li> <li><strong>[Feature]</strong> Add <code>initialize_done</code>, <code>transformer_loading</code>, and <code>transformer_loaded</code> events to the <code>Reporter</code> interface. (d19cf5d7e88207a8d46c17b570f14a239dae8926)</li> <li><strong>[Feature]</strong> Add <code>waitForBundler</code> option to the <code>runServer()</code> and <code>runMetro()</code> APIs. (57d8a92583185a97dffcdc1c95fef7780be9104d)</li> <li><strong>[Feature]</strong> Add <code>resolver.disableHierarchicalLookup</code> option. (01416f1bc41a3d557b24e4b508fed5f158990108)</li> <li><strong>[Feature]</strong> Remove confusing troubleshooting steps from missing module errors. (1fa45c21f7508cc3a852071b775f592873700ad0)</li> <li><strong>[Feature]</strong> Infer names for anonymous functions in optional calls. (4ced2a1be8a42a9c7df71b566918a457bad207c1)</li> <li><strong>[Feature]</strong> Infer names for anonymous functions memoized with useCallback. (2611f618b245fd2bd2c3558d2536011269bb5a68)</li> <li><strong>[Feature]</strong> Update terser to v5 in <code>metro-minify-terser</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/754">facebook/metro#754</a> by <a href="https://github.com/rockwotj"><code>@rockwotj</code></a>, <a href="https://github-redirect.dependabot.com/facebook/metro/pull/606">facebook/metro#606</a> by <a href="https://github.com/janicduplessis"><code>@janicduplessis</code></a>)</li> <li><strong>[Fix]</strong> Fix a caching issue with custom resolvers. (793b1a03c1f0b5e63869b471adab3f1ad61b199b)</li> <li><strong>[Fix]</strong> Specify UTF-8 encoding when serving bundles. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/695">facebook/metro#695</a> by <a href="https://github.com/zhiqingchen"><code>@zhiqingchen</code></a>)</li> <li><strong>[Fix]</strong> Support <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> for requires with implicit extensions. (41522a25bec9325d1df5981b55d4672db7126895)</li> <li><strong>[Fix]</strong> Resolve <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> when the replaced module isn't a physical file. (171393a6319e507935eeb3d40561e908c1a2abfe)</li> <li><strong>[Fix]</strong> Fix stack trace symbolication when input files have non-Unix line endings. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/691">facebook/metro#691</a> by <a href="https://github.com/danielsmc"><code>@danielsmc</code></a>)</li> <li><strong>[Fix]</strong> Decrease the precedence of <code>resolver.nodeModulesPaths</code> to respect transitive dependencies. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/738">facebook/metro#738</a> by <a href="https://github.com/sharmilajesupaul"><code>@sharmilajesupaul</code></a>)</li> <li><strong>[Fix]</strong> Respect <code>mangle: false</code> & <code>sourceMap: false</code> in <code>minifierConfig</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/749">facebook/metro#749</a> by <a href="https://github.com/mfbx9da4"><code>@mfbx9da4</code></a>)</li> <li><strong>[Fix]</strong> Update hash function from MD4 to MD5 for Node 17 compatibility. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/752">facebook/metro#752</a> by <a href="https://github.com/tobua"><code>@tobua</code></a>)</li> </ul> <blockquote> <p>NOTE: Experimental features are not covered by semver and can change at any time.</p> </blockquote> <ul> <li><strong>[Experimental]</strong> Add <code>server.unstable_serverRoot</code> option to allow serving bundles from folders outside the project root. (026a66cf40df1bd05da2afc1660efa1d9605c55a, ca86682012eb836e2b6aeb001f2b3112129e38c3, e061cf342505f3d07fb21f85f22925e3d05557c9, 70e98882ad24d7c25c9b73eaf347e60f2a74c8ca, baacea28635dae7fea3bd30dd485252ae59a937e)</li> <li><strong>[Experimental]</strong> Update <code>metro-hermes-compiler</code>. (e80434cf329619e1a0c6c56ae7be6c88cb350c99)</li> <li><strong>[Experimental]</strong> Provide safe access to assets outside the project root using <code>/assets?unstable_path=...</code>. (f3d1157bacc341dff82efea2f70b634141105fc0)</li> <li><strong>[Experimental]</strong> Add <code>resolver.unstable_hasteMapModulePath</code> option. (e8c0de0411148bd31e3decb6a5c4c1dc1d645666)</li> </ul> <p>Thanks to all the contributors mentioned above for helping improve Metro! 🚇</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
ed03f1b107 |
Use idb to record devices
Summary: `idb` has supported video recording on devices for quite some time now. We even have the implementation in `iOSDevice`, but it's currently unused. As a result, we just need to remove the check within `iOSDevice` that the target is an "emulator" and it will use the `idb` implementation. Removing this check means that the button is now selectable within the UI. Reviewed By: passy Differential Revision: D33913383 fbshipit-source-id: b3d6b4c480c79b54f0d2c206c68092ab62bf71ed |
||
|
|
3a9c875e03 |
Avoid double recording in iOSDevice
Summary: This should in theory never happen since the state of the recording is also managed within the UI. However, it's better to ensure that if `startRecording` is called twice, without calling `stopRecording` first it will error rather than leak a recording (the first process will still run but the object representing it is oprhaned) Reviewed By: passy Differential Revision: D33913298 fbshipit-source-id: f8fa6b0e4fdbdf4282633fa29a736d3e7dedf3bb |
||
|
|
7d34c86f78 |
Remove recording invariants
Summary: The state of the destination and the process are coupled together. As a result it makes sense to move these to an object type. This prevents destination and process being independently settable. No change in behaviour, just a removal of invariants that need to be checked Reviewed By: passy Differential Revision: D33913213 fbshipit-source-id: ed18650cac4f72d40e82d20254674f7fa12cbb48 |
||
|
|
d807183eb6 |
Bump serde from 1.0.135 to 1.0.136 in /packer (#3373)
Summary: Bumps [serde](https://github.com/serde-rs/serde) from 1.0.135 to 1.0.136. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.136</h2> <ul> <li>Improve default error message when <code>Visitor</code> fails to deserialize a u128 or i128 (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2167">https://github.com/facebook/flipper/issues/2167</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
a9b9a1bff4 |
Remove redundant xcodeCommandLineToolsDetected
Summary: This is public but never read, no need for it to exist Reviewed By: passy Differential Revision: D33893097 fbshipit-source-id: aa423464f9cc0c35768a549fd5cb481784d8bcd6 |
||
|
|
9cbdc3038f |
Remove mising iOS Bridge invariant in iOSDeviceManager
Summary: There's no need for us to have a property that can be undefined, since we can use the magic of *passing arguments* to achieve the same end result. The unit test a bit more precarious, but it's left here for posterity or until we decide to kill it otherwise. Reviewed By: passy Differential Revision: D33892407 fbshipit-source-id: 3b499511189862e2265d8d6d29f849a7b813050e |
||
|
|
757b82757e |
Use polymorphic IOSBridge to perform iOS target listing
Summary: Bulding on the work from prior diffs we can use the created bridge directly. No need to have if statements calling out to sub-functions, just use the base type itself which will use the appropriate implementation. There's no behavioural change here. Either idb was queried for sims/devices or simctl was queried for just sims, they were always mutually exclusive. Reviewed By: passy Differential Revision: D33842604 fbshipit-source-id: 0bf63ffc34368c70df31c105ea0ba5df941e72cc |
||
|
|
b0046c8ddb |
Check for xcode mismatch once and only once
Summary: We perform this *repeatedly* (every 2s!!!). Which is clearly excessive. Let's perform this check once to avoid noise and a waste of system resources Reviewed By: passy Differential Revision: D33844194 fbshipit-source-id: 226dc9d67bb83b167afa8e28ade8e1911470ef8a |
||
|
|
e16662a28f |
Improve xcode version mismatch messaging
Summary: This runs in a very hot loop (which I will change shortly) However, there's also some simplification that we can do here: - Only look for `Simulator.app` processes instead of all the processes. This limits the amount of string comparison to do. If there's a `Simulator.app` running, then we know a sim is running for that Xcode. - Use piping to extract the launch path of the process, instead of then regex'ing this out. - Use a simpler substring match to determine if paths have a different start. Reviewed By: passy Differential Revision: D33891296 fbshipit-source-id: e37d5f260fc6c6113be9c5268b7c8cffb4057b9a |
||
|
|
1e309ddd5c |
Bump protobuf-java from 3.19.3 to 3.19.4 (#3377)
Summary: Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.3 to 3.19.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p> <blockquote> <h2>Protocol Buffers v3.19.4</h2> <h1>Python</h1> <ul> <li>Make libprotobuf symbols local on OSX to fix issue <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9395">#9395</a> (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9435">#9435</a>)</li> </ul> <h1>Ruby</h1> <ul> <li>Fixed a data loss bug that could occur when the number of <code>optional</code> fields in a message is an exact multiple of 32. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9440">#9440</a>).</li> </ul> <h1>PHP</h1> <ul> <li>Fixed a data loss bug that could occur when the number of <code>optional</code> fields in a message is an exact multiple of 32. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9440">#9440</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
a694ea3b35 |
Automated: Update Podfile.lock (#3369)
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/3369 Test Plan: Imported from GitHub, without a `Test Plan:` line. **Static Docs Preview: flipper** |[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D33892491/V3/flipper/)| |**Modified Pages**| |[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D33892491/V3/flipper/docs/getting-started/ios-native/)| Reviewed By: passy Differential Revision: D33892491 Pulled By: cekkaewnumchai fbshipit-source-id: 486ea3af518488866e2f5e955a6e3b98e86c4db8 |
||
|
|
c5dd1fc350 |
rename files from ts to tsx in flipper-* packages
Summary: mass files rename Reviewed By: nikoant Differential Revision: D33890252 fbshipit-source-id: d5afaa60af7340313a97d8e4967fe37f00abd9db |
||
|
|
2476472344 |
eslint plugin files rename from ts to tsx
Summary: mass rename files Reviewed By: nikoant Differential Revision: D33890201 fbshipit-source-id: ac73fb040519a566447981bad37b8c78878a5c3d |
||
|
|
a474a0c2f2 |
Fallback to RSockets if cert exchange fails
Summary: Changelog: Fallback to RSockets if cert exchange fails even if the connection was successful. Currently, we fallback to RSockets only if the connected is rejected. It turns out that WS server does not reject connection from our RSocket client. Instead, it rejects the messages. As result, requestSignedCertFromFlipper fails, but it never triggers the change of protocol. With this diff we start evaluating if we need to change our protocol for every socket error. Reviewed By: lblasa Differential Revision: D33890235 fbshipit-source-id: f79b5c6992f01f8a93e0793e180a5cbd4a105619 |
||
|
|
ccae37aa71 |
Extract idb device querying to IOSBridge
Summary: Again this is just a code move for now. However, we now have a common method between simctl and idb cases. This means that the next diff can call an `IOSBridge` with polymorpism taking over. This is still delegated out, but there's an argument to be made to move `iosUtil` functionality back so that this all lives in the same place. Reviewed By: passy Differential Revision: D33843093 fbshipit-source-id: 5cd884140817df851cccf63e5780582b16d4231c |
||
|
|
aeb0b5f317 |
Extract getSimulators to IOSBridge
Summary: Extracts `getSimulator` interrnals to `SimctlBridge`. This allows this functionality to be used independently of things like the the flipper server. For now this just moves the functionality, but future diffs will build on top of this. Reviewed By: passy Differential Revision: D33842986 fbshipit-source-id: bae26a9bd5c21c9813f8a2b10c3b3e3efc1c5929 |
||
|
|
959a2a77d7 |
Extract launchSimulator to IOSBridge
Summary: This is related to `simctl` functionality, so can be extracted there. This will aid in future changes whereby we can hide `getDeviceSetPath` in the IOSBridge module Reviewed By: passy Differential Revision: D33842987 fbshipit-source-id: de292ce5afba3e7d79d8ba27c2b8852909d7e6f3 |
||
|
|
8316a00ef7 |
Bump react-native from 0.66.4 to 0.67.1 in /react-native/react-native-flipper (#3338)
Summary: Bumps [react-native](https://github.com/facebook/react-native) from 0.66.4 to 0.67.1. <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.67.1</h2> <p>A patch release including fixes to unblock Detox and Android JSC builds</p> <ul> <li>Remove alert's window when call to <code>hide</code>. (<a href=" |
||
|
|
48d43c7367 |
rename from ts to tsx in pkg and pkg-lib
Summary: mass rename files Reviewed By: passy Differential Revision: D33890034 fbshipit-source-id: 1c654a4f7f5b83eaa56a8c11df863003e8d7bed7 |
||
|
|
844728d9dc |
rename babel-transformer files from ts to tsx
Summary: group files rename Reviewed By: passy Differential Revision: D33889860 fbshipit-source-id: 888e173fc72b5e126c1e41324b6cae6be29274c5 |
||
|
|
69bac4a3d6 |
Rename second batch for '.ts' files to '.tsx' in plugin-lib dir
Summary: Rename first batch for '.ts' files to '.tsx' Reviewed By: passy Differential Revision: D33843245 fbshipit-source-id: 28fd161e258e4d20200620b083aea48f9e58ea64 |
||
|
|
75f874a5dd |
error for I prefixed interface names
Summary: {gif:kosnw403}
Reviewed By: mweststrate
Differential Revision: D33845782
fbshipit-source-id: 2b9bd70e3b2d930e8f4cd8fe7976ac76f43b2496
|
||
|
|
a0368a8bbf |
Bump react-native from 0.66.4 to 0.67.1 in /react-native/ReactNativeFlipperExample (#3341)
Summary: Bumps [react-native](https://github.com/facebook/react-native) from 0.66.4 to 0.67.1. <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.67.1</h2> <p>A patch release including fixes to unblock Detox and Android JSC builds</p> <ul> <li>Remove alert's window when call to <code>hide</code>. (<a href=" |
||
|
|
071bcaff96 |
Rename second batch for '.ts' files to '.tsx' in scripts dir
Summary: Rename first batch for '.ts' files to '.tsx' Reviewed By: passy Differential Revision: D33843246 fbshipit-source-id: eb8080db8cc3ef07820339bf8deafa208432de7c |
||
|
|
1aff8466b1 |
let linter handle type naming conventions
Summary: {gif:kosnw403}
Reviewed By: passy
Differential Revision: D33846715
fbshipit-source-id: 5de4bb0cf88f24f5a26acedb82a0816417fb0787
|
||
|
|
c28c454373 |
Flipper Snapshot Bump: v0.131.2-SNAPSHOT
Summary: Releasing snapshot version 0.131.2-SNAPSHOT Reviewed By: cekkaewnumchai Differential Revision: D33871322 fbshipit-source-id: 7d823d0ef58cd5eb3c7538181f4cf916796418bb |
||
|
|
65bb2a1bc1 |
Flipper Release: v0.131.1
Summary: Releasing version 0.131.1 Reviewed By: cekkaewnumchai Differential Revision: D33871323 fbshipit-source-id: f5f5b02ec9fdad303fe60673618b461ef3fa26f1 |
||
|
|
f3869bc575 |
Fix loading of google anaytics script
Summary:
Flipper docs were loading really slowly and I found in dev tools that was becuase of requests to scripts specified in docusaurus config which were not found because of relative urls used. This diff fixes that by specifying absolute URL for script loading.
{F696549860}
Reviewed By: jknoxville
Differential Revision: D33845659
fbshipit-source-id: 5079dba442f5fdf4b4f3b2a64146535b39ea72a4
|
||
|
|
b4fc108c2e |
Rename first batch for '.ts' files to '.tsx' in doctor, static and test-utils
Summary: Rename first batch for '.ts' files to '.tsx' Reviewed By: nikoant Differential Revision: D33843051 fbshipit-source-id: 68dd2dc6538afce2daaf24c6412dc5db8b38acbc |
||
|
|
6a28a712f9 |
Hopefully fix flipper-release npm publish step (#3366)
Summary: This is really stupid but the download creates a directory with the same name before putting the file in it. I think `v2` no longer does but hey, this is the devil we know. You can look at the actions further down to see that we reference all the other downloads by `filename/filename` as well, so this should do it. Pull Request resolved: https://github.com/facebook/flipper/pull/3366 Test Plan: Another release, I'm afraid. This is a step you cannot dry-run. Reviewed By: cekkaewnumchai, aigoncharov Differential Revision: D33842700 Pulled By: passy fbshipit-source-id: d6f7a4a711ec056ba16f13c72f2c550e9a632ac0 |
||
|
|
4c83fbb524 |
warn about ts file extension
Summary: remove statically analysable life from typescript guidelines and let eslint handle it Reviewed By: passy Differential Revision: D33819891 fbshipit-source-id: 3cc3cb512607c3651cd3a9e48228d83bab5bb64a |
||
|
|
e9da574720 |
Bump antd from 4.18.2 to 4.18.5 in /desktop (#3346)
Summary: Bumps [antd](https://github.com/ant-design/ant-design) from 4.18.2 to 4.18.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/releases">antd's releases</a>.</em></p> <blockquote> <h2>4.18.5</h2> <ul> <li>Cascader <ul> <li>💄 Fix Cascader loading icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33799">#33799</a></li> <li>🐞 Fix Cascader not auto offset placement when popup is out of screen and fix active option out of screen not scroll. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33777">#33777</a></li> </ul> </li> <li>💄 Fix Tag style in dark theme. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33751">#33751</a></li> <li>💄 Fix disabled Checkbox inside Tooltip dom structure. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33772">#33772</a> <a href="https://github.com/boomler"><code>@boomler</code></a></li> <li>⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33804">#33804</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 Fix Card <code>ref</code> not working. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33784">#33784</a> <a href="https://github.com/LongHaoo"><code>@LongHaoo</code></a></li> <li>🐞 Fix a Checkbox problem that <code>onChange</code> could not correctly pass in the modified value when dynamically modifying <code>value</code> property. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33753">#33753</a></li> </ul> <hr /> <ul> <li>Cascader <ul> <li>🐞 修复 Cascader 弹层超出屏幕时不会自动偏移以及激活选项不会自动滚动到正确位置的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33777">#33777</a></li> <li>💄 修复 Cascader 加载中图标。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33799">#33799</a></li> </ul> </li> <li>💄 修复 Tag 在暗黑主题下的样式。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33751">#33751</a></li> <li>💄 修复 Tooltip 的子元素含有禁用态的 CheckBox 时可能引起的行为和样式异常。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33772">#33772</a> <a href="https://github.com/boomler"><code>@boomler</code></a></li> <li>⚡️ 优化 Row 和 Layout.Sider 的 hooks 依赖数组。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33804">#33804</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 修复 Card <code>ref</code> 不生效的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33784">#33784</a> <a href="https://github.com/LongHaoo"><code>@LongHaoo</code></a></li> <li>🐞 修复动态修改 Checkbox 的 <code>value</code> 时 <code>onChange</code> 不能正确传入修改后的值的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33753">#33753</a></li> </ul> <h2>4.18.4</h2> <ul> <li>Typography <ul> <li>⚡️ Optimize Typography to use native css ellipsis when <code>tooltip</code> is configured. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33669">#33669</a></li> <li>🐞 Refactor Typography <code>ellipsis</code> logic to fix error when <code>children</code> use Context content. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33725">#33725</a></li> </ul> </li> <li>Icon <ul> <li>🐞 Fix <code><Icon component={HomeOutlined} /></code> and <code><HomeOutlined /></code> not aligned. (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33709">ant-design/ant-design#33709</a>)</li> <li>🐞 Fix <code><Icon component={SyncOutlined} spin /></code> shake. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33726">#33726</a> <a href="https://github.com/JX-Zhuang"><code>@JX-Zhuang</code></a></li> </ul> </li> <li>Input <ul> <li>🐞 Fix the display effect for Input related components with <code>hidden</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33735">#33735</a> <a href="https://github.com/fanerge"><code>@fanerge</code></a> <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33706">#33706</a> <a href="https://github.com/hydraZty"><code>@hydraZty</code></a></li> <li>🐞 Fix the warning in console for Input with <code>showCount</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33686">#33686</a> <a href="https://github.com/whwangms"><code>@whwangms</code></a></li> </ul> </li> <li>⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33723">#33723</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 Fix the duplicate keys warning in console for Cascader. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33649">#33649</a> <a href="https://github.com/dimbslmh"><code>@dimbslmh</code></a></li> <li>🐞 Checkbox.Group support number and boolean as options element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33678">#33678</a></li> <li>🐞 Fix Form <code>validateMessages</code> bug in multiple ConfigProvider. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33705">#33705</a></li> <li>🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33716">#33716</a> <a href="https://github.com/toSayNothing"><code>@toSayNothing</code></a></li> <li>🐞 Fix Image has bottom blank style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33631">#33631</a> <a href="https://github.com/fanerge"><code>@fanerge</code></a></li> <li>🐞 Fix TreeSelect with keyboard operation missing highlight issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33755">#33755</a></li> <li>🇰🇭 Fix some translations for Khmer (km_KH). <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33738">#33738</a> <a href="https://github.com/vireakkeosokvibol"><code>@vireakkeosokvibol</code></a></li> </ul> <hr /> <ul> <li>Typography <ul> <li>⚡️ 优化 Typography 在配置 <code>tooltip</code> 时优先使用原生省略样式以提升性能。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33669">#33669</a></li> <li>🐞 重构 Typography <code>ellipsis</code> 逻辑以修复 <code>children</code> 如果消费上游 Context 会报错的问题。 <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33725">#33725</a></li> </ul> </li> <li>Icon <ul> <li>🐞 修复 <code><Icon component={HomeOutlined} /></code> 和 <code><HomeOutlined /></code> 不对齐的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33709">#33709</a></li> <li>🐞 修复 <code><Icon component={SyncOutlined} spin /></code> 抖动的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33726">#33726</a> <a href="https://github.com/JX-Zhuang"><code>@JX-Zhuang</code></a></li> </ul> </li> <li>Input <ul> <li>🐞 修复 Input 相关组件设置 <code>hidden</code> 时的展示问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33735">#33735</a> <a href="https://github.com/fanerge"><code>@fanerge</code></a>,<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33706">#33706</a> <a href="https://github.com/hydraZty"><code>@hydraZty</code></a></li> <li>🐞 修复 Input 传入 <code>showCount</code> 时控制台 warning 问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33686">#33686</a> <a href="https://github.com/whwangms"><code>@whwangms</code></a></li> </ul> </li> <li>⚡️ 修复 ConfigProvider 和 Anchor 的渲染函数多次运行的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33723">#33723</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 修复 Cascader 组件中出现重复 key 的控制台 warning 问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33649">#33649</a> <a href="https://github.com/dimbslmh"><code>@dimbslmh</code></a></li> <li>🐞 Checkbox.Group 的 <code>options</code> 支持数组中直接传入 number 和 boolean 类型。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33678">#33678</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md">antd's changelog</a>.</em></p> <blockquote> <h2>4.18.5</h2> <p><code>2022-01-24</code></p> <ul> <li>Cascader <ul> <li>💄 Fix Cascader loading icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33799">#33799</a></li> <li>🐞 Fix Cascader not auto offset placement when popup is out of screen and fix active option out of screen not scroll. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33777">#33777</a></li> </ul> </li> <li>💄 Fix Tag style in dark theme. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33751">#33751</a></li> <li>💄 Fix disabled Checkbox inside Tooltip dom structure. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33772">#33772</a> <a href="https://github.com/boomler"><code>@boomler</code></a></li> <li>⚡️ Fix invalid hook dependency array in Row and Layout.Sider components. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33804">#33804</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 Fix Card <code>ref</code> not working. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33784">#33784</a> <a href="https://github.com/LongHaoo"><code>@LongHaoo</code></a></li> <li>🐞 Fix a Checkbox problem that <code>onChange</code> could not correctly pass in the modified value when dynamically modifying <code>value</code> property. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33753">#33753</a></li> </ul> <h2>4.18.4</h2> <p><code>2022-01-18</code></p> <ul> <li>Typography <ul> <li>⚡️ Optimize Typography to use native css ellipsis when <code>tooltip</code> is configured. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33669">#33669</a></li> <li>🐞 Refactor Typography <code>ellipsis</code> logic to fix error when <code>children</code> use Context content. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33725">#33725</a></li> </ul> </li> <li>Icon <ul> <li>🐞 Fix <code><Icon component={HomeOutlined} /></code> and <code><HomeOutlined /></code> not aligned. (<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33709">ant-design/ant-design#33709</a>)</li> <li>🐞 Fix <code><Icon component={SyncOutlined} spin /></code> shake. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33726">#33726</a> <a href="https://github.com/JX-Zhuang"><code>@JX-Zhuang</code></a></li> </ul> </li> <li>Input <ul> <li>🐞 Fix the display effect for Input related components with <code>hidden</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33735">#33735</a> <a href="https://github.com/fanerge"><code>@fanerge</code></a> <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33706">#33706</a> <a href="https://github.com/hydraZty"><code>@hydraZty</code></a></li> <li>🐞 Fix the warning in console for Input with <code>showCount</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33686">#33686</a> <a href="https://github.com/whwangms"><code>@whwangms</code></a></li> </ul> </li> <li>⚡️ Fix ConfigProvider and Anchor rerender unexpectedly. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33723">#33723</a> <a href="https://github.com/mrwd2009"><code>@mrwd2009</code></a></li> <li>🐞 Fix the duplicate keys warning in console for Cascader. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33649">#33649</a> <a href="https://github.com/dimbslmh"><code>@dimbslmh</code></a></li> <li>🐞 Checkbox.Group support number and boolean as options element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33678">#33678</a></li> <li>🐞 Fix Form <code>validateMessages</code> bug in multiple ConfigProvider. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33705">#33705</a></li> <li>🐞 Fix Steps the tail part would be hidden when type is navigation and labelPlacement is vertical. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33716">#33716</a> <a href="https://github.com/toSayNothing"><code>@toSayNothing</code></a></li> <li>🐞 Fix Image has bottom blank style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33631">#33631</a> <a href="https://github.com/fanerge"><code>@fanerge</code></a></li> <li>🐞 Fix TreeSelect with keyboard operation missing highlight issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33755">#33755</a></li> <li>🇰🇭 Fix some translations for Khmer (km_KH). <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33738">#33738</a> <a href="https://github.com/vireakkeosokvibol"><code>@vireakkeosokvibol</code></a></li> </ul> <h2>4.18.3</h2> <p><code>2022-01-10</code></p> <ul> <li>🆕 Menu support <code>home</code> and <code>end</code> keyboard navigate. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33642">#33642</a> <a href="https://github.com/dartamonov-vertex"><code>@dartamonov-vertex</code></a></li> <li>Table <ul> <li>⚡️ Improve Table perfermance significantly when mount and unmount. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33554">#33554</a></li> <li>🐞 Fix Table emptynode fixed display. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33610">#33610</a> <a href="https://github.com/hemengke1997"><code>@hemengke1997</code></a></li> <li>🐞 Fix Table tree data hover error. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33638">#33638</a> <a href="https://github.com/LongHaoo"><code>@LongHaoo</code></a></li> </ul> </li> <li>Form <ul> <li>🐞 Fix Form validateMessages is not correct in default locale. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33511">#33511</a></li> <li>🐞 Fix Form.Item help with empty string makes layout shaking. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33644">#33644</a></li> </ul> </li> <li>🐞 Fix Input.Textarea throws error on preact. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33536">#33536</a> <a href="https://github.com/developit"><code>@developit</code></a></li> <li>🐞 Fix PageHeader state update error after unmounted. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33546">#33546</a> <a href="https://github.com/wuifdesign"><code>@wuifdesign</code></a></li> <li>💄 Fix Select tag margin issue when using <code>tagRender</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/33539">#33539</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
2573462cec |
Use provided idb path in iOSBridge idb execs
Summary: We pass the `idbPath` to only the log listener function, when in reality it should be used by all of these functions that call out to idb. This could result in some bizzare inconsistencies where some idb functions to fail as they are not using the supplied path Reviewed By: passy Differential Revision: D33818298 fbshipit-source-id: f0fb7f26579c646a0d5265364d539dfded711c2e |
||
|
|
e2abe1c89a |
Separate concerns of reading screenshot into buffer & execing screenshot function
Summary: This allows us to change the way that the command is itself exec'd (for instance to change the idb exec'ing in D33818298) Reviewed By: passy Differential Revision: D33818822 fbshipit-source-id: c90b7e58c7476f5db08da0e74e9791230ff97f6f |
||
|
|
4f886448e0 |
Move simctl iOSBridge free-functions into class
Summary: Similar to D33818267, but for simctl. Brings logical ordering of methods as well as consistency Reviewed By: passy Differential Revision: D33818687 fbshipit-source-id: 3fbcea128d06c900b49b83ad583ec8a7a07cae2c |
||
|
|
1e5a070dbd |
Move idb iOSBridge free-functions into class
Summary: This isn't that important right now, but will help as the `IOSBridge` is expanded in the future. There's also an argument for logical ordering of functions within a container (a class!), but that's not the real motivation here. The existence of `bind` shows that this free function is effectively closing over this argument anyway. Reviewed By: passy, lblasa Differential Revision: D33818267 fbshipit-source-id: e7b83f013121cedbd31cb28746b69c1fa76a0803 |
||
|
|
9d17411073 |
Automated: Update Podfile.lock (#3364)
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/3364 Test Plan: Imported from GitHub, without a `Test Plan:` line. **Static Docs Preview: flipper** |[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D33819893/V2/flipper/)| |**Modified Pages**| |[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D33819893/V2/flipper/docs/getting-started/ios-native/)| Reviewed By: passy Differential Revision: D33819893 Pulled By: cekkaewnumchai fbshipit-source-id: c84f02c3df663649adb1b3eb6dacc0a6e67f6015 |
||
|
|
08c09e6c6e |
Bump socket.io-client from 4.4.0 to 4.4.1 in /desktop (#3347)
Summary: Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.4.0 to 4.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/socketio/socket.io-client/releases">socket.io-client's releases</a>.</em></p> <blockquote> <h2>4.4.1</h2> <p>This release only contains minor changes. Please see the diff for more details.</p> <h4>Links:</h4> <ul> <li>Diff: <a href="https://github.com/socketio/socket.io-client/compare/4.4.0...4.4.1">https://github.com/socketio/socket.io-client/compare/4.4.0...4.4.1</a></li> <li>Server release: <a href="https://github.com/socketio/socket.io/releases/tag/4.4.1">4.4.1</a></li> <li>engine.io-client version: <code>~6.1.1</code></li> <li>ws version: <code>~8.2.3</code></li> </ul> <p>Size of the bundles:</p> <table> <thead> <tr> <th></th> <th>min</th> <th>min+gzip</th> </tr> </thead> <tbody> <tr> <td>socket.io.min.js</td> <td>40.4 KB (-)</td> <td>13.1 KB (-)</td> </tr> <tr> <td>socket.io.msgpack.min.js</td> <td>45.6 KB (-)</td> <td>14.2 KB (-)</td> </tr> <tr> <td>socket.io.esm.min.js</td> <td>33.1 KB (-)</td> <td>11.3 KB (-)</td> </tr> </tbody> </table> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/socketio/socket.io-client/blob/master/CHANGELOG.md">socket.io-client's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/socketio/socket.io-client/compare/4.4.0...4.4.1">4.4.1</a> (2022-01-06)</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
9415bff254 |
Bump react-virtual from 2.10.0 to 2.10.4 in /desktop (#3343)
Summary: Bumps [react-virtual](https://github.com/tannerlinsley/react-virtual) from 2.10.0 to 2.10.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tannerlinsley/react-virtual/releases">react-virtual's releases</a>.</em></p> <blockquote> <h2>v2.10.4</h2> <h2><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.10.3...v2.10.4">2.10.4</a> (2022-01-21)</h2> <h3>Bug Fixes</h3> <ul> <li><code>totalSize</code> should be <code>paddingStart</code> + <code>paddingEnd</code> when size is 0 (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/238">https://github.com/facebook/flipper/issues/238</a>) (<a href=" |
||
|
|
1262ee05f1 |
Bump react-debounce-render from 7.0.0 to 7.0.1 in /desktop (#3351)
Summary: Bumps [react-debounce-render](https://github.com/podefr/react-debounce-render) from 7.0.0 to 7.0.1. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/podefr/react-debounce-render/commits">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/3351 Reviewed By: mweststrate Differential Revision: D33741785 Pulled By: lblasa fbshipit-source-id: 4ceee9922dd80ec2ec47b9826fd8da09cd551122 |
||
|
|
f08bcb2a2c |
tweak dark mode theme colors, improve LeftRail UI (#3335)
Summary: Currently the design of `LeftRail` varies a bit between light and dark modes. Additionally washed background color is hard to differentiate from the main background color in comparison to the light theme (See `LeftRail` sidebars toggle buttons background for example). This lead to few contrast related issues, for example the hover effect on the WelcomeScreen elements is not visible in dark mode. The PR tweaks the dark mode theme colors and fixes the unnecessary background of Settings icon in dark mode. I have also spotted that icon `hover` effect is not working when icon has a badge (pure dot or count), I might have an idea how to fix this and I will push another PR for that. 🙂 ## Changelog * tweak dark mode theme colors, improve LeftRail UI Pull Request resolved: https://github.com/facebook/flipper/pull/3335 Test Plan: The change has been testes by running the desktop Flipper app locally from source. ## Preview (before & after) <img width="390" alt="Screenshot 2022-01-24 at 13 37 20" align="left" src="https://user-images.githubusercontent.com/719641/150784627-36e222a8-e53e-4409-ab72-783d4a594f8e.png"> <img width="390" alt="Screenshot 2022-01-24 at 13 46 08" src="https://user-images.githubusercontent.com/719641/150785438-bb496adf-83ab-4b1c-928d-07f4b0098f1a.png"> Reviewed By: antonk52 Differential Revision: D33741513 Pulled By: lblasa fbshipit-source-id: ef187db0725ac2b04c09b7f06823e713b50be88f |
||
|
|
31f3443dee |
Flipper Snapshot Bump: v0.131.1-SNAPSHOT
Summary: Releasing snapshot version 0.131.1-SNAPSHOT Reviewed By: cekkaewnumchai Differential Revision: D33814532 fbshipit-source-id: 968fb153308eda7c7bb520ac2cf4d46a02e3e735 |
||
|
|
1fee833de6 |
Flipper Release: v0.131.0
Summary: Releasing version 0.131.0 Reviewed By: cekkaewnumchai Differential Revision: D33814533 fbshipit-source-id: fde9830a063c99c5735cc66a0a2a614905c4335d |
||
|
|
be451e15d9 |
Use demandOption instead of explicit checks of args
Summary: `yargs` supports this Reviewed By: passy Differential Revision: D33812132 fbshipit-source-id: d7846222f140fc32035824fe035737ae9ae2780e |
||
|
|
85d1b060c7 |
Match on device serial as well as title
Summary: Device UDID/serial is necessary for matching uniquely. It's certainly possible to connect more than one of the same phone model, or have multiple iOS Sims with the same model and different OS versions. Reviewed By: nikoant Differential Revision: D33793569 fbshipit-source-id: aabd31a5b86c78a85aa867c6fa34d92f411fcb6e |
||
|
|
e0204486a5 |
Fix stale idbConfig and adb in CertificateProvider
Summary: CertificateProvider initializes too early, and set abd and idb to undefined, before adb and idb are initialized by android and ios manager. Reviewed By: lawrencelomax Differential Revision: D33792854 fbshipit-source-id: b6bba32dead7edf62e360b2e2563f2b67243b1b8 |
||
|
|
377e5963a9 |
Flipper Snapshot Bump: v0.130.1-SNAPSHOT
Summary: Releasing snapshot version 0.130.1-SNAPSHOT Reviewed By: cekkaewnumchai Differential Revision: D33788025 fbshipit-source-id: c7bab5d3611da4db5277a07bf1a3e7b43ae5df49 |
||
|
|
66478d3e11 |
Flipper Release: v0.130.0
Summary: Releasing version 0.130.0 Reviewed By: cekkaewnumchai Differential Revision: D33788026 fbshipit-source-id: bed50ad4001a40d899c673547dac16c8aef8aa1d |