c3d61cc32d6c8a8f21bab84beaad5db5c56cffee
4353 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c3d61cc32d |
Persist uninstalled plugins list
Summary: This diff changes uninstallation procedure for plugins. Instead of deleting plugin files immediately we are keeping them, but mark them as "uninstalled". This makes it possible to re-install plugins quickly in case when user clicked "delete" by mistake. Reviewed By: mweststrate Differential Revision: D25493479 fbshipit-source-id: 9ff29d717cdd5401c55388f24d479599579c8dd3 |
||
|
|
df03ccbeab |
Uninstall plugins from sidebar
Summary: Added UI for uninstalling plugins from sidebar. To avoid confusion between "disable" and "uninstall" and to reduce possibility of errors when plugins uninstalled accidentally by misclicks, I made it only possible to uninstall plugins after they are disabled. So for enabled plugins two steps are required for uninstalling. Reviewed By: mweststrate Differential Revision: D25454117 fbshipit-source-id: 28e67dc1ff2d39ad67e6d2770302a996affd9723 |
||
|
|
97d37abbb2 |
Install plugins from sidebar
Summary: This diff adds "download" button to the plugins shown in "Detected in App" section, so they can be downloaded, installed and enabled just in one click. For now UI is very simple - there is no progress indication and no error handling for failed downloads. I'll add them in next diffs. Please note that we are explicitly "star" every installed plugin to enable it straight away without additional clicks in "disabled" section. Reviewed By: mweststrate Differential Revision: D25393472 fbshipit-source-id: 0a224ea6d03db0ee9a70b7fa35ede9616c03d824 |
||
|
|
ab441d8226 |
Tests for plugin installer with in-memory file system (#1761)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1761 Plugin installed logic is quite complex and heavily relies on file system. So I added integration tests which uses in-memory file system. Here I've covered complex functions added in the previous diff of this stack. Reviewed By: mweststrate Differential Revision: D25393473 fbshipit-source-id: a823eb7d6707152a1c3717a6da25b6beee85801d |
||
|
|
02d695cb28 |
Keep multiple installed versions of each plugin
Summary:
This diff changes directory structure for installed plugins to allow installation of multiple versions simultaneously, e.g. to to allow downloading new plugin version while user is still using the previous one, and to have possibility of fast rollback to the previous installed if necessary. The new folder for installed plugins is located in `~/.flipper/installed-plugins` and has the following structure:
flipper-plugin-reactotron
1.0.0
...
package.json
1.0.1
...
package.json
flipper-plugin-network
0.67.1
...
package.json
0.67.2
...
package.json
The tricky part here is that we also need to migrate already installed plugins from the old folder `~/.flipper/thirdparty` to the new folder and maintain the new structure for them.
Another tricky part is that we need to periodically cleanup old versions. For now we will just keep 2 versions of each plugin. Cleanup is performed in background right after Flipper startup.
Reviewed By: mweststrate
Differential Revision: D25393474
fbshipit-source-id: 26617ac26114148f797cc3d6765a42242edc205e
|
||
|
|
9c5f59e109 |
"Detected in App" section added to sidebar
Summary: New section "Detected in App" in the main sidebar showing plugins which are supported by the currently selected client app, but not installed in Flipper. Note that in this diff we only show them, there is no "install" button yet. I will add it in a next diff. Reviewed By: mweststrate Differential Revision: D25361915 fbshipit-source-id: 8fff6887a8ec04b3b59c939a758c8f801f42490f |
||
|
|
f3e1a48ff3 |
Plugin Marketplace state refresh and cache
Summary: Separate dispatcher for periodic refreshing available plugins data from the Marketplace backend and caching it locally. The plugin auto update downloader subscribes to these state refreshes and automatically schedules plugin update downloads when required. Reviewed By: passy Differential Revision: D25360897 fbshipit-source-id: 5b6d95b63ff47b8ae9ad8b12e2480d1fed524ca5 |
||
|
|
5b26f36672 |
Plugin Marketplace API
Summary: Extracted plugin marketplace API to a separate file and updated it to load full plugin manifests. Reviewed By: passy Differential Revision: D25181759 fbshipit-source-id: a63f9ce16249ccc170df148cef5c209fdc6d4d6d |
||
|
|
658b3e8a91 |
Make sure Lite app uses FB branding
Summary: Fixes https://fb.workplace.com/groups/flippersupport/permalink/1038883216592336/ Reviewed By: passy Differential Revision: D25557366 fbshipit-source-id: 7b821ad7cd52454294482a00c5dc59c57b85f757 |
||
|
|
d08aa5d33e |
Removed void intro page to the tutorial
Summary: The 'extending flipper' introduction page didn't contain anything meaty, so collapsed it into the tutorial introduction, cleaning up the top level navigation. Reviewed By: passy Differential Revision: D25531718 fbshipit-source-id: ca0f98186e889e13cb97be8818db3588738e5039 |
||
|
|
dd8403bb8c |
Bump async-mutex from 0.1.4 to 0.2.6 in /desktop (#1748)
Summary: Bumps [async-mutex](https://github.com/DirtyHairy/async-mutex) from 0.1.4 to 0.2.6. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/DirtyHairy/async-mutex/blob/master/CHANGELOG.md">async-mutex's changelog</a>.</em></p> <blockquote> <h2>0.2.6</h2> <ul> <li>Fix a nasty <a href="https://github-redirect.dependabot.com/DirtyHairy/async-mutex/issues/27">bug</a> related to consecutive calls to <code>mutex::release</code>.</li> </ul> <h2>0.2.5</h2> <ul> <li>Nothing new thanks to NPM. Go away. Install 0.2.6.</li> </ul> <h2>0.2.4</h2> <ul> <li>Calling Semaphore::release on a semaphore with concurrency > 1 will not work as expected; throw an exception in this case</li> <li>Make the warning on using Semaphore::release and Mutex::release more prominent</li> </ul> <h2>0.2.3</h2> <ul> <li>Add alternate Semaphore::release and Mutex::release API</li> <li>Work around build warnings with react native (and probably other bundlers)</li> </ul> <h2>0.2.2</h2> <ul> <li>Improve compatibility with older versions of node 13, thanks to <a href="https://github.com/josemiguelmelo">josemiguelmelo</a></li> </ul> <h2>0.2.1</h2> <ul> <li>Remove sourcemaps</li> </ul> <h2>0.2.0</h2> <ul> <li>Add a <code>Semaphore</code>, reimplement <code>Mutex</code> on top of it</li> <li>Add a <code>withTimeout</code> decorator that limits the time the program waits for the mutex or semaphore to become available</li> <li>Support native ES6 imports on Node >= 12</li> <li>Provide an ES6 module entrypoint for ES6 aware bundlers</li> <li>Dependency bump</li> <li>Switch from TSlint to ESlint</li> <li>Enable code coverage in tests</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
eb475e7550 |
creating a flag to explicitly load flipper
Summary: This change will allow loading flipper not only internal build but also in builds that explicitly turn on LOAD_FLIPPER_EXPLICIT in build config Reviewed By: timur-valiev Differential Revision: D25369245 fbshipit-source-id: 9f8e5c7033aa4ded6ce7bc8cc5b5c252ba65692b |
||
|
|
08b5644253 |
Killed Flipper headless
Reviewed By: nikoant Differential Revision: D24160480 fbshipit-source-id: 221e60473dddc0a49cea674e210beb6f85b1b03c |
||
|
|
41a1af33cb |
Kill metrics reducer
Reviewed By: nikoant Differential Revision: D24332440 fbshipit-source-id: 0a48b25f98d93b181b622e8477a74c7ef0094816 |
||
|
|
707b8a922e |
Bump ini from 1.3.5 to 1.3.8 in /website (#1759)
Summary: Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
e188469acd |
Add public release docs
Summary: Per title. Reviewed By: nikoant Differential Revision: D25535920 fbshipit-source-id: 63fc1b7f5ea122478a3e82e3345d057bc7be37cd |
||
|
|
3f472d682e |
Bump deps of ReactNativeFlipper
Summary: Fixes #1764, #1765 Reviewed By: nikoant Differential Revision: D25533827 fbshipit-source-id: e248af4873d12fa0153af5e9db90f0173695005a |
||
|
|
5205fe09e0 |
bump deps of flipper-js-client-sdk
Summary: allow-large-files yarn upgrade-interactive --latest fixes #1762, #1763 Reviewed By: nikoant Differential Revision: D25533758 fbshipit-source-id: fc4a39182d84e775dfbf4023ffc4a5d68d296e11 |
||
|
|
092a286bc8 |
Update several deps at once
Summary: Fixes #1771, #1770, #1769, #1768, #1767, #1766 Reviewed By: nikoant Differential Revision: D25533717 fbshipit-source-id: 86b90e1ec93f0255edcf1cf3cf5fb2311f0ca23f |
||
|
|
a1a53391d5 |
Make sure JS Web launcher is accessible from launcher dialog
Summary: Addresses https://fb.workplace.com/groups/748354712423318/permalink/1038486449965346/ Reviewed By: timur-valiev Differential Revision: D25533227 fbshipit-source-id: 7e961df301a6dbf99c158612c7c5d80191082697 |
||
|
|
1cad57d750 |
Bump ini from 1.3.5 to 1.3.8 in /desktop (#1760)
Summary: Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
2ad81f2c63 |
Reduce sign in errors
Summary:
A lot of the errors in our monitoring / logs are mere sign in errors. Many of them are unnecessary as they are features triggered automatically even when the user isn't logged in.
This diff improves error handling and prevents requires from being made / features from being used by introducing a `<RequireLogin>` component that will hide an underlying feature if the user isn't logged in.
This also prevents the support request form from failing after the user has filled in all details.
This also fixes an issue where mobilebuilds plugin didn't refresh after the user did log in.
From our monitoring error 1,9 and 10:
{F350458668}
Reviewed By: jknoxville
Differential Revision: D25494356
fbshipit-source-id: 95701381bb74c27b9ea9658dc4df678e5f0710e0
|
||
|
|
379339b03b |
Bump react-native from 0.63.3 to 0.63.4 in /react-native/react-native-flipper @allow-large-files (#1746)
Summary: Bumps [react-native](https://github.com/facebook/react-native) from 0.63.3 to 0.63.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>v0.63.4</h2> <p>This release fixes a series of issues reported by the community over the last few months: you can find the full <a href="https://github.com/react-native-community/releases/blob/master/CHANGELOG.md#v0634">changelog here</a>.</p> <p>You can participate in the conversation for the next patch release in the dedicated <a href="https://github-redirect.dependabot.com/react-native-community/releases/issues/218">issue</a>.</p> <hr /> <p>To help you upgrade to this version, you can use the new <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper</a> {emoji:269b}</p> <hr /> <p>You can find the whole <a href="https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md">changelog history</a> over at <code>react-native-releases</code>.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
91b501d0ed |
Bump antd from 4.6.6 to 4.9.1 in /desktop (#1734)
Summary: allow-large-files Bumps [antd](https://github.com/ant-design/ant-design) from 4.6.6 to 4.9.1. <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.9.1</h2> <ul> <li>TypeScript <ul> <li>� Fix Collapse.Panel <code>collapsible</code> property to optional. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <hr /> <ul> <li>TypeScript <ul> <li>� 修复 Collapse.Panel 可折叠属性 <code>collapsible</code> 为可选。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <h2>4.9.0</h2> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal support <code>focusTriggerAfterClose</code> to disable auto focus back. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} Fix Modal hooks not trigger <code>onCancel</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} Fix Modal sometime not popup from the click position. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Support <code>closable</code> and <code>closeIcon</code> api for Modal.method. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} Reduce Table selection column width to <code>32px</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image add PreviewGroup component to support multiple images preview. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} Fix Image style prop not acting on img element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse support <code>collapsible</code> to customize trigger region and deprecated Panel <code>disabled</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} Fix Collapse cannot contains <code><Table sticky /></code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </li> <li>{emoji:1f41e} Fix Cascader bug that empty data can be selected. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28062">#28062</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f195} Alert support <code>action</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/25892">#25892</a> <a href="https://github.com/jesse3mh9a">jesse3mh9a</a></li> <li>{emoji:1f525} Tree refactor drag behavior. Add <code>dropIndicatorRender</code> and <code>allowDrop</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26462">#26462</a> <a href="https://github.com/07akioni">07akioni</a></li> <li>{emoji:1f195} Space support <code>wrap</code> for auto break line. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27910">#27910</a></li> <li>{emoji:1f195} Descriptions.Item support <code>labelStyle</code> & <code>contentStyle</code> props. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27897">#27897</a></li> <li>{emoji:1f195} Form.List support <code>initialValue</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27872">#27872</a></li> <li>{emoji:1f195} Menu supports <code>expandIcon</code>, and optimize default expand icon style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27565">#27565</a></li> <li>{emoji:1f195} Input and TextArea add <code>setSelectionRange</code> of <code>ref</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27584">#27584</a> <a href="https://github.com/appleshell">appleshell</a></li> <li>{emoji:1f195} Select support <code>filterSort</code> to order the filtered options. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27523">#27523</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f1f0_1f1ff} Add Kazakh locale. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27589">#27589</a> <a href="https://github.com/nodkz">nodkz</a></li> </ul> <hr /> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal 支持 <code>focusTriggerAfterClose</code> 以关闭自动恢复焦点的功能。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} 修复 Modal hooks 没有触发 <code>onCancel</code> 的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} 修复 Modal 有时不在点击位置弹出的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Modal.method 支持 <code>closable</code> 和 <code>closeIcon</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} 减少 Table 选中列宽度至 <code>32px</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image 增加 PreviewGroup 组件支持多张图片预览。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} 修复 Image style 属性未作用于 img 元素的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse 添加 <code>collapsible</code> 以支持指定可折叠触发区域并废弃 Panel 的 <code>disabled</code> 属性。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} 修复 Collapse 内使用 <code><Table sticky /></code> 时不生效的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </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.9.1</h2> <p><code>2020-12-01</code></p> <ul> <li>TypeScript <ul> <li>� Fix Collapse.Panel <code>collapsible</code> property to optional. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <h2>4.9.0</h2> <p><code>2020-11-30</code></p> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal support <code>focusTriggerAfterClose</code> to disable auto focus back. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} Fix Modal hooks not trigger <code>onCancel</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} Fix Modal sometime not popup from the click position. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Support <code>closable</code> and <code>closeIcon</code> api for Modal.method. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} Reduce Table selection column width to <code>32px</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image add PreviewGroup component to support multiple images preview. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} Fix Image style prop not acting on img element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse support <code>collapsible</code> to customize trigger region and deprecated Panel <code>disabled</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} Fix Collapse cannot contains <code><Table sticky /></code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </li> <li>{emoji:1f41e} Fix Cascader bug that empty data can be selected. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28062">#28062</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f195} Alert support <code>action</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/25892">#25892</a> <a href="https://github.com/jesse3mh9a">jesse3mh9a</a></li> <li>{emoji:1f525} Tree refactor drag behavior. Add <code>dropIndicatorRender</code> and <code>allowDrop</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26462">#26462</a> <a href="https://github.com/07akioni">07akioni</a></li> <li>{emoji:1f195} Space support <code>wrap</code> for auto break line. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27910">#27910</a></li> <li>{emoji:1f195} Descriptions.Item support <code>labelStyle</code> & <code>contentStyle</code> props. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27897">#27897</a></li> <li>{emoji:1f195} Form.List support <code>initialValue</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27872">#27872</a></li> <li>{emoji:1f195} Menu supports <code>expandIcon</code>, and optimize default expand icon style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27565">#27565</a></li> <li>{emoji:1f195} Input and TextArea add <code>setSelectionRange</code> of <code>ref</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27584">#27584</a> <a href="https://github.com/appleshell">appleshell</a></li> <li>{emoji:1f195} Select support <code>filterSort</code> to order the filtered options. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27523">#27523</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f1f0_1f1ff} Add Kazakh locale. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27589">#27589</a> <a href="https://github.com/nodkz">nodkz</a></li> </ul> <h2>4.8.6</h2> <p><code>2020-11-27</code></p> <ul> <li>{emoji:1f41e} Fix Badge style blink when mounted. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28003">#28003</a></li> <li>{emoji:1f484} Reduce Modal style size. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27998">#27998</a></li> <li>{emoji:1f41e} Fix Layout.Sider can not collapse when <code>width='0'</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28000">#28000</a></li> <li>{emoji:1f41e} Fix Menu style when using none Ant Design icons. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27983">#27983</a></li> <li>Input <ul> <li>{emoji:1f41e} Fix Input.Search button height when customize less variables. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27986">#27986</a></li> <li>{emoji:1f41e} Fix Input.Search <code>addonBefore</code> abnormal style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27960">#27960</a></li> </ul> </li> <li>{emoji:1f41e} Fix Typography.Link clicking copy button will redirect. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27982">#27982</a></li> <li>{emoji:1f41e} Fix Carousel throws error <code>Unable to preventDefault inside passive event listener</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27957">#27957</a></li> <li>{emoji:1f310} Improve data picker locale for <code>en_GB</code> and <code>zh_TW</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28016">#28016</a> <a href="https://github.com/abz53378">abz53378</a></li> <li>RTL <ul> <li>{emoji:1f484} Optimize the border style of Descriptions in RTL model. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28010">#28010</a></li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
87a4f203e1 |
Automated: Update Podfile.lock (#1754)
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/1754 Reviewed By: nikoant Differential Revision: D25461675 Pulled By: mweststrate fbshipit-source-id: 60fa85a6ec762be4d09b649cb17c012461ab0be1 |
||
|
|
561bf12518 |
Bump eslint-plugin-prettier from 3.1.4 to 3.2.0 in /flipper-js-client-sdk (#1744)
Summary: Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.4 to 3.2.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md">eslint-plugin-prettier's changelog</a>.</em></p> <blockquote> <h2>v3.2.0 (2020-12-03)</h2> <ul> <li>Skip CI for eslint 6 + node 8 (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/364">https://github.com/facebook/flipper/issues/364</a>) (<a href=" |
||
|
|
0d7864da4e |
Hide dark mode setting in OSS version
Summary: See https://github.com/facebook/flipper/issues/1755, we did hide the Sandy option in OSS, but not the dark mode option. I intend to enable & switch to Sandy in OSS after the holidays, to make it easier to deal with any possible fallout. Reviewed By: nikoant Differential Revision: D25460906 fbshipit-source-id: b80d751f2ff435775d08d17effb81e56db738d4d |
||
|
|
02c940b048 |
Enable code snippets in docusaurus sites
Summary: Lets you embed code in markdown with the following syntax: ```` ```js file=../../some-file.js start=start_marker end=end_marker ``` ```` Reviewed By: nikoant Differential Revision: D25460060 fbshipit-source-id: 29e242d6d896e7c8256371483d72104889b9daa9 |
||
|
|
455b8c9316 |
Fix scroll into view and selection highlighting in Pluginlist
Summary: Noticed when testing `selectClient` logic, that if plugin selection is changed programmatically rather than interactively, the selection isn't updated, and the scrolling wasn't working nicely either (since `active` collided with a non-public Ant field it always got overriden). Reviewed By: nikoant Differential Revision: D25460681 fbshipit-source-id: 1854ee8b9e6b2a2580f2143cd834ac1eacd296a9 |
||
|
|
169b8a0845 |
Bump react-native-flipper from 0.66.0 to 0.68.0 in /react-native/ReactNativeFlipperExample (#1745)
Summary: Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.66.0 to 0.68.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p> <blockquote> <h2>v0.68.0</h2> <p>See <a href="https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md</a> for full notes.</p> <h2>v0.67.0</h2> <p>See <a href="https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md</a> for full notes.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
52862f6083 |
Introduce isPluginAvailable and selectPlugin
Summary: Introduced API to replace the deprecated `selectPlugin` in Sandy. The API can be used to navigate from `device plugin -> device plugin`, or` client plugin -> device / client plugin` Introduced `isPluginAvailable` as well, so that the user interaction an be fine tuned in case the plugin is not disabled. Reviewed By: jknoxville Differential Revision: D25422370 fbshipit-source-id: c6c603f1c68e6291280b3d0883e474448754ded1 |
||
|
|
02a56da3f5 |
Flipper Snapshot Bump: v0.69.1-SNAPSHOT
Summary: Releasing snapshot version 0.69.1-SNAPSHOT Reviewed By: mweststrate Differential Revision: D25421258 fbshipit-source-id: 4c4e07b43bd2545e09d2e6e9280f7c16b0669c24 |
||
|
|
4fa2c9761a |
Flipper Release: v0.69.0
Summary: Releasing version 0.69.0 Reviewed By: mweststrate Differential Revision: D25421257 fbshipit-source-id: aceee72e7d544cefe6717ed7b8c79679d2159e2b |
||
|
|
dc328ef3fd |
Fix checkbox not toggling
Summary: In the Sandy welcome screen, the `Don't show this dialog again` checkbox couldn't not be toggled back on after it was toggled off. Reviewed By: passy Differential Revision: D25421721 fbshipit-source-id: c58170bb9442d1114d1197655bc58f61e47da880 |
||
|
|
2222a2b71c |
Add option to wipe local storage
Summary: This diff adds an option to wipe local storage to the settings dialog, to reset all preferences, table column widths, changelog and Nux state, etc. etc. in one go. This is primarily an self-fixing mechanism in case we mess up in the future, but useful during development / testing as well. Reviewed By: passy Differential Revision: D25421722 fbshipit-source-id: 3b69653b2142a7178ef83e01d35309f3a971e2cf |
||
|
|
4832d6275b |
Fix activatePlugin measurements not completing
Summary: `activatePlugin` events where not recorded correctly for Sandy plugins. Although the starting measuerments is fired the `connections` reducer, the completing event fires from `PluginContainer`. Since this is done as part of a ref-update (!!), see [here](https://www.internalfb.com/intern/diffusion/FBS/browse/master/xplat/sonar/desktop/app/src/PluginContainer.tsx?commit=65a625ea9941&lines=155), and the ref to the corresponding element is not set for Sandy plugins, the event was never marked as completed. Fixed this by making it part of the `activate` life-cycle event of Sandy plugins. Reviewed By: passy Differential Revision: D25421537 fbshipit-source-id: 5cbfeb91cc12e4520fa271bab24034094d7ddb39 |
||
|
|
8dc321c1ee |
Verify that all APIs are documented in unit test
Summary: When exposing new top-level APIs from `flipper-plugin`, they should be documented. Added a unit test to enforce this and added documentation for all missing APIs. Reviewed By: passy Differential Revision: D25421401 fbshipit-source-id: f5cafc1881de846c8a5dd86e5d094ebd27a66f2a |
||
|
|
4aff8c1bcf |
Introduce useLogger hook
Summary: In the Flipper chrome there is a lot of `logger={logger}` prop drilling. Let's not do that anymore in the future by using a proper hook, which is exposed from `flipper-plugin`.
Reviewed By: passy
Differential Revision: D25421304
fbshipit-source-id: 01ec8563c67f7e2fac359c2f8216eba722bff8d9
|
||
|
|
083dbd3dbc |
Merge troubleshooting pages
Summary: This replaces the existing "FB Internals" troubleshooting" page with a redirect to the now single troubleshooting page, to make sure no links break. It copies the content of that internal page into an internal-troubleshooting.mdx file, that isn't in any sidebars. And it gets the main troubleshooting page to include that page, when doing an internal build. So now we only have one troubleshooting page. Reviewed By: passy Differential Revision: D25372552 fbshipit-source-id: 1a310ca1a4a21683d6074d480e819e5af40c8af2 |
||
|
|
92f6e85bf6 |
Bump @types/yargs from 15.0.9 to 15.0.11 in /desktop (#1750)
Summary: Bumps [types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.9 to 15.0.11. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs">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/1750 Reviewed By: mweststrate Differential Revision: D25373169 Pulled By: passy fbshipit-source-id: 881b67c9186825b80af8232a48d82b67d4eed862 |
||
|
|
56361debb2 |
Differentiate insider builds from stable builds
Summary: Each build will have an embedded file specifying the target release channel for the build. This allows us to do some customisations, e.g. show "Insiders" label in the title and enable Sandy by default for insiders builds. Reviewed By: jknoxville Differential Revision: D25399045 fbshipit-source-id: 8e26d0754d0713ced823f86b30b54491d55b4d97 |
||
|
|
bc9412426f |
Parse build script args with yargs
Summary: We have some custom parsing here and there and I'm going to add some more args, so decided it's better to cleanup this a bit. Reviewed By: jknoxville Differential Revision: D25398421 fbshipit-source-id: 9d43029eef07648d0b01590e9cf7e7fe400b31d0 |
||
|
|
18127ef838 |
Bump react-markdown from 4.3.1 to 5.0.3 in /desktop (#1751)
Summary: Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 4.3.1 to 5.0.3. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md">react-markdown's changelog</a>.</em></p> <blockquote> <h2>5.0.3 - 2020-10-23</h2> <ul> <li><a href="https://github.com/remarkjs/react-markdown/commit/bb0bdde"><code>bb0bdde</code></a> Unlock peer dependency on React to allow v17</li> <li><a href="https://github.com/remarkjs/react-markdown/commit/24e42bd"><code>24e42bd</code></a> Fix exception on missing element from <code>html-to-react</code></li> <li><a href="https://github.com/remarkjs/react-markdown/commit/3d363e9"><code>3d363e9</code></a> Fix umd browser build</li> </ul> <h2>5.0.2 - 2020-10-23</h2> <ul> <li><a href="https://github.com/remarkjs/react-markdown/commit/4dadaba"><code>4dadaba</code></a> Fix to allow combining <code>allowedTypes</code>, <code>unwrapDisallowed</code> in types</li> </ul> <h2>5.0.1 - 2020-10-21</h2> <ul> <li><a href="https://github.com/remarkjs/react-markdown/commit/c3dc5ee"><code>c3dc5ee</code></a> Fix to not crash on empty text nodes</li> </ul> <h2>5.0.0 - 2020-10-19</h2> <h3>BREAKING</h3> <h4>Maintained by <a href="https://unifiedjs.com">unified</a></h4> <p>This project is now maintained by the unified collective, which also houses the underlying tools used in <code>react-markdown</code>: hundreds of projects for working with markdown and markup related things (including MDX). We have cleaned the project: updated dependencies, improved docs/tests/coverage/types, cleaned the issue tracker, and fixed a couple of bugs, but otherwise <em>much should be the same</em>.</p> <h4>Upgrade <code>remark-parse</code></h4> <p>The parser used in <code>react-markdown</code> has been upgraded to the latest version. It is now 100% CommonMark compliant: that means it works the same as in other places, such as Discourse, Reddit, Stack Overflow, and GitHub. Note that GitHub does extend CommonMark: to match how Markdown works on GitHub, use the <a href="https://github.com/remarkjs/remark-gfm"><code>remark-gfm</code></a> plugin.</p> <ul> <li><a href="https://github.com/remarkjs/remark/releases/tag/remark-parse%409.0.0"><code>remark-parse@9.0.0</code></a></li> <li><a href="https://github.com/remarkjs/remark/releases/tag/remark-parse%408.0.0"><code>remark-parse@8.0.0</code></a></li> <li><a href="https://github.com/remarkjs/remark/releases/tag/remark-parse%407.0.0"><code>remark-parse@7.0.0</code></a></li> <li><a href="https://github.com/remarkjs/remark/releases/tag/remark-parse%406.0.0"><code>remark-parse@6.0.0</code></a></li> </ul> <h4>New serializer property: <code>node</code></h4> <p>A new <code>node</code> prop is passed to all non-tag/non-fragment renderers. This contains the raw <a href="https://github.com/syntax-tree/mdast">mdast</a> AST node, which opens up a number of interesting possibilities.</p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
ea54d2c5e9 |
Bump anyhow from 1.0.34 to 1.0.35 in /packer (#1741)
Summary: Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.35. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.35</h2> <ul> <li> <p>Support 1-argument use of <code>ensure!</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/126">https://github.com/facebook/flipper/issues/126</a>)</p> <pre lang="rust"><code>ensure!(depth <= MAX_DEPTH); // error msg on a false condition would be "Condition failed: `depth <= MAX_DEPTH`" </code></pre> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
a3481a142b |
Bump serde from 1.0.117 to 1.0.118 in /packer (#1742)
Summary: Bumps [serde](https://github.com/serde-rs/serde) from 1.0.117 to 1.0.118. <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.118</h2> <ul> <li>Support serialization of core::num::Wrapping in no_std mode (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/1926">#1926</a>, thanks <a href="https://github.com/attente">attente</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
23751b45f3 |
Bump @types/node from 14.14.6 to 14.14.10 in /desktop (#1749)
Summary:
[//]: # (dependabot-start)
{emoji:26a0} **Dependabot is rebasing this PR** {emoji:26a0}
If you make any changes to it yourself then they will take precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.10.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">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/1749
Reviewed By: mweststrate
Differential Revision: D25373220
Pulled By: passy
fbshipit-source-id: a9f69a8c29f3c0d04939e68341f36fc26cc609a7
|
||
|
|
e33afdb938 |
Fix typos in comments
Summary: Per title. Reviewed By: mweststrate Differential Revision: D25394444 fbshipit-source-id: b741a147e25df5d4e91094c71136179871123743 |
||
|
|
172cc82589 |
Bump serde_json from 1.0.59 to 1.0.60 in /packer (#1743)
Summary: Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.60. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.60</h2> <ul> <li>Add <code>impl FromIterator<(impl Into<String>, impl Into<Value>)> for Value</code>, which collects a Value::Object (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/733">https://github.com/facebook/flipper/issues/733</a>, thanks <a href="https://github.com/matklad">matklad</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
244b6dc1be |
Fix Messenger not showing up in Sandy
Summary: Metro and Mac device were always hidden in Sandy, but they should only be hidden if they don't have underlying Clients. Fixes https://fb.workplace.com/groups/748354712423318/permalink/775342569724532/ Reviewed By: nikoant Differential Revision: D25369492 fbshipit-source-id: fdc25c3646d8339ae029425b4c45d8631bbee762 |
||
|
|
fa00575dec |
Fix unexpected end of JSON error
Summary:
This is the 6th most common error in our logging, and I just run into it after upgrading XCode. It happens when idb doesn't return any devices.
(because `''.split('\n')` results in `['']` not `[]`)
Reviewed By: jknoxville
Differential Revision: D25368759
fbshipit-source-id: 44b0e3a5dc4cf06ecdf2dff4a5692943e60d4b1d
|