[Feature] Build a LoginButton control based on WebAccount metadata
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- csharp
調査の方向性
CommunityToolkit.Authentication.Uwp パッケージで、既存の LoginButton と WindowsProvider、特に LoadState パスを調べることから始めます。Graph SDK への参照を持たない独立したコントロールを作成し、WebAccount からユーザー名と写真を読み取るようにします。GlobalProvider が WindowsProvider でない場合、コントロールは無効化されるようにします。
索引モデルが issue の本文から書いたものです。
説明
Describe the problem this feature would solve
Currently, the LoginButton uses Graph to request the user display name and image. This returns an experience that is consistent across surfaces that also use Graph data, but not necessarily consistent with Windows. Apps/services on Windows desktop use the details provided by the WebAccount object returned by the Windows platform.
We should offer a solution that is more inline with what the OS is doing. Added bonus is that it doesn't require a Graph request, so the button can be written entirely with Windows APIs, without any additional steps or explicit web requests.
Describe the solution
- In the
CommunityToolkit.Authentication.Uwppackage, create a new LoginButton based control- Copy code where it makes sense, don't build on top of the existing LoginButton to avoid taking dependency on Graph
- Remove references to the Graph SDK and swap the Graph
Userobject reference forWebAccountinstead. - Update the LoadState method to pull the WebAccount from an active WindowsProvider and load the username and photo.
- If the GlobalProvider is not an instance of WindowsProvider, disable the control.
- 主要言語
- C#
- スター
- 156
- フォーク
- 37
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CommunityToolkit/Graph-Controls のほかの issue
-
bug :bug:
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
CommunityToolkit/Graph-Controls#211 · コメント 3 件 ·
-
CommunityToolkit.Authentication.Msal use Microsoft Graph V4 but if you install V5,you cannot releaseオープンbug :bug: needs attention :wave: needs triage :mag:
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
CommunityToolkit/Graph-Controls#208 · コメント 20 件 ·
-
enhancement :sparkles:
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
Area: Providers
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
CommunityToolkit/Graph-Controls#195 · コメント 1 件 ·
-
Area: Providers bug :bug:
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
CommunityToolkit/Graph-Controls#189 · コメント 3 件 ·
CommunityToolkit/Graph-Controls の issue をすべて見る
似ている issue
-
area: core bug help wanted ready
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ZaidX88/sluice#265 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: remote bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
CodeYourFuture/Module-Tools#712 ·
-
A: Mapping P3: Standard T: New Feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
space-wizards/space-station-14#46878 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 60/100
CommunityToolkit/Windows#896 · コメント 2 件 ·