Commit Graph

1499 Commits

Author SHA1 Message Date
Anton Nikolaev
a87069fa4f Fix Edit button layout
Summary: Edit button was not visible which blocked editing of databases

Reviewed By: passy

Differential Revision: D29139000

fbshipit-source-id: d0e8d22ca1a1a39697ec70e94e3eb7422e32de48
2021-06-16 03:31:51 -07:00
Pascal Hartig
15d052af52 Monday dep bump
Summary: All patch bumps.

Reviewed By: muraziz

Differential Revision: D29098776

fbshipit-source-id: 7cfb9774ddebaa6b1c61c597869bf0f9cf0c2687
2021-06-15 08:41:18 -07:00
Pascal Hartig
fdfcc65720 Hard-code d3-array 2.3.3 for Babel compat
Summary:
Got this in my dep bump: https://www.internalfb.com/intern/sandcastle/job/13510799320314417/

Babel is having some trouble with a certain syntax in newer d3-array elements: https://github.com/babel/babel/issues/11038

Until that's fixed the recommended work-around is hard-coding the old version which is apparently compatible.

Reviewed By: priteshrnandgaonkar

Differential Revision: D29107071

fbshipit-source-id: 5a4ba8e698969bc033a76da78ce9116d1cfbbeb4
2021-06-15 08:41:17 -07:00
Michel Weststrate
ad5276782e Fix enum names being truncated
Summary: Changelog: [Layout] Fixed issue where enum dropdowns would truncate their items

Reviewed By: jknoxville

Differential Revision: D29130378

fbshipit-source-id: cd05623d3c7db2ec18bb128f8bee3cd7a78cfe19
2021-06-15 06:28:48 -07:00
Michel Weststrate
bc14b047cd Fix database names being truncated
Summary: Changelog: [Database] Fix database names not being readable in selection dropdowns

Reviewed By: jknoxville

Differential Revision: D29130379

fbshipit-source-id: 7212e6869efe5f501aa76e6836dad839319204fd
2021-06-15 06:28:48 -07:00
Michel Weststrate
42c4bfcb47 Better error for ports in use
Summary:
If port 8088 / 8089 are in use, devices will not be able to connect to Flipper. We have checks for this in place, however it turns out that users can miss them. Potentially this can be caused for mulltiple reasons:

1. The notification is shown fairly short (in my testing it disappeared sometimes in < 2 secs
2. The notification is shown outside of the Flipper area
3. Flipper might not have permissions to show notifs in the first place.

Changed the notification to show inside Flipper, not hide automatically, and added clearer instructions. Including mentioning the port number (since there are multiple)

Changelog: [Flipper] Provide clearer error if Flipper ports are already in use, making device connections impossible

Differential Revision: D29128014

fbshipit-source-id: 16d9b451aa84281744155bfa1042429911a7b774
2021-06-15 06:28:48 -07:00
Pascal Hartig
2f1042a9b7 Clean up kaios-ram deps
Summary:
- recharts includes types now as part of the main distro
- the react resolution doesn't make a difference to the `yarn.lock` anymore

Reviewed By: mweststrate

Differential Revision: D29105837

fbshipit-source-id: 5699b7b9c4f00da00781245fed8b2a94d603bb63
2021-06-15 05:39:23 -07:00
Anton Nikolaev
4cafa9ab1a Fix bug with multiple handling of deep link after window reload
Summary: This diff fixed the issue when deep link handled multiple times in case Flipper window reloaded. See test plan for videos.

Reviewed By: fabiomassimo

Differential Revision: D29100221

fbshipit-source-id: 0ff6f1a645d5488d205b4fba44942f4d39f59088
2021-06-14 06:51:09 -07:00
dependabot[bot]
957b094303 Bump y18n from 4.0.0 to 4.0.3 in /desktop (#2442)
Summary:
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md">y18n's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://www.github.com/yargs/y18n/compare/y18n-v4.0.2...y18n-v4.0.3">4.0.3</a> (2021-04-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>release:</strong> 4.x.x should not enforce Node 10 (<a href="https://github-redirect.dependabot.com/yargs/y18n/issues/126">https://github.com/facebook/flipper/issues/126</a>) (<a href="1e21a536e9">1e21a53</a>)</li>
</ul>
<h3>4.0.1 (2020-11-30)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>address prototype pollution issue (<a href="https://github-redirect.dependabot.com/yargs/y18n/issues/108">https://github.com/facebook/flipper/issues/108</a>) (<a href="a9ac604abf">a9ac604</a>)</li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0aa97c508e"><code>0aa97c5</code></a> chore: release 4.x.x (<a href="https://github-redirect.dependabot.com/yargs/y18n/issues/128">https://github.com/facebook/flipper/issues/128</a>)</li>
<li><a href="a8e7f04f80"><code>a8e7f04</code></a> build(release-please): configure branch properly (<a href="https://github-redirect.dependabot.com/yargs/y18n/issues/127">https://github.com/facebook/flipper/issues/127</a>)</li>
<li><a href="1e21a536e9"><code>1e21a53</code></a> fix(release): 4.x.x should not enforce Node 10 (<a href="https://github-redirect.dependabot.com/yargs/y18n/issues/126">https://github.com/facebook/flipper/issues/126</a>)</li>
<li><a href="8dc75802f3"><code>8dc7580</code></a> docs: update CHANGELOG</li>
<li><a href="7de58ca0d3"><code>7de58ca</code></a> fix: address prototype pollution issue</li>
<li>See full diff in <a href="https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~oss-bot">oss-bot</a>, a new releaser for y18n since your current version.</p>
</details>
<br />

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

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

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

 ---

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

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D29069477

Pulled By: passy

fbshipit-source-id: bacd857c2fc320491346ddf3408f7816a0edc961
2021-06-14 03:30:00 -07:00
Pascal Hartig
33d5d0082c Move tests
Summary: We somehow had both `__test__` and `__tests__`. Moving over to the more common place.

Reviewed By: mweststrate

Differential Revision: D29062420

fbshipit-source-id: 1589fcda18609dcc61b1ca4ef80cbf48c9e8d170
2021-06-11 08:31:50 -07:00
Pascal Hartig
b99ba81495 Pin some vulnerable deps
Summary:
These are the simple ones. If you look at the generated `yarn.lock`, it's generally
only hard-coding some higher minor upgrades.

Reviewed By: mweststrate

Differential Revision: D29036561

fbshipit-source-id: b532b9580622306b86161c28293f7c96964342f2
2021-06-11 06:42:42 -07:00
dependabot[bot]
d64f97f673 Bump hosted-git-info from 2.8.8 to 2.8.9 in /desktop (#2439)
Summary:
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md">hosted-git-info's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9">2.8.9</a> (2021-04-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>backport regex fix from <a href="https://github-redirect.dependabot.com/npm/hosted-git-info/issues/76">https://github.com/facebook/flipper/issues/76</a> (<a href="https://github.com/npm/hosted-git-info/commit/29adfe5">29adfe5</a>), closes <a href="https://github-redirect.dependabot.com/npm/hosted-git-info/issues/84">https://github.com/facebook/flipper/issues/84</a></li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8d4b3697d7"><code>8d4b369</code></a> chore(release): 2.8.9</li>
<li><a href="29adfe5ef7"><code>29adfe5</code></a> fix: backport regex fix from <a href="https://github-redirect.dependabot.com/npm/hosted-git-info/issues/76">https://github.com/facebook/flipper/issues/76</a></li>
<li>See full diff in <a href="https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~nlf">nlf</a>, a new releaser for hosted-git-info since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hosted-git-info&package-manager=npm_and_yarn&previous-version=2.8.8&new-version=2.8.9)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D29036653

Pulled By: passy

fbshipit-source-id: d13cd0931f4cc65aa76e3e4a7cf2055628d547ab
2021-06-11 06:34:02 -07:00
Pascal Hartig
7ebdfa5822 Increase dropdown width
Summary: Changelog: Increase width of database name and table name dropdowns

Reviewed By: fabiomassimo

Differential Revision: D29062064

fbshipit-source-id: 46278ae6587d2feadea20fd1c5b4e04400034362
2021-06-11 06:34:02 -07:00
Pascal Hartig
53e612ff6f Fix adb path interpolation on Windows
Summary:
Concatenating strings is not a great idea for paths. This isn't actually Windows-specific (I think) but maybe more common there. If you have a space as part of your ADB path, you're in for a world of pain.

This addressed a couple of issues but I'm sure there are more when you use it for more detailed use cases.

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

Reviewed By: mweststrate

Differential Revision: D29061367

fbshipit-source-id: 001e498ac42bd8df6e6852be9b42fb5f38379c2e
2021-06-11 06:31:59 -07:00
Michel Weststrate
74c5c81672 Minor Readme tweaks
Summary: Per title

Reviewed By: fabiomassimo

Differential Revision: D29061827

fbshipit-source-id: 11a643b2800bf8d80d39b3b651856cdcebb70b10
2021-06-11 05:47:21 -07:00
Michel Weststrate
f9712390fc Clean outdated test infrastructure
Reviewed By: passy

Differential Revision: D29028123

fbshipit-source-id: de7990f11b6e3dd24a050d6da9b49229ca808b86
2021-06-10 13:00:49 -07:00
Michel Weststrate
db3d0486e7 Make sure all tests run in same TimeZone
Summary:
Not being able to have timestamps in Jest snapshots, as they would differ across machines required jumping through a lot of hoops.

Run this into once again more by a test suite that didn't trigger on CI, but failed for me locally.

With this fix everyone can happily commit time based snapshots and they will always be assumed to be running in UTC :)

Reviewed By: nikoant

Differential Revision: D29025759

fbshipit-source-id: 426d1b065afdd4a2ed75b47203b13fff0ece1272
2021-06-10 13:00:49 -07:00
Michel Weststrate
7e4df00138 Implement context menu
Summary:
Re-introduced context menu to DataTable, due to popular demand.

Originally it wasn't there to better align with ant design principles, but in an app like Flipper it makes just too much sense to have it

See e.g. https://fb.workplace.com/groups/flippersupport/permalink/1138285579985432/

changelog: Restored context menu in data tables

Reviewed By: passy

Differential Revision: D28996137

fbshipit-source-id: 16ef4c90997c9313efa62da7576fd453a7853761
2021-06-10 12:57:47 -07:00
Pascal Hartig
f18a00d451 Ignore naked console.error in build script
Summary: This only matters in Flipper proper.

Reviewed By: cekkaewnumchai

Differential Revision: D28964466

fbshipit-source-id: 6fae980cb091900c9b8325f443a2a6a9e81bbfe6
2021-06-10 05:22:28 -07:00
Michel Weststrate
df7941e2bc deprecated Searchable abstraction
Summary: Since the functionality is now available as part of DataTable, the HoC doesn't seem to be needed as generic abstraction. it is used in handful places outside datatable / datalist, but those can be localized in the future or should datatable / datalist.

Reviewed By: fabiomassimo

Differential Revision: D28993836

fbshipit-source-id: 3e6da7c7b48348faa0c4f7281868196f5585a065
2021-06-10 04:45:18 -07:00
Michel Weststrate
f7732ed4fd Insert a proper flipper-plugin version
Summary:
`flipper-pkg init` would always introduce `flipper-plugin` peer with version `latest`. Since that can never be checked against the current flipper version, it always generated a warning. Updated the init process to take the version the plugin was generated with as base version instead.

Note that in the test the version will always display as 0.0.0, will double check after release that the proper version will show up when running from npx, but don't see a reason why not (famous last words)

Reviewed By: nikoant, priteshrnandgaonkar

Differential Revision: D28992531

fbshipit-source-id: c32aad1650f575f790c2e04d089104b7a616d26f
2021-06-10 04:45:18 -07:00
Flipper Bot
5cc83b35a4 Flipper Release: v0.93.0
Summary: Releasing version 0.93.0

Reviewed By: fabiomassimo

Differential Revision: D28988465

fbshipit-source-id: ad57ba98a0400affa6c47a097357fc57dcba48fb
2021-06-09 07:47:54 -07:00
Michel Weststrate
fac991b538 Document createTablePlugin
Summary: Per title

Reviewed By: priteshrnandgaonkar

Differential Revision: D28991859

fbshipit-source-id: 1af38d8922157b1613e43d987871e664d8e6f5ba
2021-06-09 07:26:57 -07:00
Michel Weststrate
d2095d5937 Update to pure Sandy and update custom docs
Summary: Per title

Reviewed By: priteshrnandgaonkar

Differential Revision: D28991625

fbshipit-source-id: cab9cf59d1d053e2f8a47c588cb05abc44a527cc
2021-06-09 07:26:57 -07:00
Michel Weststrate
a0c872dd38 Update setup and createTable tutorial to 100% Sandy
Summary:
The current desktop plugin tutorial was outdated as it has several steps that are now automated, and still referred to old APIs. This has been updated now.

Additionally left the intermediate code of the tutorial in the plugin, but splitting `index.tsx` into `index_table.tsx` and `index_custom.tsx` (which will be updated in the next diff)

Clarified the tutorial page labels a little bit to show that 3 pages are covering the Desktop plugin development process.

Changelog: Updated the Desktop plugin tutorial

Reviewed By: jknoxville

Differential Revision: D28990029

fbshipit-source-id: a06a7a774ceca3daf10f8e8fbd4e03191dbfd1cc
2021-06-09 07:26:57 -07:00
Pascal Hartig
4fd8e0b8ca Tuesday dep bump
Summary: Paying forward for my upcoming oncall.

Reviewed By: nikoant

Differential Revision: D28960593

fbshipit-source-id: fb257c451b666191d8443f992d95d5d136ed22ff
2021-06-09 01:59:12 -07:00
Pascal Hartig
ce7b709908 Monday dep bump
Summary:
More safe bumps.

allow-large-files

Reviewed By: cekkaewnumchai

Differential Revision: D28929951

fbshipit-source-id: ade2919e2968446692fc88d6b6ae24644c30c137
2021-06-08 11:01:02 -07:00
Michel Weststrate
9d485b1d5d Convert plugin to Sandy
Reviewed By: passy

Differential Revision: D28964502

fbshipit-source-id: 76322dc7aec09497f6ba7e4dfb1af8f0318837ca
2021-06-08 09:52:48 -07:00
Michel Weststrate
496f8767dc Enable debug logs by default
Summary: Changelog: [Logs] show debug level logs by default. Now only verbose level is hidden by default

Reviewed By: fabiomassimo

Differential Revision: D28963445

fbshipit-source-id: e960654b02cf3b4248e0c8d4a9745208f160bc8d
2021-06-08 09:52:48 -07:00
Michel Weststrate
23c0781127 Minor keyboard navigation around fix
Summary: Fixed minor keyboard navigation annoyance: pressing arrow down on the last entry would remove selection, then jump to first row. Pressing up on first row would deselect then select first again. After this change the first/last item is kept selected in those cases

Reviewed By: passy

Differential Revision: D28958705

fbshipit-source-id: 01dbce3971ed965eae3b74e6706fef96aa86df66
2021-06-08 06:44:51 -07:00
Michel Weststrate
e6495be902 Fix NPE in DataTable
Summary: Fixed linked NPE. Couldn't find a clear reproduction,

Reviewed By: passy

Differential Revision: D28958704

fbshipit-source-id: e09830fbad08bf035c54049451de7f52485cb9dc
2021-06-08 04:43:37 -07:00
Michel Weststrate
bc647972e1 Type improvements
Summary: some type simplifications, that makes it easier to reuse data sources and helps type inference

Reviewed By: passy

Differential Revision: D28413380

fbshipit-source-id: 261a8b981bf18a00edc3075926bd668322e1c37d
2021-06-07 08:09:53 -07:00
Anton Nikolaev
9a2677fc24 Cleanup global notifications UI
Summary: We don't need to show plugin-related details and button "open globalError" (which anyway doesn't work) when showing global notifications.

Reviewed By: passy

Differential Revision: D28900468

fbshipit-source-id: 54347ede4f1e4dbfb0e41be5c50374fda35c1223
2021-06-07 05:53:44 -07:00
Anton Nikolaev
90d40ac385 More actionable notification message in case of www cert exchange failed
Summary: Improved message a bit to make it clear that VPN/Lighthouse is required on both sides - computer and mobile device. Also it will now show login link in case user is not signed in yet, because login is also required for www cert exchange.

Reviewed By: passy

Differential Revision: D28899558

fbshipit-source-id: 89de776f602a9f27a2c068efd8e3f08c28ec5f57
2021-06-07 05:53:43 -07:00
Pascal Hartig
edbb41b49b Upgrade prettier
Summary: ohsopretty

Reviewed By: fabiomassimo

Differential Revision: D28930276

fbshipit-source-id: faaca8cc53c2fe42a8e010d5c1b1d79e89190858
2021-06-07 04:59:17 -07:00
Pascal Hartig
baf38809e6 Dep bump
Summary:
Bump a day, doctor away, etc.

allow-large-files

Reviewed By: nikoant

Differential Revision: D28897147

fbshipit-source-id: be2473462b566ec02575d06d10c1a191dfda4d77
2021-06-04 11:48:39 -07:00
Pascal Hartig
5b59ae099f Dep bump
Summary: You know the drill.

Reviewed By: nikoant

Differential Revision: D28867596

fbshipit-source-id: dd3487a918dd75ffd47947a32f0f22f511a5f3d4
2021-06-04 08:41:16 -07:00
Anton Nikolaev
cc4bc293c6 More actionable notification on plugin download failure
Summary: More actionable notification on plugin download failure.

Reviewed By: priteshrnandgaonkar

Differential Revision: D28856728

fbshipit-source-id: bd4a41af8812168949d83e2e0923ca7976485fa7
2021-06-03 08:36:23 -07:00
Anton Nikolaev
fa74502a8a Show disconnected status in plugin list
Summary: Connectivity indicator on plugin panel.

Reviewed By: passy

Differential Revision: D28843182

fbshipit-source-id: 49130e6b40c1bfcc4449b8a98b092d44dbda78bf
2021-06-03 06:37:29 -07:00
Pascal Hartig
7d9561e0fa Remove minimist pin
Summary:
I'm going through our resolutions one-by-one, removing them and then seeing what the resulting change in the yarn.lock is and if it falls below what was pinned prior to D28835488.

In this case, we're above the previous lock which means we can safely remove it without getting a vulnerable version back.

Reviewed By: muraziz

Differential Revision: D28835545

fbshipit-source-id: 3159e1a165bbd4310c44520b0fe861a0d3a74fed
2021-06-03 03:40:32 -07:00
Pascal Hartig
2620132d25 Remove acorn pin
Summary:
I'm going through our resolutions one-by-one, removing them and then seeing what the resulting change in the yarn.lock is and if it falls below what was pinned prior to D28835488.

In this case, we're above the previous lock which means we can safely remove it without getting a vulnerable version back.

Reviewed By: muraziz

Differential Revision: D28835487

fbshipit-source-id: 3897b2127e923b5ea68ec50b7675869f34c24640
2021-06-03 03:40:32 -07:00
Pascal Hartig
4de9f8177a Bump resolutions where possible
Summary: Bumping all fixed resolutions we have.

Reviewed By: muraziz

Differential Revision: D28835488

fbshipit-source-id: 1e1157c3a87cfbd440e655fc934dd9ac7cb91d35
2021-06-03 03:40:32 -07:00
Pascal Hartig
f94e7f696a Fix ws vuln in desktop/
Summary: Fixes https://github.com/facebook/flipper/security/dependabot/desktop/yarn.lock/ws/open

Reviewed By: nikoant

Differential Revision: D28831754

fbshipit-source-id: cbe8c3d1401a4d6f4d098a054b0fcbb04b0fc576
2021-06-02 13:27:31 -07:00
Pascal Hartig
0fb5ef1de8 Dep bump
Summary: I was in the groove. Here's some more.

Reviewed By: nikoant

Differential Revision: D28831742

fbshipit-source-id: 3314c0c2ba89b513a62b7c62683aaf5eeace5610
2021-06-02 13:27:31 -07:00
Anton Nikolaev
b7d7326bae Differentiate connectivity and auth related errors
Summary: Cleaning up login session and connectivity handling.

Reviewed By: passy

Differential Revision: D28795342

fbshipit-source-id: ddc659d681f730c7183f364d8924e5c680f8a418
2021-06-02 11:30:37 -07:00
Anton Nikolaev
fff489091e Paste oauth token using deeplink
Reviewed By: passy

Differential Revision: D28790868

fbshipit-source-id: 6a22809444462af15915fa4f06e76e64ebb7f590
2021-06-02 11:30:37 -07:00
Anton Nikolaev
cf14f0808f SignInSheet refactored to use hooks
Reviewed By: passy

Differential Revision: D28788914

fbshipit-source-id: 5b000bff57d0fec7b8fafa4f5efd1c3e15caa766
2021-06-02 11:30:37 -07:00
Anton Nikolaev
bb0271a1a0 Persisted logged out state
Reviewed By: passy

Differential Revision: D28788916

fbshipit-source-id: 88ca6a069d4915e71cd7c271b6bbbea37838f4f5
2021-06-02 11:30:36 -07:00
Anton Nikolaev
48b0eb8f18 Show login dialog on Flipper startup if user is not logged
Reviewed By: passy

Differential Revision: D28780529

fbshipit-source-id: 7f4c38d8461619fe5995654e23dc5739fc852ccc
2021-06-02 11:30:36 -07:00
Anton Nikolaev
c1f161045c Move sign-in sheet under fb folder
Summary: SignInSheet and "dispatcher/user" are not used in public build, so it doesn't make sense to keep them on github.

Reviewed By: passy

Differential Revision: D28789384

fbshipit-source-id: aa1ab0fc70f2211260017be42762714b753ea877
2021-06-02 11:30:36 -07:00