CommunityToolkit / Graph-Controls

Set of Helpers and Controls for Windows development using the Microsoft Graph.
https://docs.microsoft.com/en-us/windows/communitytoolkit/graph/overview
Other
155 stars 39 forks source link

Need to display the account panel when offline. #156

Closed Richasy closed 3 years ago

Richasy commented 3 years ago

Describe the bug

We are using WindowsProvider to help the application with Graph authorization. But in the offline state (no network connection), the account panel does not display.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Cut off the network connection
  2. Try to use LoginButton or other controls to call WindowsProvider.SignInAsync
  3. Observing behavior

Expected behavior

Display the account panel, and the account panel provides information that requires a network connection.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment


Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] Insider Build (build number: 22000)

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] Insider Build (22000)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [x] 2019 (version: ) 
- [ ] 2019 Preview (version: )
ghost commented 3 years ago

Hello Richasy, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌