microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Improve UX by Forcing Calling Window to Foreground After Authentication
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 898
- Fork
- 230
- Merge medio
- 2g 5h
- PR unite (30g)
- 31
Descrizione
Is your feature request related to a problem? Please describe the problem.
The current authentication flow kicks you out to your default browser, which is desirable because it allows you to use passkeys and alternate accounts easily. However, after auth the calling script window often gets lost behind a mess of other windows.
Describe the solution you'd like.
Properly leverage SetForegroundWindow and meet the proper conditions to automatically bring the calling powershell window to the front.
This improved UX allows the user to stay in flow state without confusion.
This should work with powershell.exe, pwsh.exe, and windowsterminal.exe
Additional context?
No response
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziare dal flusso di autenticazione che avvia il browser predefinito e torna al processo PowerShell chiamante; esaminare le condizioni documentate di SetForegroundWindow per powershell.exe, pwsh.exe e windowsterminal.exe. Il lavoro è completato quando la finestra chiamante viene portata in primo piano dopo l’autenticazione per tutti e tre gli host, mantenendo il flusso esistente basato sul browser.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell
- Ambito
- cli, operating-systems
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100